From 6c0ebe7530ac5a03e6ea79d158b8663fe23bcf7b Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Mon, 22 Jan 2007 12:11:49 +0000 Subject: [PATCH] Moved drag+drop and YahooUI library into templates/default/ to be used in shared installation environments --- docs/NEWS | 3 +++ include/admin/plugins.inc.php | 2 +- .../default}/YahooUI/treeview/YAHOO.js | 0 .../default}/YahooUI/treeview/license.txt | 0 .../default}/YahooUI/treeview/treeview.js | 0 templates/default/admin/media_choose.tpl | 8 ++++---- {bundled-libs => templates/default}/dragdrop.js | 0 {bundled-libs => templates/default}/imgedit.js | 0 8 files changed, 8 insertions(+), 5 deletions(-) rename {bundled-libs => templates/default}/YahooUI/treeview/YAHOO.js (100%) rename {bundled-libs => templates/default}/YahooUI/treeview/license.txt (100%) rename {bundled-libs => templates/default}/YahooUI/treeview/treeview.js (100%) rename {bundled-libs => templates/default}/dragdrop.js (100%) rename {bundled-libs => templates/default}/imgedit.js (100%) diff --git a/docs/NEWS b/docs/NEWS index 6b64436f..0efadfdc 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 1.2 () ------------------------------------------------------------------------ + * Moved drag+drop and YahooUI library into templates/default/ to + be used in shared installation environments (garvinhicking) + * Improve WP importer by only fetching real posts (attachments/static only optional) and splitting a post into extended/normal entry. Thanks to jtb! diff --git a/include/admin/plugins.inc.php b/include/admin/plugins.inc.php index beab2c8d..baa669f5 100644 --- a/include/admin/plugins.inc.php +++ b/include/admin/plugins.inc.php @@ -472,7 +472,7 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
'; + echo ''; echo '
' . PREFERENCE_USE_JS_WARNING . '
'; } diff --git a/bundled-libs/YahooUI/treeview/YAHOO.js b/templates/default/YahooUI/treeview/YAHOO.js similarity index 100% rename from bundled-libs/YahooUI/treeview/YAHOO.js rename to templates/default/YahooUI/treeview/YAHOO.js diff --git a/bundled-libs/YahooUI/treeview/license.txt b/templates/default/YahooUI/treeview/license.txt similarity index 100% rename from bundled-libs/YahooUI/treeview/license.txt rename to templates/default/YahooUI/treeview/license.txt diff --git a/bundled-libs/YahooUI/treeview/treeview.js b/templates/default/YahooUI/treeview/treeview.js similarity index 100% rename from bundled-libs/YahooUI/treeview/treeview.js rename to templates/default/YahooUI/treeview/treeview.js diff --git a/templates/default/admin/media_choose.tpl b/templates/default/admin/media_choose.tpl index 5b7cf470..00c451b3 100644 --- a/templates/default/admin/media_choose.tpl +++ b/templates/default/admin/media_choose.tpl @@ -46,12 +46,12 @@ - - + + {/if} - - + +