summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-04-28 09:53:55 +0000
committerDries Buytaert <dries@buytaert.net>2002-04-28 09:53:55 +0000
commit5c6122b4cef676f672fe874a8c5de453d3ab937b (patch)
treebac0e57260ea2bd8dd967997afd2bbd284c5bca7 /modules/system/system.module
parent3eb55eae7192dcabe9e1cc98904e3988dafdc368 (diff)
downloadbrdo-5c6122b4cef676f672fe874a8c5de453d3ab937b.tar.gz
brdo-5c6122b4cef676f672fe874a8c5de453d3ab937b.tar.bz2
- Renamed "settings and filters" to "site configuration": you might have to
update your user's permissions.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index bc625b318..e2bfb238f 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -24,12 +24,12 @@ function system_help_cron() {
}
function system_perm() {
- return array("administer settings and filters", "access administration pages");
+ return array("administer site configuration", "access administration pages");
}
function system_link($type) {
- if ($type == "admin" && user_access("administer settings and filters")) {
- $links[] = la(t("settings and filters"), array("mod" => "system"));
+ if ($type == "admin" && user_access("administer site configuration")) {
+ $links[] = la(t("site configuration"), array("mod" => "system"));
}
/*if ($type == "admin" && user_access("administer modules and themes")) {
@@ -246,7 +246,7 @@ function system_themes() {
function system_admin() {
global $edit, $op, $type;
- if (user_access("administer settings and filters")) {
+ if (user_access("administer site configuration")) {
print "<small>".la(t("site settings"), array("mod" => "system", "type" => "options"))." | ".la(t("content filters"), array("mod" => "system", "type" => "filter"))." | ".la(t("modules"), array("mod" => "system", "op" => "modules"))." | ".la(t("themes"), array("mod" => "system", "op" => "themes"))." | ".la(t("help"), array("mod" => "system", "op" => "help"))."</small><hr />\n";