diff options
author | Sem <sembrestels@riseup.net> | 2011-11-02 15:24:04 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2011-11-02 15:24:04 +0100 |
commit | 60d0fea854a54f4647e5cc89a41dd7148e4cd7c2 (patch) | |
tree | 8ac2be46b83f3ed49f0cce20ed2c1c6cd48c4b5e /mod/uservalidationbyemail/views/default/forms/uservalidationbyemail | |
parent | 9fa1a7b0b1dd363d16784707bcbb9c3e7c85966f (diff) | |
download | elgg-60d0fea854a54f4647e5cc89a41dd7148e4cd7c2.tar.gz elgg-60d0fea854a54f4647e5cc89a41dd7148e4cd7c2.tar.bz2 |
Fixes #3867. Rewrite and style unvalidated users administration area.
Diffstat (limited to 'mod/uservalidationbyemail/views/default/forms/uservalidationbyemail')
-rw-r--r-- | mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php b/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php index 0e1461058..bc4d33c6a 100644 --- a/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php +++ b/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php @@ -46,8 +46,6 @@ $pagination = elgg_view('navigation/pagination',array( 'limit' => $limit, )); -echo $pagination; - $bulk_actions_checkbox = '<label><input type="checkbox" class="unvalidated-users-checkall" />' . elgg_echo('uservalidationbyemail:check_all') . '</label>'; @@ -79,8 +77,8 @@ $delete = elgg_view('output/url', array( )); $bulk_actions = <<<___END -<div class="uvbe_bulk_actions"> - <div class="uvbe_admin_controls"> +<div class="uvbe_bulk_actions pas"> + <div class="uvbe_admin_controls right"> $resend_email | $validate | $delete </div> @@ -90,15 +88,24 @@ ___END; //$bulk_actions = elgg_view('page_elements/contentwrapper', array('body' => $bulk_actions)); -echo $bulk_actions; - - +$list = ''; foreach ($users as $user) { - echo elgg_view('uservalidationbyemail/unvalidated_user', array('user' => $user)); + $list .= elgg_view('uservalidationbyemail/unvalidated_user', array('user' => $user)); } +echo <<<___END +<div class="elgg-module elgg-module-inline"> + <div class="elgg-head"> + $bulk_actions + </div> + <div class="elgg-body"> + $list + </div> +</div> +___END; + if ($count > 5) { echo $bulk_actions; } -echo $pagination;
\ No newline at end of file +echo $pagination; |