From 927d797c708a5adf870d38096ffad6f79fa04558 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 16 Aug 2006 23:30:20 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20fonction=20tout=20d=E9rouler=20sur=20li?= =?UTF-8?q?ste=20cat=E9gories?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/categories/index.php | 2 +- htdocs/langs/en_US/main.lang | 4 ++++ htdocs/langs/fr_FR/main.lang | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/htdocs/categories/index.php b/htdocs/categories/index.php index 29d8f9307f5..7e8d24db273 100644 --- a/htdocs/categories/index.php +++ b/htdocs/categories/index.php @@ -119,7 +119,7 @@ if ($conf->use_javascript) print ''.$langs->trans("ExpandAll").''; print ''; } - if ($_GET["expand"] != 'none') + if ($_GET["expand"] && $_GET["expand"] != 'none') { print ''.$langs->trans("UndoExpandAll").''; print ''; diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index 1088bc9a297..9850cef25dd 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -325,6 +325,10 @@ ShowAccountancyPreview=Show accountancy preview RefCustomer=Ref. customer Currency=Currency InfoAdmin=Information for administrators +Undo=Undo +Redo=Redo +ExpandAll=Expand all +UndoExpandAll=Undo expand # Countries CountryFR=France CountryBE=Belgium diff --git a/htdocs/langs/fr_FR/main.lang b/htdocs/langs/fr_FR/main.lang index b25c7bbefac..ab9877ba4c8 100644 --- a/htdocs/langs/fr_FR/main.lang +++ b/htdocs/langs/fr_FR/main.lang @@ -325,6 +325,10 @@ ShowAccountancyPreview=Afficher aper RefCustomer=Réf. client Currency=Devise InfoAdmin=Information pour les administrateurs +Undo=Annuler +Redo=Refaire +ExpandAll=Tout dérouler +UndoExpandAll=Annuler déroulement # Countries CountryFR=France CountryBE=Belgique