--=REKLAMA=--

Beez/Główny plik szablonu

Z Joomla!WikiPL

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

<< Wróć na stronę Beez

Dziękujemy za wkład

» Stefan Wajda [zwiastun],