--=REKLAMA=--

Beez/index.php

Z Joomla!WikiPL

  1. /**
  2.  * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
  3.  * @license GNU/GPL, see LICENSE.php
  4.  * Joomla! is free software. This version may have been modified pursuant
  5.  * to the GNU General Public License, and as distributed it includes or
  6.  * is derivative of works licensed under the GNU General Public License or
  7.  * other free or open source software licenses.
  8.  * See COPYRIGHT.php for copyright notices and details.
  9.  */
  10.  
  11. defined('_JEXEC') or die('Restricted access');
  12.  
  13. $url = clone(JURI::getInstance());
  14. $showRightColumn = $this->countModules('user1 or user2 or right or top');
  15. $showRightColumn &= JRequest::getCmd('layout') != 'form';
  16. $showRightColumn &= JRequest::getCmd('task') != 'edit'
  17. ?>
  18. <?php echo '<?xml version="1.0" encoding="utf-8"?'.'>'; ?>
  19. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  20. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
  21. <head>
  22.    <jdoc:include type="head" />
  23.    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/beez/css/template.css" type="text/css" />
  24.    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/beez/css/position.css" type="text/css" media="screen,projection" />
  25.    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/beez/css/layout.css" type="text/css" media="screen,projection" />
  26.    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/beez/css/print.css" type="text/css" media="Print" />
  27.    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/beez/css/general.css" type="text/css" />
  28.    <?php if($this->direction == 'rtl') : ?>
  29.       <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/beez/css/template_rtl.css" type="text/css" />
  30.    <?php endif; ?>
  31.    <!--[if lte IE 6]>
  32.       <link href="<?php echo $this->baseurl ?>/templates/beez/css/ieonly.css" rel="stylesheet" type="text/css" />
  33.    <![endif]-->
  34.    <!--[if IE 7]>
  35.       <link href="<?php echo $this->baseurl ?>/templates/beez/css/ie7only.css" rel="stylesheet" type="text/css" />
  36.    <![endif]-->
  37.    <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/beez/javascript/md_stylechanger.js"></script>
  38. </head>
  39. <body>
  40.    <div id="all">
  41.       <div id="header">
  42.          <h1 id="logo">
  43.             <img src="<?php echo $this->baseurl ?>/templates/beez/images/logo.gif" border="0" alt="<?php echo JText::_('Logo Beez, Three little Bees'); ?>" width="300" height="97" />
  44.             <span class="header1"><?php echo JText::_('Joomla Accessible Template'); ?></span>
  45.          </h1>
  46.  
  47.          <ul>
  48.             <li><a href="#content" class="u2"><?php echo JText::_('Skip to Content'); ?></a></li>
  49.             <li><a href="#mainmenu" class="u2"><?php echo JText::_('Jump to Main Navigation and Login'); ?></a></li>
  50.             <li><a href="#additional" class="u2"><?php echo JText::_('Jump to additional Information'); ?></a></li>
  51.          </ul>
  52.  
  53.          <h2 class="unseen">
  54.             <?php echo JText::_('Search, View and Navigation'); ?>
  55.          </h2>
  56.  
  57.          <div id="fontsize">
  58.             <script type="text/javascript">
  59.             //<![CDATA[
  60.                document.write('<h3><?php echo JText::_('FONTSIZE'); ?></h3><p class="fontsize">');
  61.                document.write('<a href="index.php" title="<?php echo JText::_('Increase size'); ?>" onclick="changeFontSize(2); return false;" class="larger"><?php echo JText::_('bigger'); ?></a><span class="unseen">&nbsp;</span>');
  62.                document.write('<a href="index.php" title="<?php echo JText::_('Decrease size'); ?>" onclick="changeFontSize(-2); return false;" class="smaller"><?php echo JText::_('smaller'); ?></a><span class="unseen">&nbsp;</span>');
  63.                document.write('<a href="index.php" title="<?php echo JText::_('Revert styles to default'); ?>" onclick="revertStyles(); return false;" class="reset"><?php echo JText::_('reset'); ?></a></p>');
  64.             //]]>
  65.             </script>
  66.          </div>
  67.  
  68.          <jdoc:include type="modules" name="user3" />
  69.          <jdoc:include type="modules" name="user4" />
  70.  
  71.          <div id="breadcrumbs">
  72.             <p>
  73.                <?php echo JText::_('You are here'); ?>
  74.                <jdoc:include type="modules" name="breadcrumb" />
  75.             </p>
  76.          </div>
  77.  
  78.          <div class="wrap">&nbsp;</div>
  79.       </div><!-- end header -->
  80.  
  81.       <div id="<?php echo $showRightColumn ? 'contentarea2' : 'contentarea'; ?>">
  82.          <a name="mainmenu"></a>
  83.          <div id="left">
  84.             <jdoc:include type="modules" name="left" style="beezDivision" headerLevel="3" />
  85.          </div><!-- left -->
  86.  
  87.          <a name="content"></a>
  88.          <div id="wrapper">
  89.             <div id="<?php echo $showRightColumn ? 'main2' : 'main'; ?>">
  90.                <?php if ($this->getBuffer('message')) : ?>
  91.                <div class="error">
  92.                   <h2>
  93.                      <?php echo JText::_('Message'); ?>
  94.                   </h2>
  95.                   <jdoc:include type="message" />
  96.                </div>
  97.                <?php endif; ?>
  98.  
  99.                <jdoc:include type="component" />
  100.             </div><!-- end main or main2 -->
  101.  
  102.             <?php if ($showRightColumn) : ?>
  103.             <div id="right">
  104.  
  105.                <a name="additional"></a>
  106.                <h2 class="unseen">
  107.                   <?php echo JText::_('Additional Information'); ?>
  108.                </h2>
  109.  
  110.                <jdoc:include type="modules" name="top" style="beezDivision" headerLevel="3" />
  111.                <jdoc:include type="modules" name="user1" style="beezDivision" headerLevel="3" />
  112.                <jdoc:include type="modules" name="user2" style="beezDivision" headerLevel="3" />
  113.                <jdoc:include type="modules" name="right" style="beezDivision" headerLevel="3" />
  114.  
  115.             </div><!-- right -->
  116.             <?php endif; ?>
  117.  
  118.             <div class="wrap"></div>
  119.          </div><!-- wrapper -->
  120.       </div><!-- contentarea -->
  121.  
  122.       <div id="footer">
  123.          <p class="syndicate">
  124.             <jdoc:include type="modules" name="syndicate" />
  125.          </p>
  126.  
  127.          <p>
  128.             <?php echo JText::_('Powered by');?> <a href="http://www.joomla.org/">Joomla!</a>
  129.          </p>
  130.  
  131.          <div class="wrap"></div>
  132.       </div><!-- footer -->
  133.    </div><!-- all -->
  134.  
  135.    <jdoc:include type="modules" name="debug" />
  136.  
  137. </body>
  138. </html>


Dziękujemy za wkład

» Stefan Wajda [zwiastun],