From 4296f959caec33070f795cdb7eba5404226599e3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 20 Feb 2019 04:55:35 +0100 Subject: [PATCH] Invert option MAIN_HIDE_VERSION into ! MAIN_SHOW_VERSION Reorganize levels of menu accountancy --- htdocs/compta/compta-files.php | 2 +- htdocs/core/boxes/box_project.php | 2 +- htdocs/core/class/dolgraph.class.php | 2 +- htdocs/core/get_menudiv.php | 2 +- htdocs/core/menus/standard/eldy.lib.php | 20 ++++++++++---------- htdocs/langs/en_US/accountancy.lang | 1 + htdocs/main.inc.php | 2 +- htdocs/theme/eldy/style.css.php | 2 +- 8 files changed, 17 insertions(+), 16 deletions(-) diff --git a/htdocs/compta/compta-files.php b/htdocs/compta/compta-files.php index 1a845d59601..3917cad6133 100644 --- a/htdocs/compta/compta-files.php +++ b/htdocs/compta/compta-files.php @@ -283,7 +283,7 @@ llxHeader('', $title, $help_url); $h=0; $head[$h][0] = $_SERVER["PHP_SELF"].$varlink; -$head[$h][1] = $langs->trans("AccountancyFiles"); +$head[$h][1] = $langs->trans("AccountantFiles"); $head[$h][2] = 'AccountancyFiles'; dol_fiche_head($head, 'AccountancyFiles'); diff --git a/htdocs/core/boxes/box_project.php b/htdocs/core/boxes/box_project.php index 7ab97832637..f08586ba9b0 100644 --- a/htdocs/core/boxes/box_project.php +++ b/htdocs/core/boxes/box_project.php @@ -59,7 +59,7 @@ class box_project extends ModeleBoxes $langs->loadLangs(array('boxes', 'projects')); $this->db = $db; - $this->boxlabel="Projects"; + $this->boxlabel="OpenedProjects"; $this->hidden=! ($user->rights->projet->lire); } diff --git a/htdocs/core/class/dolgraph.class.php b/htdocs/core/class/dolgraph.class.php index e335975e503..2a92d14c7b9 100644 --- a/htdocs/core/class/dolgraph.class.php +++ b/htdocs/core/class/dolgraph.class.php @@ -943,7 +943,7 @@ class DolGraph $this->stringtoshow.='
'.$langs->trans("NotEnoughDataYet").'
'; return; } - $this->stringtoshow.='
'."\n"; + $this->stringtoshow.='
'."\n"; $this->stringtoshow.='