summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-11-10 06:44:53 -0800
committerBrion Vibber <brion@pobox.com>2009-11-10 06:44:53 -0800
commit333c376c955fd2513ea168d712223f033db73356 (patch)
tree371f4e8399aa0ea44f2d30ae11d7d777ed812ee9 /plugins
parent088081675fb7d5250a9b9dfe5015de0822cb5ac2 (diff)
parent069d3f2b2f912f2e7d2289bc58270341c9b1ecc5 (diff)
Merge remote branch 'statusnet/0.9.x' into 0.9.x
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Ldap/LdapPlugin.php11
-rw-r--r--plugins/UserFlag/UserFlagPlugin.php3
-rw-r--r--plugins/UserFlag/flag.gifbin0 -> 80 bytes
3 files changed, 12 insertions, 2 deletions
diff --git a/plugins/Ldap/LdapPlugin.php b/plugins/Ldap/LdapPlugin.php
index 755562f54..3795ffd7f 100644
--- a/plugins/Ldap/LdapPlugin.php
+++ b/plugins/Ldap/LdapPlugin.php
@@ -102,4 +102,15 @@ class LdapPlugin extends Plugin
//return false, indicating that the event has been handled
return false;
}
+
+ function onCanUserChangeField($nickname, $field)
+ {
+ switch($field)
+ {
+ case 'password':
+ case 'nickname':
+ case 'email':
+ return false;
+ }
+ }
}
diff --git a/plugins/UserFlag/UserFlagPlugin.php b/plugins/UserFlag/UserFlagPlugin.php
index 2376bb859..fe4a74869 100644
--- a/plugins/UserFlag/UserFlagPlugin.php
+++ b/plugins/UserFlag/UserFlagPlugin.php
@@ -102,8 +102,7 @@ class UserFlagPlugin extends Plugin
$action->elementStart('li', 'entity_flag');
if (User_flag_profile::exists($profile->id, $user->id)) {
- $action->element('p', array(),
- _('Flagged for review'));
+ $action->element('p', 'flagged', _('Flagged'));
} else {
$form = new FlagProfileForm($action, $profile,
array('action' => 'showstream',
diff --git a/plugins/UserFlag/flag.gif b/plugins/UserFlag/flag.gif
new file mode 100644
index 000000000..68c8aee25
--- /dev/null
+++ b/plugins/UserFlag/flag.gif
Binary files differ