Commit 5c6122b4 authored by Dries's avatar Dries

- Renamed "settings and filters" to "site configuration": you might have to
  update your user's permissions.
parent 3eb55eae
......@@ -9,7 +9,7 @@ function statistics_help() {
$output .= "<p>The statistics module gathers and presents useful log information from your Drupal site. Currently, the statistics module is limited to internal and external referrals display, but other analysis capabilities might be added in future.</p>";
$output .= "<p>1. The external referrer log indicates which other sites are linking your website and how many visitors they refer. Each link made to your site - when a user on another site clicks on a link to your site - generates a referral entry in the log.</p>";
$output .= "<p>2. The internal referrer log indicates the referrals within the domain of your site. This log is useful for assessing and evaluating the structure of your website, to learn which pages are being accessed, and to gain insight into the way users are navigating your site.</p>";
$output .= "<p>Drupal automatically rotates the referrer logs after a set period of time. The life-time of the accumulated data can be configured via the settings and filters option under site administration.</p>";
$output .= "<p>Drupal automatically rotates the referrer logs after a set period of time. The life-time of the accumulated data can be configured via the <i>site configuration</i> option under site administration.</p>";
$output .= "<p>Warning: Drupal gets the referrer information from the HTTP_REFERER environment variable. This is not always set properly by web browsers.</p>";
return $output;
}
......
......@@ -9,7 +9,7 @@ function statistics_help() {
$output .= "<p>The statistics module gathers and presents useful log information from your Drupal site. Currently, the statistics module is limited to internal and external referrals display, but other analysis capabilities might be added in future.</p>";
$output .= "<p>1. The external referrer log indicates which other sites are linking your website and how many visitors they refer. Each link made to your site - when a user on another site clicks on a link to your site - generates a referral entry in the log.</p>";
$output .= "<p>2. The internal referrer log indicates the referrals within the domain of your site. This log is useful for assessing and evaluating the structure of your website, to learn which pages are being accessed, and to gain insight into the way users are navigating your site.</p>";
$output .= "<p>Drupal automatically rotates the referrer logs after a set period of time. The life-time of the accumulated data can be configured via the settings and filters option under site administration.</p>";
$output .= "<p>Drupal automatically rotates the referrer logs after a set period of time. The life-time of the accumulated data can be configured via the <i>site configuration</i> option under site administration.</p>";
$output .= "<p>Warning: Drupal gets the referrer information from the HTTP_REFERER environment variable. This is not always set properly by web browsers.</p>";
return $output;
}
......
......@@ -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";
......
......@@ -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";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment