From 77029325b243ca3386b0b4a046d6dd7efdf79a19 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 13 Sep 2005 09:28:43 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20param=E8tre=20pour=20le=20tableau=20de?= =?UTF-8?q?=20bord?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/admin/ihm.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index 88362bea9f7..f3dd5bb7d23 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2001-2005 Rodolphe Quiedeville * Copyright (C) 2004-2005 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify @@ -61,6 +61,7 @@ if (isset($_POST["action"]) && $_POST["action"] == 'update') dolibarr_set_const($db, "MAIN_SEARCHFORM_PRODUITSERVICE",$_POST["main_searchform_produitservice"]); dolibarr_set_const($db, "MAIN_SHOW_BUGTRACK_LINK", $_POST["bugtrack"]); + dolibarr_set_const($db, "MAIN_SHOW_WORKBOARD", $_POST["workboard"]); dolibarr_set_const($db, "MAIN_MOTD", trim($_POST["main_motd"])); @@ -150,6 +151,11 @@ if (isset($_GET["action"]) && $_GET["action"] == 'edit') $html->selectyesnonum('bugtrack',MAIN_SHOW_BUGTRACK_LINK); print ''; + $var=!$var; + print ''.$langs->trans("ShowWorkBoard").''; + $html->selectyesnonum('workboard',MAIN_SHOW_WORKBOARD); + print ''; + print '
'; @@ -213,10 +219,13 @@ else $var=!$var; print ''.$langs->trans("DefaultMaxSizeList").'' . $conf->global->SIZE_LISTE_LIMIT . ''; - + $var=!$var; print ''.$langs->trans("ShowBugtrakLink").''; print (MAIN_SHOW_BUGTRACK_LINK?$langs->trans("yes"):$langs->trans("no")).""; + $var=!$var; + print ''.$langs->trans("ShowWorkBoard").''; + print (MAIN_SHOW_WORKBOARD?$langs->trans("yes"):$langs->trans("no")).""; print '
';