diff --git a/htdocs/admin/const.php b/htdocs/admin/const.php index 8dcc005d0fd..423bf84cdc2 100644 --- a/htdocs/admin/const.php +++ b/htdocs/admin/const.php @@ -110,6 +110,27 @@ if ($_GET["action"] == 'delete') llxHeader('',$langs->trans("OtherSetup")); +// Add logic to shoow/hide buttons +if ($conf->use_javascript_ajax) +{ +?> + +trans("OtherSetup"),'','setup'); print $langs->trans("ConstDesc")."
\n"; @@ -137,7 +158,7 @@ print '
'; print ''; print ''; -print "\n"; +print ''."\n"; print ''; print ''; print ''; @@ -200,14 +221,12 @@ if ($result) // Value print ''; - print 'use_javascript_ajax) print ' onKeyPress="displayElement(\'updateconst\'); checkBox(\'check_'.$i.'\');"'; + print ''; print ''; // Note - print 'use_javascript_ajax) print ' onKeyPress="displayElement(\'updateconst\'); checkBox(\'check_'.$i.'\');"'; + print ''; print ''; @@ -226,7 +245,7 @@ if ($result) print ''; if ($conf->use_javascript_ajax) { - print ''; + print ''; print '   '; } else @@ -247,10 +266,10 @@ print ''; if ($conf->use_javascript_ajax) { print '
'; - print '