aboutsummaryrefslogtreecommitdiff
path: root/mod/uservalidationbyemail/views/default/forms
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-05 18:33:41 -0400
committercash <cash.costello@gmail.com>2011-11-05 18:33:41 -0400
commiteeade2d2716826b419c1ca67a62a102017c31b02 (patch)
tree1b5001f6586f8ed16789cacc36d7f77a3a61f846 /mod/uservalidationbyemail/views/default/forms
parentfd0ac5e091e0387da5f909a523f24a684e813d46 (diff)
downloadelgg-eeade2d2716826b419c1ca67a62a102017c31b02.tar.gz
elgg-eeade2d2716826b419c1ca67a62a102017c31b02.tar.bz2
Fixes #3867 finished up uservalidationbyemail styling after a great start by Sem
Diffstat (limited to 'mod/uservalidationbyemail/views/default/forms')
-rw-r--r--mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php18
1 files changed, 7 insertions, 11 deletions
diff --git a/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php b/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php
index 036336734..2afd6022d 100644
--- a/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php
+++ b/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php
@@ -46,14 +46,14 @@ $pagination = elgg_view('navigation/pagination',array(
'limit' => $limit,
));
-$bulk_actions_checkbox = '<label><input type="checkbox" class="uservalidationbyemail-unvalidated-users-checkall" />'
+$bulk_actions_checkbox = '<label><input type="checkbox" id="uservalidationbyemail-checkall" />'
. elgg_echo('uservalidationbyemail:check_all') . '</label>';
$validate = elgg_view('output/url', array(
'href' => 'action/uservalidationbyemail/validate/',
'text' => elgg_echo('uservalidationbyemail:admin:validate'),
'title' => elgg_echo('uservalidationbyemail:confirm_validate_checked'),
- 'class' => 'uservalidationbyemail-unvalidated-users-bulk-post',
+ 'class' => 'uservalidationbyemail-submit',
'is_action' => true,
'is_trusted' => true,
));
@@ -62,7 +62,7 @@ $resend_email = elgg_view('output/url', array(
'href' => 'action/uservalidationbyemail/resend_validation/',
'text' => elgg_echo('uservalidationbyemail:admin:resend_validation'),
'title' => elgg_echo('uservalidationbyemail:confirm_resend_validation_checked'),
- 'class' => 'uservalidationbyemail-unvalidated-users-bulk-post',
+ 'class' => 'uservalidationbyemail-submit',
'is_action' => true,
'is_trusted' => true,
));
@@ -71,25 +71,21 @@ $delete = elgg_view('output/url', array(
'href' => 'action/uservalidationbyemail/delete/',
'text' => elgg_echo('uservalidationbyemail:admin:delete'),
'title' => elgg_echo('uservalidationbyemail:confirm_delete_checked'),
- 'class' => 'uservalidationbyemail-unvalidated-users-bulk-post',
+ 'class' => 'uservalidationbyemail-submit',
'is_action' => true,
'is_trusted' => true,
));
$bulk_actions = <<<___END
-<div class="uservalidationbyemail-bulk-actions pas">
- <ul class="uservalidationbyemail-controls right">
+ <ul class="elgg-menu elgg-menu-general elgg-menu-hz float-alt">
<li>$resend_email</li><li>$validate</li><li>$delete</li>
</ul>
$bulk_actions_checkbox
-</div>
___END;
-//$bulk_actions = elgg_view('page_elements/contentwrapper', array('body' => $bulk_actions));
-
if (is_array($users) && count($users) > 0) {
- $html = '<ul class="elgg-list uservalidationbyemail-unvalidated-user-list">';
+ $html = '<ul class="elgg-list elgg-list-distinct">';
foreach ($users as $user) {
$html .= "<li id=\"unvalidated-user-{$user->guid}\" class=\"elgg-item uservalidationbyemail-unvalidated-user-item\">";
$html .= elgg_view('uservalidationbyemail/unvalidated_user', array('user' => $user));
@@ -99,7 +95,7 @@ if (is_array($users) && count($users) > 0) {
}
echo <<<___END
-<div class="elgg-module elgg-module-inline">
+<div class="elgg-module elgg-module-inline uservalidation-module">
<div class="elgg-head">
$bulk_actions
</div>