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/reset.css" />
  21. <link type="text/css" rel="stylesheet" href="<?php echo THEME_ADMIN_PATH?>css/admin_common.css" />
  22. <style type="text/css" media="all">
  23. <?php
  24. if (basename($_SERVER['SCRIPT_NAME']!= 'search.php'{
  25.   if(file_exists(THEME_ADMIN_PATH'css/admin_' $rub '.css')) {
  26.     echo '@import url(' .THEME_ADMIN_PATH'css/admin_' $rub '.css);';
  27.   }
  28. else {
  29.     echo '@import url(' .THEME_ADMIN_PATH'css/admin_search.css);';
  30. }
  31. ?>
  32. </style>
  33. <link type="text/css" rel="stylesheet" href="<?php echo THEME_ADMIN_PATH?>css/button/stylesheets/css3buttons.css" media="screen" />
  34. <!--[if lte IE 7]>
  35. <link type="text/css" rel="stylesheet" href="<?php echo THEME_ADMIN_PATH?>css/admin_ie.css" />
  36. <![endif]-->
  37. <script type="text/javascript">
  38. var SITE_ROOT_URL= "<?php echo SITE_ROOT_URL?>";
  39. var lang = "<?php echo U_L?>";
  40. </script>
  41. <script type="text/javascript" src="../lib/js/jquery.min.js"></script>
  42. <link href="../lib/js/jquery-ui/css/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css" />
  43. <script type="text/javascript" src="../lib/js/jquery-ui/js/jquery-ui-1.8.16.custom.min.js"></script>
  44. <script type="text/javascript" src="../lib/js/humane-js/humane.min.js"></script>
  45. <link type="text/css" rel='stylesheet' href='../lib/js/humane-js/themes/jackedup.css' />
  46. <?php IncludePHPDebug()?>
  47. <?php IncludeTextResizerJs()?>
  48. <?php IncludeColorboxJs(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']"))?>
  49. <?php IncludeMultiSelectJs()?>
  50. <?php IncludeTreeJs()?>
  51. <?php IncludeTooltipJs('abbr[title]')?>
  52. <?php IncludeTextBoxListJs()?>
  53. <?php IncludeTimeline()?>
  54. <?php AddDynamicHeader()?>
  55. <script type="text/javascript" src="../lib/js/functions_admin.js"></script>
  56. <script type="text/javascript" src="../lib/js/menu.config.js"></script>
  57. </head>
  58. <body>
  59. <div id="container" style="background-image: url(<?php echo THEME_ADMIN_PATH?>images/bgcontainer.png);">
  60. <!-- barre haute -->
  61. <div id="tools_right">
  62.   <div id="deconnexion">
  63.       <a href="logout.php"><?php echo _t('header','deconnexion');?></a>
  64.   </div>
  65.   <br style="clear:both;"/>
  66.   <div id="bienvenue">
  67.     <?php
  68.     if(GetSessionElement('firstname')) $titleucfirst(GetSessionElement('firstname'));
  69.     else $titleGetSessionElement('login');
  70.     
  71.     echo _t('header','welcome');
  72.     ?>
  73.     <span><?php echo $title?></span>
  74.   </div>
  75.   <br style="clear:both;"/>
  76.   <div id="containersearch">
  77.       <form method="post" action="search.php">
  78.           <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" />
  79.           <input type="submit" id="gosearch"   name="valid" value="" />
  80.           </form>
  81.   </div>
  82. </div>
  83. <!--end barre haute -->

Documentation generated on Thu, 03 May 2012 15:05:00 +0200 by phpDocumentor 1.4.1