linea21-templates
[ class tree: linea21-templates ] [ index: linea21-templates ] [ all elements ]

Source for file header.php

Documentation is available at header.php

  1. <?php
  2. /**
  3.  * @package linea21.templates
  4.  * @subpackage admin
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10. echo '<?xml version="1.0" encoding="' . CHARSET . '"  xml:lang="' .U_L. '" ?>'. END_LINE;
  11. ?>
  12. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  13.  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  14. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo U_L; ?>">
  15. <head>
  16. <title><?php echo _t('header','title');?></title>
  17. <meta http-equiv="content-language" content="<?php echo U_L;?>" />
  18. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
  19. <link rel="shortcut icon" href="<?php echo THEME_ADMIN_PATH; ?>images/favicon.ico" />
  20. <link type="text/css" rel="StyleSheet" href="<?php echo THEME_ADMIN_PATH; ?>css/admin_common.css" />
  21. <style type="text/css" media="all">
  22. <?php
  23. if (basename($_SERVER['SCRIPT_NAME']) != 'search.php') {
  24.   if(file_exists(THEME_ADMIN_PATH. 'css/admin_' . $rub . '.css')) {
  25.     echo '@import url(' .THEME_ADMIN_PATH. 'css/admin_' . $rub . '.css);';
  26.   }
  27. } else {
  28.     echo '@import url(' .THEME_ADMIN_PATH. 'css/admin_search.css);';
  29. }
  30. ?>
  31. </style>
  32. <!--[if lte IE 7]>
  33. <link type="text/css" rel="StyleSheet" href="<?php echo THEME_ADMIN_PATH; ?>css/admin_ie.css" />
  34. <![endif]-->
  35. <script type="text/javascript">
  36. var SITE_ROOT_URL= "<?php echo SITE_ROOT_URL; ?>";
  37. var lang = "<?php echo U_L; ?>";
  38. </script>
  39. <script type="text/javascript" src="../lib/js/jquery.min.js"></script>
  40. <?php IncludePHPDebug(); ?>
  41. <?php IncludeTextResizerJs(); ?>
  42. <?php IncludeLightboxJs(array("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.png'],a[href$='.gif'], a[href$='.JPG'],a[href$='.JPEG'],a[href$='.PNG'],a[href$='.GIF']")); ?>
  43. <?php IncludedatePickerJs(); ?>
  44. <?php IncludeMultiSelectJs(); ?>
  45. <?php IncludeTextCornerJs(); ?>
  46. <?php IncludeTreeJs(); ?>
  47. <?php IncludeTooltipJs('abbr[title]'); ?>
  48. <?php IncludeTextBoxListJs(); ?>
  49. <?php IncludeTimeline(); ?>
  50. <?php AddDynamicHeader(); ?>
  51. <script type="text/javascript" src="../lib/js/functions_admin.js"></script>
  52. <script type="text/javascript" src="../lib/js/menu.config.js"></script>
  53. </head>
  54. <body>
  55. <div id="container" style="background-image: url(<?php echo THEME_ADMIN_PATH; ?>images/bgcontainer.png);">
  56. <!-- barre haute -->
  57. <div id="tools_right">
  58.  
  59. <div id="deconnexion">
  60.     <a href="logout.php"><?php echo _t('header','deconnexion');
  61. ?></a>
  62. </div>
  63. <br style="clear:both;"/>
  64. <div id="bienvenue"><?php echo _t('header','welcome');
  65. ?> <span><?php echo GetSessionElement('login');
  66. ?></span></div>
  67. <br style="clear:both;"/>
  68.  
  69.     <div id="containersearch">
  70.     <form method="post" action="search.php">
  71.         <input type="text" class="searchincome" name="search" id="searchincome"  accesskey="s" value="<?php echo _t('menu_alt','search_here'); ?>" onclick="if (this.defaultValue==this.value) this.value=''" onblur="if (this.value=='') this.value=this.defaultValue" />
  72.         <input type="submit" id="gosearch"   name="valid" value="" />
  73.         </form>
  74.     </div>
  75.  
  76. </div>
  77. <!--end barre haute -->

Documentation generated on Fri, 01 Apr 2011 09:31:21 +0200 by phpDocumentor 1.4.1