[ Index ]
 

Code source de SPIP Agora 1.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Agora1-4/ecrire/ -> aide_index.php (source)

   1  <?php
   2  /*****************************************************
   3  * This file is part of Agora, web based content management system.
   4  *
   5  * Agora is free software; you can redistribute it and/or modify
   6  * it under the terms of the GNU General Public License as published by
   7  * the Free Software Foundation; version 2 of the License.
   8  *
   9  * Agora is distributed in the hope that it will be useful,
  10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  * GNU General Public License for more details (file "COPYING").
  13  *
  14  * Copyright © Arnaud Martin, Antoine Pitrou et Philippe Rivière.
  15  * List of authors detailed in "copyright_fr.html" file.
  16  * E-mail : agora@sig.premier-ministre.gouv.fr
  17  * Web site : http://www.agora.gouv.fr
  18  *****************************************************/
  19  include  ("inc_version.php");
  20  
  21  if ($var_lang) {
  22      $lastmodified = filemtime("aide_index.php");
  23      $headers_only = http_last_modified($lastmodified, time() + 24 * 3600);
  24      if ($headers_only)
  25          exit;
  26  }
  27  
  28  // Recuperer les infos de langue (preferences auteur), si possible
  29  //if (file_exists("inc_connect.php")) {
  30  if (!file_exists(dirname(__FILE__). "/include/bd/inc_config_metier.php")) {
  31      include_ecrire  ("inc_auth.php");
  32  }
  33  
  34  include_ecrire  ("inc_lang.php");
  35  utiliser_langue_visiteur();
  36  
  37  if ($var_lang)
  38      changer_langue ($var_lang);
  39  
  40  echo "<HTML>";
  41  echo "<HEAD>";
  42  echo "<TITLE dir=\"" . ($spip_lang_rtl ? 'rtl' : 'ltr'). "\">" . _T('info_aide_en_ligne'). "</TITLE>";
  43  echo "</HEAD>";
  44  
  45  $frame_menu
  46      = "<frame src=\"aide_gauche.php?aide=$aide&les_rub=$les_rub&var_lang=$spip_lang#$ancre\" name=\"gauche\" scrolling=\"auto\" noresize>\n";
  47  $frame_body
  48      = "<frame src=\"aide_droite.php?aide=$aide&var_lang=$spip_lang\" name=\"droite\" scrolling=\"auto\" noresize>\n";
  49  
  50  if ($spip_lang_rtl) {
  51      echo '<frameset cols="*,160" border="0" frameborder="0" framespacing="0">';
  52      echo $frame_body . $frame_menu;
  53  }
  54  else {
  55      echo '<frameset cols="160,*" border="0" frameborder="0" framespacing="0">';
  56      echo $frame_menu . $frame_body;
  57  }
  58  
  59  echo '</frameset>';
  60  
  61  echo "</HTML>";
  62  ?>


Généré le : Sat Feb 24 14:40:03 2007 par Balluche grâce à PHPXref 0.7