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="' .LANGUAGE. '" ?>'. 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 LANGUAGE; ?>">
  15. <head>
  16. <title><?php echo _t('header','title');?></title>
  17. <meta http-equiv="content-language" content="<?php echo LANGUAGE;?>" />
  18. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
  19. <link rel="icon" type="image/gif" href="<?php echo THEME_ADMIN_PATH; ?>images/favicon.gif" />
  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.     echo '@import url(' .THEME_ADMIN_PATH. 'css/admin_' . $rub . '.css);';
  25. } else {
  26.     echo '@import url(' .THEME_ADMIN_PATH. 'css/admin_search.css);';
  27. } 
  28.  
  29. ?>
  30. </style>
  31. <script type="text/javascript">
  32. var SITE_ROOT_URL="<?php echo SITE_ROOT_URL; ?>";
  33. var lang ="<?php echo LANGUAGE; ?>";
  34. </script>
  35. <script type="text/javascript" src="../lib/js/jquery.min.js"></script>
  36. <?php IncludedatePickerJs(); ?>
  37. <?php IncludeMultiSelectJs(); ?>
  38. <?php IncludeLightboxJs(); ?>
  39. <?php IncludeRichTextEditor(); ?>
  40. <?php IncludeTextResizerJs(); ?>
  41. <?php IncludeTimeline(); ?>
  42. <script type="text/javascript" src="../lib/js/functions_admin.js"></script>
  43. </head>
  44. <body>
  45. <div id="container" style="background-image: url(<?php echo THEME_ADMIN_PATH; ?>images/<?php echo LANGUAGE;?>/bgcontainer.png);">
  46. <!-- barre haute -->
  47.  
  48. <div id="deconnexion">
  49.     <a href="logout.php" style="margin: 1.3em"><?php echo _t('header','deconnexion');
  50. ?></a>
  51. </div>
  52. <div id="bienvenue"><?php echo _t('header','welcome');
  53. ?> <span><?php echo GetSessionElement('login');
  54. ?></span></div>
  55.  
  56. <!--end barre haute -->

Documentation generated on Fri, 16 Oct 2009 09:33:27 +0200 by phpDocumentor 1.4.1