diff --git a/htdocs/lib/lib_calendar.js b/htdocs/core/js/lib_calendar.js similarity index 100% rename from htdocs/lib/lib_calendar.js rename to htdocs/core/js/lib_calendar.js diff --git a/htdocs/lib/lib_head.js b/htdocs/core/js/lib_head.js similarity index 99% rename from htdocs/lib/lib_head.js rename to htdocs/core/js/lib_head.js index 9bc3eeafb73..d89f20064ca 100644 --- a/htdocs/lib/lib_head.js +++ b/htdocs/core/js/lib_head.js @@ -5,7 +5,7 @@ // // -// \file htdocs/lib/lib_head.js +// \file htdocs/core/js/lib_head.js // \brief File that include javascript functions (included if option use_javascript activated) // diff --git a/htdocs/lib/lib_photosresize.js b/htdocs/core/js/lib_photosresize.js similarity index 100% rename from htdocs/lib/lib_photosresize.js rename to htdocs/core/js/lib_photosresize.js diff --git a/htdocs/lib/lib_rare.js b/htdocs/core/js/lib_rare.js similarity index 94% rename from htdocs/lib/lib_rare.js rename to htdocs/core/js/lib_rare.js index 6453e7e255d..a78de915ba6 100644 --- a/htdocs/lib/lib_rare.js +++ b/htdocs/core/js/lib_rare.js @@ -2,7 +2,7 @@ // // Script javascript that contains functions not frequently used // -// \file htdocs/lib/lib_rare.js +// \file htdocs/core/js/lib_rare.js // \brief File that include javascript functions not frequently used (included if option use_javascript activated) diff --git a/htdocs/core/photos_resize.php b/htdocs/core/photos_resize.php index 01b7887f2ec..884e5e0b97b 100644 --- a/htdocs/core/photos_resize.php +++ b/htdocs/core/photos_resize.php @@ -130,7 +130,7 @@ if ($_POST["action"] == 'confirm_crop') * View */ -llxHeader($head, $langs->trans("Image"), '', '', 0, 0, array('/includes/jquery/plugins/jcrop/js/jquery.Jcrop.min.js','/lib/lib_photosresize.js'), array('/includes/jquery/plugins/jcrop/css/jquery.Jcrop.css')); +llxHeader($head, $langs->trans("Image"), '', '', 0, 0, array('/includes/jquery/plugins/jcrop/js/jquery.Jcrop.min.js','/core/js/lib_photosresize.js'), array('/includes/jquery/plugins/jcrop/css/jquery.Jcrop.css')); print_fiche_titre($langs->trans("ImageEditor")); diff --git a/htdocs/lib/datepicker.php b/htdocs/lib/datepicker.php index 978f06a1baf..a9073ca3a3b 100644 --- a/htdocs/lib/datepicker.php +++ b/htdocs/lib/datepicker.php @@ -53,7 +53,7 @@ print ''."\n"; print ''."\n"; if (GETPOST('mode') && GETPOST('mode') == 'test') { - print ''."\n"; + print ''."\n"; } else { diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 4bdba0edc70..cc6502d1924 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -953,7 +953,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs } // Global js function print ''."\n"; - print ''."\n"; + print ''."\n"; } // Output module javascript