From 618f2d7408a14dee3e049b9864c107da6e7c849a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 23 Nov 2005 19:10:30 +0000 Subject: [PATCH] Move javascript stuff out of libraries folder. --- ChangeLog | 5 +++++ browse_foreigners.php | 2 +- calendar.php | 2 +- header.inc.php | 14 +++++++------- index.php | 2 +- {libraries => js}/dom-drag.js | 0 {libraries => js}/functions.js | 0 {libraries => js}/indexes.js | 0 {libraries => js}/keyhandler.js | 0 {libraries => js}/querywindow.js | 0 {libraries => js}/server_privileges.js | 0 {libraries => js}/tbl_change.js | 0 {libraries => js}/tooltip.js | 0 {libraries => js}/user_password.js | 0 libraries/display_tbl_links.lib.php | 2 +- pdf_pages.php | 2 +- querywindow.php | 2 +- tbl_change.php | 2 +- tbl_properties.inc.php | 2 +- test/theme.php | 6 +++--- 20 files changed, 23 insertions(+), 18 deletions(-) rename {libraries => js}/dom-drag.js (100%) mode change 100755 => 100644 rename {libraries => js}/functions.js (100%) rename {libraries => js}/indexes.js (100%) rename {libraries => js}/keyhandler.js (100%) rename {libraries => js}/querywindow.js (100%) rename {libraries => js}/server_privileges.js (100%) rename {libraries => js}/tbl_change.js (100%) rename {libraries => js}/tooltip.js (100%) rename {libraries => js}/user_password.js (100%) diff --git a/ChangeLog b/ChangeLog index e5c0f9310..5a8a4816b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -58,6 +58,11 @@ $Source$ * Documentation.html, tbl_properties.inc.php, transformation_overview.php, libraries/transformations/overview.php (deleted): Move transformation overview out of libraries folder. + * js/*.js, libraries/*.js (deleted), browse_foreigners.php, calendar.php, + header.inc.php, index.php, pdf_pages.php, querywindow.php, + tbl_change.php, tbl_properties.inc.php, + libraries/display_tbl_links.lib.php, test/theme.php: Move javascript + stuff out of libraries folder. 2005-11-22 Sebastian Mendel * added test/theme.php: for testing themes diff --git a/browse_foreigners.php b/browse_foreigners.php index aaecd0e7d..75cb5ba1a 100644 --- a/browse_foreigners.php +++ b/browse_foreigners.php @@ -95,7 +95,7 @@ if (isset($disp_row) && is_array($disp_row)) { /> - + + - + '; //--> - + '; //--> - - + + '; //--> - + //--> - + - diff --git a/index.php b/index.php index d09f5101a..8056ed567 100644 --- a/index.php +++ b/index.php @@ -148,7 +148,7 @@ header('Content-Type: text/html; charset=' . $GLOBALS['charset']); var pma_absolute_uri = ''; //]]> - diff --git a/libraries/dom-drag.js b/js/dom-drag.js old mode 100755 new mode 100644 similarity index 100% rename from libraries/dom-drag.js rename to js/dom-drag.js diff --git a/libraries/functions.js b/js/functions.js similarity index 100% rename from libraries/functions.js rename to js/functions.js diff --git a/libraries/indexes.js b/js/indexes.js similarity index 100% rename from libraries/indexes.js rename to js/indexes.js diff --git a/libraries/keyhandler.js b/js/keyhandler.js similarity index 100% rename from libraries/keyhandler.js rename to js/keyhandler.js diff --git a/libraries/querywindow.js b/js/querywindow.js similarity index 100% rename from libraries/querywindow.js rename to js/querywindow.js diff --git a/libraries/server_privileges.js b/js/server_privileges.js similarity index 100% rename from libraries/server_privileges.js rename to js/server_privileges.js diff --git a/libraries/tbl_change.js b/js/tbl_change.js similarity index 100% rename from libraries/tbl_change.js rename to js/tbl_change.js diff --git a/libraries/tooltip.js b/js/tooltip.js similarity index 100% rename from libraries/tooltip.js rename to js/tooltip.js diff --git a/libraries/user_password.js b/js/user_password.js similarity index 100% rename from libraries/user_password.js rename to js/user_password.js diff --git a/libraries/display_tbl_links.lib.php b/libraries/display_tbl_links.lib.php index 1b7256e9e..b09496c60 100644 --- a/libraries/display_tbl_links.lib.php +++ b/libraries/display_tbl_links.lib.php @@ -6,7 +6,7 @@ // - bugfix for select all checkboxes // - copy right to left (or left to right) if user click on a check box // - reversed the right modify links: 1. drop, 2. edit, 3. checkbox -// - also changes made in libraries/functions.js +// - also changes made in js/functions.js if ( $doWriteModifyAt == 'left' ){ diff --git a/pdf_pages.php b/pdf_pages.php index 439938d01..baa4c1f52 100644 --- a/pdf_pages.php +++ b/pdf_pages.php @@ -303,7 +303,7 @@ if ($cfg['WYSIWYG-PDF']) { $with_field_names = TRUE; } ?> - +
diff --git a/querywindow.php b/querywindow.php index bacd07518..2f02ed8f1 100644 --- a/querywindow.php +++ b/querywindow.php @@ -109,7 +109,7 @@ function resize() { ?> //]]> - + > diff --git a/tbl_change.php b/tbl_change.php index 596ba6dc2..0159e1b32 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -174,7 +174,7 @@ $chg_evt_handler = (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER >= 5) - +