summaryrefslogtreecommitdiff
path: root/plugins/UserFlag/adminprofileflag.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-26 18:46:11 +0000
committerSarven Capadisli <csarven@status.net>2009-11-26 18:46:11 +0000
commit5f5a107991478824133c6e0d67aeb1a7efb8e213 (patch)
treef47a7b686b37a4fc389191e936fc1475d87682cc /plugins/UserFlag/adminprofileflag.php
parentb4ad7d1a237ba5af75a0cf5bc00cc223ff3b7e26 (diff)
Init UI to show/hide a group of moderation actions.
Diffstat (limited to 'plugins/UserFlag/adminprofileflag.php')
-rw-r--r--plugins/UserFlag/adminprofileflag.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/UserFlag/adminprofileflag.php b/plugins/UserFlag/adminprofileflag.php
index 1ac76b506..20b808637 100644
--- a/plugins/UserFlag/adminprofileflag.php
+++ b/plugins/UserFlag/adminprofileflag.php
@@ -145,10 +145,15 @@ class FlaggedProfileListItem extends ProfileListItem
$this->startActions();
if (Event::handle('StartProfileListItemActionElements', array($this))) {
+ $this->out->elementStart('li', 'entity_moderation');
+ $this->out->element('p', null, _('Moderate'));
+ $this->out->elementStart('ul');
$this->showSandboxButton();
$this->showSilenceButton();
$this->showDeleteButton();
$this->showClearButton();
+ $this->out->elementEnd('ul');
+ $this->out->elementEnd('li');
Event::handle('EndProfileListItemActionElements', array($this));
}
$this->endActions();