aboutsummaryrefslogtreecommitdiff
path: root/languages
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-09 14:21:48 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-09 14:21:48 +0000
commite90692bc720cf4c520ee36c603395cf1e1b80b45 (patch)
tree63cb37887110ff6c782b65da036b7e74b6b08884 /languages
parent6588ff3eb201cb9d9834323e670771daa87696c0 (diff)
downloadelgg-e90692bc720cf4c520ee36c603395cf1e1b80b45.tar.gz
elgg-e90692bc720cf4c520ee36c603395cf1e1b80b45.tar.bz2
Closes #668: Banning now works through a flag in the users_entity table. Database upgrade required.
* Added ElggUser::isBanned(); * Added 'banned' column to users_entity * Modified ban() and unban() * Modified pam functions to check $user->isBanned() * Modified login() to check $user->isBanned() * Modified sessions_init() to check isBanned() and destroy session accordingly * Modified profile views to highlight banned users and prevent menus for non-admin users. git-svn-id: https://code.elgg.org/elgg/trunk@2554 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'languages')
-rw-r--r--languages/en.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/languages/en.php b/languages/en.php
index 4f07528d3..feb882f28 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -241,6 +241,7 @@ To remove a widget drag it back to the <b>Widget gallery</b>.",
'item:user' => "Users",
'riveritem:single:user' => 'a user',
'riveritem:plural:user' => 'some users',
+
/**
* Profile menu items and titles
@@ -271,6 +272,8 @@ To remove a widget drag it back to the <b>Widget gallery</b>.",
'profile:phone' => "Telephone",
'profile:mobile' => "Mobile phone",
'profile:website' => "Website",
+
+ 'profile:banned' => 'This user account has been suspended.',
'profile:river:update' => "%s updated their profile",
'profile:river:iconupdate' => "%s updated their profile icon",