From 5c6122b4cef676f672fe874a8c5de453d3ab937b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 28 Apr 2002 09:53:55 +0000 Subject: - Renamed "settings and filters" to "site configuration": you might have to update your user's permissions. --- modules/system/system.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/system/system.module') 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 "".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"))."
\n"; -- cgit v1.2.3