diff options
-rw-r--r-- | engine/lib/access.php | 2 | ||||
-rw-r--r-- | languages/en.php | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php index 46e8b2e77..e39a9f165 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -119,6 +119,8 @@ $tmp_access_array[$group->id] = elgg_echo($group->name);
}
+ $tmp_access_array = trigger_plugin_hook('access','user',array('user_id' => $user_id, 'site_id' => $site_id),$tmp_access_array);
+
$access_array[$user_id] = $tmp_access_array;
}
diff --git a/languages/en.php b/languages/en.php index 2a5b21086..1e3f34885 100644 --- a/languages/en.php +++ b/languages/en.php @@ -34,6 +34,14 @@ 'passwordagain' => "Password (again for verification)",
/**
+ * Access
+ */
+
+ 'PRIVATE' => "Private",
+ 'LOGGED_IN' => "Logged in users",
+ 'PUBLIC' => "Public",
+
+ /**
* Dashboard
*/
|