New: Ajout lien "Retour liste des modules" dans page config modules

This commit is contained in:
Laurent Destailleur 2008-01-26 15:10:18 +00:00
parent 434c4e149f
commit a81f652e28
28 changed files with 83 additions and 51 deletions

View File

@ -80,7 +80,8 @@ llxHeader();
*/
$var=True;
print_fiche_titre($langs->trans("MembersSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("MembersSetup"),$linkback,'setup');
print "<br>";

View File

@ -65,7 +65,8 @@ $formbarcode = new FormBarCode($db);
llxHeader('',$langs->trans("BarcodeSetup"),'BarcodeConfiguration');
print_fiche_titre($langs->trans("BarcodeSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("BarcodeSetup"),$linkback,'setup');
// Detect bar codes modules
$barcodelist=array();

View File

@ -127,7 +127,8 @@ elseif ($_POST["test"])
llxHeader();
print_fiche_titre($langs->trans("OSCommerceSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("OSCommerceSetup"),$linkback,'setup');

View File

@ -52,7 +52,8 @@ if ($_POST["action"] == 'setvalue' && $user->admin)
llxHeader();
print_fiche_titre($langs->trans("ClickToDialSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("ClickToDialSetup"),$linkback,'setup');
if ($mesg) print '<br>'.$mesg;

View File

@ -164,7 +164,8 @@ llxHeader();
$dir = "../includes/modules/commande/";
$html=new Form($db);
print_fiche_titre($langs->trans("OrdersSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("OrdersSetup"),$linkback,'setup');
print "<br>";

View File

@ -74,7 +74,9 @@ if ($_GET['action'] == 'delete')
*/
$html=new Form($db);
print_fiche_titre($langs->trans('ComptaSetup'),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans('ComptaSetup'),$linkback,'setup');
print '<br>';

View File

@ -69,12 +69,15 @@ if ($_GET['action'] == 'delete')
}
}
/*
* Affichage page
*/
$html=new Form($db);
print_fiche_titre($langs->trans('ComptaSetup'),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans('ComptaSetup'),$linkback,'setup');
print '<br>';

View File

@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>
*
* This program is free software; you can redistribute it and/or modify
@ -15,16 +15,13 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
* $Source$
*/
/**
\file htdocs/admin/confexped.php
\ingroup produit
\brief Page d'administration/configuration du module Expedition
\version $Revision$
\version $Id$
*/
require("./pre.inc.php");
@ -67,11 +64,14 @@ else if ($_GET["action"] == 'disable_delivery')
/*
* Affiche page
*/
$dir = DOL_DOCUMENT_ROOT."/expedition/mods/";
$html=new Form($db);
llxHeader("","");
$dir = DOL_DOCUMENT_ROOT."/expedition/mods/";
$html=new Form($db);
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("Setup"),$linkback,'setup');
print '<br>';
$h = 0;

View File

@ -122,7 +122,8 @@ $html=new Form($db);
llxHeader('',$langs->trans("DonationsSetup"),'DonConfiguration');
print_fiche_titre($langs->trans("DonationsSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("DonationsSetup"),$linkback,'setup');
/*

View File

@ -64,8 +64,8 @@ llxHeader();
*/
print_fiche_titre($langs->trans("PretSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("PretSetup"),$linkback,'setup');
print "<br>";

View File

@ -64,7 +64,8 @@ llxHeader();
* Interface de configuration de certaines variables de la partie editeur
*/
print_fiche_titre($langs->trans("Configuration du module Editeur"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("Configuration du module Editeur"),$linkback,'setup');
print '<form action="editeur.php" method="POST">';
print '<table class="noborder" width="100%">';

View File

@ -43,10 +43,10 @@ if ($_POST["action"] == 'setvalue' && $user->admin)
/*
*
*/
llxHeader();
llxHeader();
print_fiche_titre($langs->trans("Energy"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("Energy"),$linkback,'setup');
print '<br>';
print '<form method="post" action="energie.php">';

View File

@ -1,6 +1,6 @@
<?php
/* Copyright (C) 2003-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
@ -19,15 +19,13 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/
/**
\file htdocs/admin/expedition.php
\ingroup expedition
\brief Page d'administration/configuration du module Expedition
\version $Revision$
\version $Id$
*/
require("./pre.inc.php");
@ -197,15 +195,20 @@ if ($_GET["action"] == 'setmod')
/*
* Affiche page
*/
$dir = DOL_DOCUMENT_ROOT."/expedition/mods/";
$html=new Form($db);
llxHeader("","");
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("Setup"),$linkback,'setup');
print '<br>';
if ($mesg) print $mesg.'<br>';
$dir = DOL_DOCUMENT_ROOT."/expedition/mods/";
$html=new Form($db);
$h = 0;
$head[$h][0] = DOL_URL_ROOT."/admin/confexped.php";
@ -242,7 +245,8 @@ if ($resql)
}
}
print_fiche_titre($langs->trans("SendingMethod"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("SendingMethod"),$linkback,'setup');
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">';

View File

@ -181,7 +181,8 @@ if ($_POST["delete"])
llxHeader();
print_fiche_titre($langs->trans("ExternalRSSSetup"), $mesg, 'setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("ExternalRSSSetup"), $linkback, 'setup');
print '<br>';
// Formulaire ajout

View File

@ -192,7 +192,8 @@ llxHeader("","");
$html=new Form($db);
print_fiche_titre($langs->trans("BillsNumberingModule"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("BillsNumberingModule"),$linkback,'setup');
print '<br>';
$h = 0;

View File

@ -148,7 +148,8 @@ llxHeader();
$dir=DOL_DOCUMENT_ROOT."/includes/modules/fichinter/";
$html=new Form($db);
print_fiche_titre($langs->trans("InterventionsSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("InterventionsSetup"),$linkback,'setup');
print "<br>";

View File

@ -150,7 +150,8 @@ llxHeader();
$dir = "../fourn/commande/modules/pdf/";
$html=new Form($db);
print_fiche_titre($langs->trans("SuppliersSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("SuppliersSetup"),$linkback,'setup');
print "<br>";

View File

@ -1,6 +1,6 @@
<?php
/* Copyright (C) 2003-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
@ -19,17 +19,14 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/
/**
\file htdocs/admin/livraison.php
\ingroup livraison
\brief Page d'administration/configuration du module Livraison
\version $Revision$
\version $Id$
*/
require("./pre.inc.php");
require_once(DOL_DOCUMENT_ROOT."/livraison/livraison.class.php");
@ -141,11 +138,15 @@ if ($_POST["action"] == 'setNumRestart') dolibarr_set_const($db, "LIVRAISON_NUM_
/*
* Affiche page
*/
$dir = DOL_DOCUMENT_ROOT."/livraison/mods/";
$html=new Form($db);
llxHeader("","");
$dir = DOL_DOCUMENT_ROOT."/livraison/mods/";
$html=new Form($db);
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("Setup"),$linkback,'setup');
print '<br>';
$h = 0;
@ -172,7 +173,8 @@ dolibarr_fiche_head($head, $hselected, $langs->trans("ModuleSetup"));
* Module numérotation
*/
print_fiche_titre($langs->trans("DeliveryOrderNumberingModules"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("DeliveryOrderNumberingModules"),$linkback,'setup');
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">';

View File

@ -57,7 +57,8 @@ if ($_POST["action"] == 'setvalue' && $user->admin)
llxHeader();
print_fiche_titre($langs->trans("MailingSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("MailingSetup"),$linkback,'setup');
if ($mesg) print '<br>'.$mesg;

View File

@ -129,7 +129,8 @@ elseif ($actiontest)
llxHeader();
print_fiche_titre($langs->trans("MantisSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("MantisSetup"),$linkback,'setup');
print '<br>';

View File

@ -57,7 +57,8 @@ if ($_POST["action"] == 'setvalue' && $user->admin)
llxHeader();
print_fiche_titre($langs->trans("NotificationSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("NotificationSetup"),$linkback,'setup');
if ($mesg) print '<br>'.$mesg;

View File

@ -154,7 +154,8 @@ elseif ($actiontest)
llxHeader();
print_fiche_titre($langs->trans("PhenixSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("PhenixSetup"),$linkback,'setup');
print '<br>';

View File

@ -139,7 +139,8 @@ $formbarcode=new FormBarCode($db);
llxHeader('',$langs->trans("ProductSetup"));
print_fiche_titre($langs->trans("ProductSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("ProductSetup"),$linkback,'setup');
$html=new Form($db);
$var=true;

View File

@ -196,7 +196,8 @@ $dir = "../includes/modules/propale/";
$html=new Form($db);
print_fiche_titre($langs->trans("PropalSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("PropalSetup"),$linkback,'setup');
/*
* Module numérotation

View File

@ -109,7 +109,8 @@ $form=new Form($db);
llxHeader();
print_fiche_titre($langs->trans("CompanySetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("CompanySetup"),$linkback,'setup');
print "<br>";

View File

@ -95,7 +95,8 @@ elseif ($_POST["action"] == 'stock_shipment')
*/
llxHeader('',$langs->trans("StockSetup"));
print_fiche_titre($langs->trans("StockSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("StockSetup"),$linkback,'setup');
$html=new Form($db);
$var=true;

View File

@ -82,7 +82,8 @@ if ($_POST["action"] == 'set')
llxHeader();
print_fiche_titre($langs->trans("SyslogSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("SyslogSetup"),$linkback,'setup');
print '<br>';
$def = array();

View File

@ -150,7 +150,8 @@ elseif ($actiontest)
llxHeader();
print_fiche_titre($langs->trans("WebCalSetup"),'','setup');
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
print_fiche_titre($langs->trans("WebCalSetup"),$linkback,'setup');
print '<br>';