page.tpl.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php
  2. /**
  3. * admin: A very limited theme with almost no features, to maximize screen real estate
  4. *
  5. * @version $Id: page.tpl.php,v 1.1 2007-08-20 19:43:07 marand Exp $
  6. * @copyright 2006-2007 OSI
  7. * @license CeCILL 2.0
  8. */
  9. ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  10. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  11. <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
  12. <head>
  13. <title><?php print $head_title ?></title>
  14. <meta http-equiv="Content-Style-Type" content="text/css" />
  15. <?php print $head ?>
  16. <?php print $styles ?>
  17. </head>
  18. <body <?php print theme("onload_attribute"); ?>>
  19. <div id="header" class="clear-block">
  20. <?php print $search_box ?>
  21. <?php if ($logo) : ?>
  22. <a href="<?php print url() ?>" title="Index Page"><img src="<?php print($logo) ?>" alt="Logo" /></a>
  23. <?php endif; ?>
  24. <?php if ($site_name) : ?>
  25. <h1 id="site-name"><a href="<?php print url() ?>" title="Index Page"><?php print($site_name) ?></a></h1>
  26. <?php endif;?>
  27. <?php if ($site_slogan) : ?>
  28. <span id="site-slogan"><?php print($site_slogan) ?></span>
  29. <?php endif;?>
  30. <?php print $header ?>
  31. <?php if ($top_menu) { ?>
  32. <div id="top_menu" class="clear-block">
  33. <?php print $top_menu ; ?>
  34. </div>
  35. <?php } ?>
  36. </div>
  37. <div id="top-nav">
  38. <?php if (count($secondary_links)) : ?>
  39. <ul id="secondary">
  40. <?php foreach ($secondary_links as $link): ?>
  41. <li><?php print $link?></li>
  42. <?php endforeach; ?>
  43. </ul>
  44. <?php endif; ?>
  45. <?php if (count($primary_links)) : /* changement en D5 ? */ ?>
  46. <ul id="primary">
  47. <?php foreach ($primary_links as $link): ?>
  48. <li><?php print $link?></li>
  49. <?php endforeach; ?>
  50. </ul>
  51. <?php endif; ?>
  52. </div>
  53. <table id="content">
  54. <tr>
  55. <?php if ($sidebar_left != ""): ?>
  56. <td class="sidebar" id="sidebar-left">
  57. <?php print $sidebar_left ?>
  58. </td>
  59. <?php endif; ?>
  60. <td class="main-content" id="content-<?php print $layout ?>">
  61. <?php if ($title != ""): ?>
  62. <h2 class="content-title"><?php print $title ?></h2>
  63. <?php endif; ?>
  64. <?php if ($tabs != ""): ?>
  65. <?php print $tabs ?>
  66. <?php endif; ?>
  67. <?php if ($mission != ""): ?>
  68. <div id="mission"><?php print $mission ?></div>
  69. <?php endif; ?>
  70. <?php if ($help != ""): ?>
  71. <p id="help"><?php print $help ?></p>
  72. <?php endif; ?>
  73. <?php if ($messages != ""): ?>
  74. <div id="message"><?php print $messages ?></div>
  75. <?php endif; ?>
  76. <!-- start main content -->
  77. <?php print($content) ?>
  78. <!-- end main content -->
  79. </td><!-- mainContent -->
  80. <?php if ($sidebar_right != ""): ?>
  81. <td class="sidebar" id="sidebar-right">
  82. <?php print $sidebar_right ?>
  83. </td>
  84. <?php endif; ?>
  85. </tr>
  86. </table>
  87. <?php print $breadcrumb ?>
  88. <div id="footer">
  89. <?php if ($footer_message) : ?>
  90. <p><?php print $footer_message;?></p>
  91. <?php endif; ?>
  92. Validate <a href="http://validator.w3.org/check/referer">XHTML</a> or <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
  93. </div><!-- footer -->
  94. <?php print $closure;?>
  95. </body>
  96. </html>