[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3master/var/www/se3/ -> menu.php (source)

   1  <?php
   2  
   3     /**
   4     
   5     * Page du menu  
   6     * @Version $Id: menu.php 8537 2015-03-14 09:59:34Z plouf $ 
   7     
   8     * @Projet LCS / SambaEdu 
   9     
  10     * @auteurs Olivier Lecluse "wawa"
  11     * @auteurs jLCF >:>  jean-luc.chretien@tice.ac-caen.fr
  12     * @auteurs oluve olivier.le_monnier@crdp.ac-caen.fr
  13  
  14     * @Licence Distribue selon les termes de la licence GPL
  15     
  16     * @note 
  17     
  18     */
  19  
  20     /**
  21  
  22     * @Repertoire: /
  23     * file: menu.php
  24     */
  25  
  26  
  27  
  28  
  29      require_once ("lang.inc.php");
  30      bindtextdomain('se3-core',"/var/www/se3/locale");
  31      textdomain ('se3-core');
  32  
  33      require ("config.inc.php");
  34      //require ("menu.inc.php");
  35      require  ("functions.inc.php");
  36      $login=isauth();
  37      require ("menu.inc.php");
  38      if ($login == ""){
  39          header("Location:$urlauth");
  40      }
  41      else{
  42  ?>
  43  
  44  
  45  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  46  <HTML>
  47  <HEAD>
  48  <title><?php echo gettext("Interface d'administration de SambaEdu"); ?></title>
  49  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  50  <link type="text/css" rel="stylesheet" href="elements/style_sheets/sambaedu.css" />
  51  <script type="text/javascript" language="JavaScript">
  52  <!--
  53  function MM_reloadPage(init)
  54  {
  55  //reloads the window if Nav4 resized
  56      if (init==true) with (navigator) {
  57          if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
  58              document.MM_pgW=innerWidth;
  59              document.MM_pgH=innerHeight;
  60              onresize=MM_reloadPage;
  61          }
  62      }
  63      else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
  64          location.reload();
  65  }
  66  
  67  MM_reloadPage(true);
  68  
  69  function MM_findObj(n, d)
  70  {
  71  //v4.01
  72      var p,i,x;
  73      if(!d) d=document;
  74      if((p=n.indexOf("?"))>0&&parent.frames.length) {
  75          d=parent.frames[n.substring(p+1)].document;
  76          n=n.substring(0,p);
  77      }
  78      if(!(x=d[n])&&d.all) x=d.all[n];
  79      for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  80      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  81      if(!x && d.getElementById) x=d.getElementById(n);
  82      return x;
  83  }
  84  
  85  function P7_autoLayers()
  86  {
  87  //v1.1 PVII
  88      var g,b,k,f,args=P7_autoLayers.arguments;
  89      if(!document.p7setc) {
  90          p7c=new Array();
  91          document.p7setc=true;
  92      }
  93      for(k=0; k<p7c.length; k++) {
  94          if((g=MM_findObj(p7c[k]))!=null) {
  95              b=(document.layers)?g:g.style;
  96              b.visibility="hidden";
  97          }
  98      }
  99      for(k=0; k<args.length; k++) {
 100          if((g=MM_findObj(args[k])) != null) {
 101              b=(document.layers)?g:g.style;
 102              b.visibility="visible";
 103              f=false;
 104              for(j=0;j<p7c.length;j++) {
 105                  if(args[k]==p7c[j]) {f=true;}
 106              }
 107              if(!f) {p7c[p7c.length++]=args[k];}
 108          }
 109      }
 110  }
 111  //-->
 112  </script>
 113  </head>
 114  <?php
 115          if (! isset($menu)) $menu=0;
 116          //echo "<body bgcolor=\"ghostwhite\" onLoad=\"P7_autoLayers('menu" . $menu ."')\">";
 117          echo "<body bgcolor=\"#f8f8ff\" onLoad=\"P7_autoLayers('menu" . $menu ."')\">";
 118          menuprint($login);
 119  
 120          include("pdp.inc.php");
 121      }
 122  ?>


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1