Rorganisation des menus
This commit is contained in:
parent
7137e15438
commit
583932a94d
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
/* Copyright (C) 2003-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@ -22,18 +22,16 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/commande/pre.inc.php
|
||||
\ingroup commandes
|
||||
\brief Gestionnaire du menu commandes
|
||||
\version $Revision$
|
||||
\file htdocs/commande/pre.inc.php
|
||||
\ingroup commandes
|
||||
\brief Gestionnaire du menu commandes
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
require("../main.inc.php");
|
||||
require("./commande.class.php");
|
||||
|
||||
$langs->load("orders");
|
||||
|
||||
|
||||
function llxHeader($head = "", $title="", $help_url='')
|
||||
{
|
||||
global $user, $conf, $langs;
|
||||
@ -44,13 +42,12 @@ function llxHeader($head = "", $title="", $help_url='')
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/commande/", $langs->trans("Orders"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/commande/liste.php", $langs->trans("List"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/commande/stats/", $langs->trans("Statistics"));
|
||||
|
||||
if ($conf->expedition->enabled) {
|
||||
$menu->add(DOL_URL_ROOT."/expedition/", $langs->trans("Sendings"));
|
||||
}
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/commande/stats/", $langs->trans("Statistics"));
|
||||
|
||||
left_menu($menu->liste, $help_url);
|
||||
}
|
||||
?>
|
||||
|
||||
@ -22,14 +22,15 @@
|
||||
*/
|
||||
|
||||
/*!
|
||||
\file htdocs/commande/stats/pre.inc.php
|
||||
\ingroup commandes
|
||||
\brief Gestionnaire du menu commandes
|
||||
\version $Revision$
|
||||
\file htdocs/commande/stats/pre.inc.php
|
||||
\ingroup commandes
|
||||
\brief Gestionnaire du menu commandes
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
require("../../main.inc.php");
|
||||
require("../../bargraph.class.php");
|
||||
$langs->load("orders");
|
||||
|
||||
function llxHeader($head = "", $title="", $help_url='')
|
||||
{
|
||||
@ -41,12 +42,12 @@ function llxHeader($head = "", $title="", $help_url='')
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/commande/", $langs->trans("Orders"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/commande/liste.php", $langs->trans("List"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/commande/stats/", $langs->trans("Statistics"));
|
||||
|
||||
if ($conf->expedition->enabled) {
|
||||
$menu->add(DOL_URL_ROOT."/expedition/", "Expeditions");
|
||||
}
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/commande/stats/", $langs->trans("Statistics"));
|
||||
if ($conf->expedition->enabled)
|
||||
{
|
||||
$menu->add(DOL_URL_ROOT."/expedition/", $langs->trans("Sendings"));
|
||||
}
|
||||
|
||||
left_menu($menu->liste, $help_url);
|
||||
}
|
||||
|
||||
@ -31,17 +31,12 @@
|
||||
require("../main.inc.php");
|
||||
require("../commande/commande.class.php");
|
||||
require("./expedition.class.php");
|
||||
|
||||
$langs->load("orders");
|
||||
|
||||
function llxHeader($head = "", $title="", $help_url='')
|
||||
{
|
||||
global $user, $conf, $langs;
|
||||
global $langs;
|
||||
|
||||
/*
|
||||
*
|
||||
*
|
||||
*/
|
||||
top_menu($head, $title);
|
||||
|
||||
$menu = new Menu();
|
||||
@ -50,8 +45,7 @@ function llxHeader($head = "", $title="", $help_url='')
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/expedition/", $langs->trans("Sendings"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/expedition/liste.php", $langs->trans("List"));
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/expedition/stats/", $langs->trans("Statistics"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/expedition/stats/", $langs->trans("Statistics"));
|
||||
|
||||
left_menu($menu->liste, $help_url, $form_search, $author);
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
/* Copyright (C) 2003-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -21,26 +21,22 @@
|
||||
*/
|
||||
require("../../main.inc.php");
|
||||
require("../../bargraph.class.php");
|
||||
$langs->load("orders");
|
||||
|
||||
function llxHeader($head = "", $urlp = "")
|
||||
function llxHeader($head = "", $title="", $urlp = "")
|
||||
{
|
||||
global $langs;
|
||||
|
||||
top_menu($head);
|
||||
top_menu($head, $title);
|
||||
|
||||
$menu = new Menu();
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/expedition/", "Expeditions");
|
||||
|
||||
|
||||
$menu->add("./", $langs->trans("Statistics"));
|
||||
$menu->add(DOL_URL_ROOT."/commande/", $langs->trans("Orders"));
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/expedition/", $langs->trans("Sendings"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/expedition/liste.php", $langs->trans("List"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/expedition/stats/", $langs->trans("Statistics"));
|
||||
|
||||
left_menu($menu->liste);
|
||||
/*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user