From 685a5ca1e1b94cc1a817d699f4223d139689f7cb Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 22 Dec 2008 04:32:23 +0000 Subject: Support proper rendering of locked modules, add a submit button, point it at admin/modules/save --- core/controllers/admin_modules.php | 4 ++++ core/views/admin_modules.html.php | 38 ++++++++++++++++++++++---------------- 2 files changed, 26 insertions(+), 16 deletions(-) (limited to 'core') diff --git a/core/controllers/admin_modules.php b/core/controllers/admin_modules.php index 12686f87..a9769ba6 100644 --- a/core/controllers/admin_modules.php +++ b/core/controllers/admin_modules.php @@ -23,5 +23,9 @@ class Admin_Modules_Controller extends Admin_Controller { $view->available = module::available(); return $view; } + + public function save() { + // Nothing yet + } } diff --git a/core/views/admin_modules.html.php b/core/views/admin_modules.html.php index d0a0f613..8d7f3c4f 100644 --- a/core/views/admin_modules.html.php +++ b/core/views/admin_modules.html.php @@ -1,19 +1,25 @@
- - - - - - - - $module_info): ?> - - - - - - - -
+
"> + + + + + + + + + $module_info): ?> + + $module_name); ?> + locked) $data["disabled"] = 1; ?> + + + + + + +
name) ?> version ?> description) ?>
+ "/> +
-- cgit v1.2.3