diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-15 13:44:13 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-15 13:44:13 +0000 |
commit | d05cdc91a9e1018af34c8eb63b0c8ef27246cea3 (patch) | |
tree | abdc8920605b60d7703fed913fa795841ae64ffc /views/default/admin/plugins.php | |
parent | 514afb57ceb65ef6109f7bc60181a0aa45b8f950 (diff) | |
download | elgg-d05cdc91a9e1018af34c8eb63b0c8ef27246cea3.tar.gz elgg-d05cdc91a9e1018af34c8eb63b0c8ef27246cea3.tar.bz2 |
Updates to Admin area UI.
git-svn-id: http://code.elgg.org/elgg/trunk@5402 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin/plugins.php')
-rw-r--r-- | views/default/admin/plugins.php | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/views/default/admin/plugins.php b/views/default/admin/plugins.php index 70e5d2683..465b019f6 100644 --- a/views/default/admin/plugins.php +++ b/views/default/admin/plugins.php @@ -13,9 +13,18 @@ global $CONFIG; $ts = time(); $token = generate_action_token($ts); -// Description of what's going on -$buttons = " <a class='enableallplugins' href=\"{$CONFIG->url}action/admin/plugins/enableall?__elgg_token=$token&__elgg_ts=$ts\">".elgg_echo('enableall')."</a> <a class='disableallplugins' href=\"{$CONFIG->url}action/admin/plugins/disableall?__elgg_token=$token&__elgg_ts=$ts\">".elgg_echo('disableall')."</a> "; -echo $buttons . elgg_view('output/longtext', array('value' => elgg_echo("admin:plugins:description"))); +// Page Header elements +$title = elgg_view_title(elgg_echo('admin:plugins')); +$buttons = "<a class='action_button' href=\"{$CONFIG->url}action/admin/plugins/enableall?__elgg_token=$token&__elgg_ts=$ts\">".elgg_echo('enableall')."</a> <a class='action_button disabled' href=\"{$CONFIG->url}action/admin/plugins/disableall?__elgg_token=$token&__elgg_ts=$ts\">".elgg_echo('disableall')."</a> "; + +// construct page header +?> +<div id="content_header" class="clearfloat"> + <div class="content_header_title"><?php echo $title ?></div> + <div class="content_header_options"><?php echo $buttons ?></div> +</div> +<?php +echo elgg_view('output/longtext', array('value' => elgg_echo("admin:plugins:description"))); $limit = get_input('limit', 10); $offset = get_input('offset', 0); |