From 8be81134528bdb0c791910b0fa509e6662f093d1 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 27 Feb 2009 15:09:14 +0000 Subject: Enable all / disable all functionality added git-svn-id: https://code.elgg.org/elgg/trunk@2982 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/plugins.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'views/default/admin') diff --git a/views/default/admin/plugins.php b/views/default/admin/plugins.php index fb319d436..cf62be6d1 100644 --- a/views/default/admin/plugins.php +++ b/views/default/admin/plugins.php @@ -11,8 +11,14 @@ * @link http://elgg.org/ */ + global $CONFIG; + + $ts = time(); + $token = generate_action_token($ts); + // Description of what's going on - echo "
" . autop(elgg_echo("admin:plugins:description")) . "
"; + $buttons = " url}action/admin/plugins/enableall?__elgg_token=$token&__elgg_ts=$ts\">".elgg_echo('enableall')." url}action/admin/plugins/disableall?__elgg_token=$token&__elgg_ts=$ts\">".elgg_echo('disableall')." "; + echo "
" . autop(elgg_echo("admin:plugins:description")) . $buttons . "
"; $limit = get_input('limit', 10); $offset = get_input('offset', 0); -- cgit v1.2.3