aboutsummaryrefslogtreecommitdiff
path: root/mod/uservalidationbyemail
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2011-11-02 15:56:45 +0100
committerSem <sembrestels@riseup.net>2011-11-02 15:56:45 +0100
commit0db0b0578728e30b990123cad1e15bd71acfdbaf (patch)
tree948a600a280e6f1c98882686198136454c54358d /mod/uservalidationbyemail
parent60d0fea854a54f4647e5cc89a41dd7148e4cd7c2 (diff)
downloadelgg-0db0b0578728e30b990123cad1e15bd71acfdbaf.tar.gz
elgg-0db0b0578728e30b990123cad1e15bd71acfdbaf.tar.bz2
Refs #3867. elgg_view_image_block used for list users. Bulk operations as a list.
Diffstat (limited to 'mod/uservalidationbyemail')
-rw-r--r--mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php6
-rw-r--r--mod/uservalidationbyemail/views/default/uservalidationbyemail/css.php11
-rw-r--r--mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php19
3 files changed, 26 insertions, 10 deletions
diff --git a/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php b/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php
index bc4d33c6a..4d829778a 100644
--- a/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php
+++ b/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php
@@ -78,9 +78,9 @@ $delete = elgg_view('output/url', array(
$bulk_actions = <<<___END
<div class="uvbe_bulk_actions pas">
- <div class="uvbe_admin_controls right">
- $resend_email | $validate | $delete
- </div>
+ <ul class="uvbe_admin_controls right">
+ <li>$resend_email</li><li>$validate</li><li>$delete</li>
+ </ul>
$bulk_actions_checkbox
</div>
diff --git a/mod/uservalidationbyemail/views/default/uservalidationbyemail/css.php b/mod/uservalidationbyemail/views/default/uservalidationbyemail/css.php
index 11f1aa18b..f7a1da12d 100644
--- a/mod/uservalidationbyemail/views/default/uservalidationbyemail/css.php
+++ b/mod/uservalidationbyemail/views/default/uservalidationbyemail/css.php
@@ -5,3 +5,14 @@
.right {
float: right;
}
+
+.uservalidationbyemail_unvalidated_controls li, .uvbe_admin_controls li {
+ display: inline;
+ border-right: solid 1px;
+ padding: 0 4px 0 4px;
+}
+
+.uservalidationbyemail_unvalidated_controls li:last-child, .uvbe_admin_controls li:last-child {
+ border: 0;
+ padding-right: 0;
+}
diff --git a/mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php b/mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php
index 9d2f47139..af4545907 100644
--- a/mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php
+++ b/mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php
@@ -36,16 +36,21 @@ $delete = elgg_view('output/confirmlink', array(
'text' => elgg_echo('uservalidationbyemail:admin:delete')
));
-?>
-
+$block = <<<___END
<div class="admin_settings radius8 pas baa">
- <?php echo $checkbox; ?><br />
+ $checkbox<br />
- <div class="uservalidationbyemail_unvalidated_controls right">
- <?php echo "$resend_email | $validate | $delete"; ?>
- </div>
+ <ul class="uservalidationbyemail_unvalidated_controls right">
+ <li>$resend_email</li><li>$validate</li><li>$delete</li>
+ </ul>
<div class="uservalidationbyemail_unvalidated_user_details mll small">
- <?php echo $created; ?>
+ $created
</div>
</div>
+___END;
+
+echo elgg_view_image_block('', $block);
+
+?>
+