From bd20ab350003e0d42d2ddc90f01a09dbdbc18208 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 27 Jul 2012 20:47:17 +0200 Subject: [PATCH] New: Auto check box on page to edit interface options of user. --- ChangeLog | 1 + htdocs/user/param_ihm.php | 21 +++++++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9694309d42e..08cc2812d9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -27,6 +27,7 @@ For users: - New: Can correct stock of a warehouse from warehouse card. - New: [ task #454 ] Add "No category" into filters on category. - New: Update language files (de, tr, pt). +- New: Auto check box on page to edit interface options of user. - Fix: No images into product description lines as PDF generation does not work with this. diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php index 446f41c75aa..1cac44020df 100644 --- a/htdocs/user/param_ihm.php +++ b/htdocs/user/param_ihm.php @@ -145,7 +145,19 @@ print '
'; if ($action == 'edit') { - print '
'; + print ''; + + print ''; print ''; print ''; print ''; @@ -164,7 +176,7 @@ if ($action == 'edit') print $s?$s.' ':''; print ($conf->global->MAIN_LANG_DEFAULT=='auto'?$langs->trans("AutoDetectLang"):$langs->trans("Language_".$conf->global->MAIN_LANG_DEFAULT)); print ''; - print 'conf->MAIN_LANG_DEFAULT)?" checked":""); + print 'conf->MAIN_LANG_DEFAULT)?" checked":""); print ! empty($dolibarr_main_demo)?' disabled="disabled"':''; // Disabled for demo print '> '.$langs->trans("UsePersonalValue").''; print ''; @@ -175,10 +187,10 @@ if ($action == 'edit') $var=!$var; print ''.$langs->trans("MaxSizeList").''; print ''.$conf->global->MAIN_SIZE_LISTE_LIMIT.''; - print 'conf->MAIN_SIZE_LISTE_LIMIT)?" checked":""); + print 'conf->MAIN_SIZE_LISTE_LIMIT)?" checked":""); print ! empty($dolibarr_main_demo)?' disabled="disabled"':''; // Disabled for demo print '> '.$langs->trans("UsePersonalValue").''; - print ''; + print ''; print '
'; @@ -251,6 +263,7 @@ else } +dol_fiche_end(); llxFooter(); $db->close();