From b1de04bc1b7a8d0838b956296e1b7175b31a60fc Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 24 Oct 2011 13:36:11 +0200 Subject: [PATCH 1/2] Fix: change /lib/ by /core/lib/ --- htdocs/core/class/html.form.class.php | 2 +- htdocs/core/class/html.formother.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 5d36d245abb..79d3dc57eb6 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -3188,7 +3188,7 @@ class Form // Generate the date part, depending on the use or not of the javascript calendar if (empty($conf->global->MAIN_POPUP_CALENDAR) || $conf->global->MAIN_POPUP_CALENDAR == "eldy") { - $base=DOL_URL_ROOT.'/lib/'; + $base=DOL_URL_ROOT.'/core/lib/'; $reset_scripts .= 'resetDP(\''.$base.'\',\''.$prefix.'\',\''.$langs->trans("FormatDateShortJava").'\',\''.$langs->defaultlang.'\');'; } else diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index 442559bb851..679485a4a07 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -417,7 +417,7 @@ class FormOther /* // No list of colors forced, we can suggest any color print "\n".'
'; - print ''."\n"; + print ''."\n"; print '