From afc6f28a03f098dd42d5b4b63b9763e680f3344e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 4 May 2011 14:15:41 +0000 Subject: [PATCH] Fix: optimize code, use json --- htdocs/main.inc.php | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 288b751c708..4f202376d61 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -989,12 +989,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs $langs->trans("December") ); print ''."\n"; // Define tradMonthsMin javascript array (we define this in datapicker AND in parent page to avoid errors with IE8) @@ -1012,12 +1007,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs $langs->trans("DecemberMin") ); print ''."\n"; // Define tradDays javascript array (we define this in datapicker AND in parent page to avoid errors with IE8) @@ -1030,12 +1020,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs $langs->trans("Sunday") ); print ''."\n"; // Define tradDaysMin javascript array (we define this in datapicker AND in parent page to avoid errors with IE8) @@ -1048,12 +1033,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs $langs->trans("SundayMin") ); print ''."\n"; if (! empty($head)) print $head."\n";