Gestion du titre de la page
This commit is contained in:
parent
41b87ad357
commit
9f0d557ea9
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -21,22 +21,24 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \file htdocs/comm/pre.inc.php
|
/**
|
||||||
\ingroup commercial
|
\file htdocs/comm/pre.inc.php
|
||||||
\brief Fichier de gestion du menu gauche de l'espace commercial
|
\ingroup commercial
|
||||||
\version $Revision$
|
\brief Fichier de gestion du menu gauche de l'espace commercial
|
||||||
|
\version $Revision$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
|
|
||||||
|
|
||||||
function llxHeader($head = "", $urlp = "") {
|
function llxHeader($head = "", $title = "")
|
||||||
|
{
|
||||||
global $user, $conf, $langs;
|
global $user, $conf, $langs;
|
||||||
|
|
||||||
$user->getrights();
|
$user->getrights();
|
||||||
$langs->load("companies");
|
$langs->load("companies");
|
||||||
|
|
||||||
top_menu($head);
|
top_menu($head, $title);
|
||||||
|
|
||||||
$menu = new Menu();
|
$menu = new Menu();
|
||||||
|
|
||||||
@ -47,7 +49,7 @@ function llxHeader($head = "", $urlp = "") {
|
|||||||
{
|
{
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/soc.php?action=create&type=c", $langs->trans("MenuNewCustomer"));
|
$menu->add_submenu(DOL_URL_ROOT."/soc.php?action=create&type=c", $langs->trans("MenuNewCustomer"));
|
||||||
}
|
}
|
||||||
|
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/comm/contact.php?type=c", $langs->trans("Contacts"));
|
$menu->add_submenu(DOL_URL_ROOT."/comm/contact.php?type=c", $langs->trans("Contacts"));
|
||||||
|
|
||||||
// Prospects
|
// Prospects
|
||||||
@ -61,7 +63,6 @@ function llxHeader($head = "", $urlp = "") {
|
|||||||
$menu->add_submenu(DOL_URL_ROOT."/comm/contact.php?type=p", $langs->trans("Contacts"));
|
$menu->add_submenu(DOL_URL_ROOT."/comm/contact.php?type=p", $langs->trans("Contacts"));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/comm/action/index.php", $langs->trans("Actions"));
|
$menu->add(DOL_URL_ROOT."/comm/action/index.php", $langs->trans("Actions"));
|
||||||
|
|
||||||
// Propal
|
// Propal
|
||||||
@ -86,6 +87,8 @@ function llxHeader($head = "", $urlp = "") {
|
|||||||
$menu->add(DOL_URL_ROOT."/commande/index.php", $langs->trans("Orders"));
|
$menu->add(DOL_URL_ROOT."/commande/index.php", $langs->trans("Orders"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$menu->add(DOL_URL_ROOT."/comm/mailing/", "Mailing");
|
||||||
|
|
||||||
if ($conf->fichinter->enabled )
|
if ($conf->fichinter->enabled )
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/fichinter/index.php", "Fiches d'intervention");
|
$menu->add(DOL_URL_ROOT."/fichinter/index.php", "Fiches d'intervention");
|
||||||
@ -108,8 +111,5 @@ function llxHeader($head = "", $urlp = "") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
left_menu($menu->liste);
|
left_menu($menu->liste);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user