Fix: change /lib/ by /core/lib/

This commit is contained in:
Regis Houssin 2011-10-24 13:36:11 +02:00
parent 87ff36e3c8
commit b1de04bc1b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -417,7 +417,7 @@ class FormOther
/*
// No list of colors forced, we can suggest any color
print "\n".'<table class="nobordernopadding"><tr><td valign="middle">';
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/lib/lib_colorpicker.js"></script>'."\n";
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/core/lib/lib_colorpicker.js"></script>'."\n";
print '<script type="text/javascript">
window.onload = function()
{