From b1271a5398027c4df437f19fb23ca37305e6b192 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 24 Oct 2011 09:36:58 +0200 Subject: [PATCH] Move core js in /htdocs/core/js --- htdocs/{lib => core/js}/lib_calendar.js | 0 htdocs/{lib => core/js}/lib_head.js | 2 +- htdocs/{lib => core/js}/lib_photosresize.js | 0 htdocs/{lib => core/js}/lib_rare.js | 2 +- htdocs/core/photos_resize.php | 2 +- htdocs/lib/datepicker.php | 2 +- htdocs/main.inc.php | 2 +- 7 files changed, 5 insertions(+), 5 deletions(-) rename htdocs/{lib => core/js}/lib_calendar.js (100%) rename htdocs/{lib => core/js}/lib_head.js (99%) rename htdocs/{lib => core/js}/lib_photosresize.js (100%) rename htdocs/{lib => core/js}/lib_rare.js (94%) 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