[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/htdocs/admin/ -> pre.inc.php (source)

   1  <?php
   2  /* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
   3   * Copyright (C) 2004-2005 Laurent Destailleur  <eldy@users.sourceforge.net>
   4   * Copyright (C) 2005      Simon Tosser  <simon@kornog-computing.com>
   5   *
   6   * This program is free software; you can redistribute it and/or modify
   7   * it under the terms of the GNU General Public License as published by
   8   * the Free Software Foundation; either version 2 of the License, or
   9   * (at your option) any later version.
  10   *
  11   * This program is distributed in the hope that it will be useful,
  12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14   * GNU General Public License for more details.
  15   *
  16   * You should have received a copy of the GNU General Public License
  17   * along with this program; if not, write to the Free Software
  18   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  19   *
  20   * $Id: pre.inc.php,v 1.40 2005/10/13 23:36:33 eldy Exp $
  21   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/admin/pre.inc.php,v $
  22   */
  23  
  24  /**
  25          \file       htdocs/admin/pre.inc.php
  26          \brief      Fichier gestionnaire du menu de gauche de l'espace configuration
  27          \version    $Revision: 1.40 $
  28  */
  29  
  30  require ("../main.inc.php");
  31  
  32  $langs->load("admin");
  33  
  34  
  35  function llxHeader($head = "", $title="", $help_url='')
  36  {
  37    global $user, $langs;
  38  
  39    top_menu($head);
  40  
  41    $menu = new Menu();
  42    $langs->load("admin");
  43    $langs->load("users");
  44    
  45    $menu->add(DOL_URL_ROOT."/admin/index.php", $langs->trans("GlobalSetup"));
  46  
  47    $menu->add(DOL_URL_ROOT."/admin/ihm.php", $langs->trans("GUISetup"));
  48  
  49    $menu->add(DOL_URL_ROOT."/admin/modules.php", $langs->trans("Modules"));
  50  
  51    $menu->add(DOL_URL_ROOT."/admin/boxes.php", $langs->trans("Boxes"));
  52    
  53    $menu->add(DOL_URL_ROOT."/admin/delais.php",$langs->trans("DelaysBeforeWarning"));
  54  
  55    $menu->add(DOL_URL_ROOT."/admin/triggers.php", $langs->trans("Triggers"));
  56  
  57    $menu->add(DOL_URL_ROOT."/admin/perms.php", $langs->trans("DefaultRights"));
  58  
  59    $menu->add(DOL_URL_ROOT."/admin/dict.php", $langs->trans("DictionnarySetup"));
  60  
  61    $menu->add(DOL_URL_ROOT."/admin/const.php", $langs->trans("OtherSetup"));
  62  
  63    $menu->add(DOL_URL_ROOT."/admin/system/", $langs->trans("System"));
  64  
  65    left_menu($menu->liste, $help_url);
  66  }
  67  
  68  ?>


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics