[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/administrator/templates/joomla_admin/ -> index.php (source)

   1  <?php
   2  /**
   3  * @version $Id: index.php 5975 2006-12-11 01:26:33Z robs $
   4  * @package Joomla
   5  * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
   6  * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
   7  * Joomla! is free software. This version may have been modified pursuant
   8  * to the GNU General Public License, and as distributed it includes or
   9  * is derivative of works licensed under the GNU General Public License or
  10  * other free or open source software licenses.
  11  * See COPYRIGHT.php for copyright notices and details.
  12  */
  13  
  14  /** ensure this file is being included by a parent file */
  15  defined( '_VALID_MOS' ) or die( 'Restricted access' );
  16  
  17  $tstart = mosProfiler::getmicrotime();
  18  // needed to seperate the ISO number from the language file constant _ISO
  19  $iso = explode( '=', _ISO );
  20  // xml prolog
  21  echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
  22  ?>
  23  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  24  <html xmlns="http://www.w3.org/1999/xhtml">
  25  <head>
  26  <title><?php echo $mosConfig_sitename; ?> - Administration [Joomla!]</title>
  27  <link rel="stylesheet" href="templates/joomla_admin/css/template_css.css" type="text/css" />
  28  <link rel="stylesheet" href="templates/joomla_admin/css/theme.css" type="text/css" />
  29  <script language="JavaScript" src="<?php echo $mosConfig_live_site; ?>/includes/js/JSCookMenu_mini.js" type="text/javascript"></script>
  30  <script language="JavaScript" src="<?php echo $mosConfig_live_site; ?>/administrator/includes/js/ThemeOffice/theme.js" type="text/javascript"></script>
  31  <script language="JavaScript" src="<?php echo $mosConfig_live_site; ?>/includes/js/joomla.javascript.js" type="text/javascript"></script>
  32  <?php
  33  include_once ( $mosConfig_absolute_path . '/editor/editor.php' );
  34  initEditor();
  35  
  36  // Workaround to include custom head tags from components
  37  if (isset( $mainframe->_head['custom'] ))
  38  {
  39      $head = array();
  40      foreach ($mainframe->_head['custom'] as $html) {
  41          $head[] = $html;
  42      }
  43      echo implode( "\n", $head ) . "\n";
  44  }
  45  ?>
  46  <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
  47  <meta name="Generator" content="Joomla! Content Management System" />
  48  <link rel="shortcut icon" href="<?php echo $mosConfig_live_site .'/images/favicon.ico';?>" />
  49  </head>
  50  <body onload="MM_preloadImages('images/help_f2.png','images/archive_f2.png','images/back_f2.png','images/cancel_f2.png','images/delete_f2.png','images/edit_f2.png','images/new_f2.png','images/preview_f2.png','images/publish_f2.png','images/save_f2.png','images/unarchive_f2.png','images/unpublish_f2.png','images/upload_f2.png')">
  51  
  52  <div id="wrapper">
  53      <div id="header">
  54              <div id="joomla"><img src="templates/joomla_admin/images/header_text.png" alt="Joomla! Logo" /></div>
  55      </div>
  56  </div>
  57  <table width="100%" class="menubar" cellpadding="0" cellspacing="0" border="0">
  58  <tr>
  59      <td class="menubackgr" style="padding-left:5px;">
  60          <?php mosLoadAdminModule( 'fullmenu' );?>
  61      </td>
  62      <td class="menubackgr" align="right">
  63          <div id="wrapper1">
  64              <?php mosLoadAdminModules( 'header', 2 );?>
  65          </div>
  66      </td>
  67      <td class="menubackgr" align="right" style="padding-right:5px;">
  68          <a href="index2.php?option=logout" style="color: #333333; font-weight: bold">
  69              Logout</a>
  70          <strong><?php echo $my->username;?></strong>
  71      </td>
  72  </tr>
  73  </table>
  74  
  75  <table width="100%" class="menubar" cellpadding="0" cellspacing="0" border="0">
  76  <tr>
  77      <td class="menudottedline" width="40%">
  78          <?php mosLoadAdminModule( 'pathway' );?>
  79      </td>
  80      <td class="menudottedline" align="right">
  81          <?php mosLoadAdminModule( 'toolbar' );?>
  82      </td>
  83  </tr>
  84  </table>
  85  
  86  <br />
  87  <?php mosLoadAdminModule( 'mosmsg' );?>
  88  
  89  <div align="center" class="centermain">
  90      <div class="main">
  91          <?php mosMainBody_Admin(); ?>
  92      </div>
  93  </div>
  94  
  95  <div align="center" class="footer">
  96      <table width="99%" border="0">
  97      <tr>
  98          <td align="center">
  99              <div align="center">
 100                  <?php echo $_VERSION->URL; ?>
 101              </div>
 102              <div align="center" class="smallgrey">
 103                  <?php echo $version; ?>
 104                  <br />
 105                  <a href="http://www.joomla.org/latest10" target="_blank">Check for latest Version</a>
 106              </div>
 107              <?php
 108              if ( $mosConfig_debug ) {
 109                  echo '<div class="smallgrey">';
 110                  $tend = mosProfiler::getmicrotime();
 111                  $totaltime = ($tend - $tstart);
 112                  printf ("Page was generated in %f seconds", $totaltime);
 113                  echo '</div>';
 114              }
 115              ?>
 116          </td>
 117      </tr>
 118      </table>
 119  </div>
 120  
 121  <?php mosLoadAdminModules( 'debug' );?>
 122  </body>
 123  </html>


Généré le : Wed Nov 21 14:43:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics