From e2a98da57304b5779a96cc0b6dd30a7f496ed8fe Mon Sep 17 00:00:00 2001 From: wjames5 Date: Thu, 12 Nov 2009 05:09:05 +0000 Subject: Begin module upgrade - read in modules from both old and new locations and process config files during layout editing. Add an upgrade method for packages which upgrade their modules to call to assist people updating their site. Make some use of the new config data to demonstrate possibilities in layout menu. Include one module update in blog pkg to sketch out how configuration file might look. --- admin/admin_layout_inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'admin') diff --git a/admin/admin_layout_inc.php b/admin/admin_layout_inc.php index a544e6d..2e5c884 100644 --- a/admin/admin_layout_inc.php +++ b/admin/admin_layout_inc.php @@ -1,5 +1,5 @@ assign_by_ref( "groups", $groups ); // we need gBitThemes as well $gBitSmarty->assign_by_ref( "gBitThemes", $gBitThemes ); + +$gBitThemes->loadJavascript( THEMES_PKG_PATH.'scripts/BitThemes.js', TRUE ); ?> -- cgit v1.3