From 981334434655f18933b3a0232e78cd8475349780 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 2 Sep 2012 08:50:42 +0200 Subject: [PATCH 1/3] Fix: broken features and uniformize code --- htdocs/theme/bureau2crea/tpl/login.tpl.php | 155 +++------------------ 1 file changed, 18 insertions(+), 137 deletions(-) diff --git a/htdocs/theme/bureau2crea/tpl/login.tpl.php b/htdocs/theme/bureau2crea/tpl/login.tpl.php index 8d79accc79d..2fd9af9b9d7 100644 --- a/htdocs/theme/bureau2crea/tpl/login.tpl.php +++ b/htdocs/theme/bureau2crea/tpl/login.tpl.php @@ -34,10 +34,13 @@ print ''."\n"; if (constant('JS_JQUERY_UI')) print ''."\n"; // JQuery else print ''."\n"; // JQuery // JQuery. Must be before other includes +$ext='.js'; +if (isset($conf->global->MAIN_OPTIMIZE_SPEED) && ($conf->global->MAIN_OPTIMIZE_SPEED & 0x01)) $ext='.jgz'; print ''."\n"; if (constant('JS_JQUERY')) print ''."\n"; else print ''."\n"; -print ' +print ''."\n"; +print '