From 8213f5b2627a6b63db9f84b572918bd7e3254dff Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 6 Apr 2001 14:14:16 +0000 Subject: A lot of small changes (search-n-replace) make a big commit: - fixed update bug in book.module - provide a log message when both adding and updating book pages - all configurable variables are now accessed through "variable_get()": - rewrote watchdog and submission throttle and removed watchdog.inc - improved robustness of sections.inc - imporved story.module - updated ./database/database.sql --- includes/theme.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/theme.inc') diff --git a/includes/theme.inc b/includes/theme.inc index ad2bbeebb..c973868b4 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -28,7 +28,7 @@ function theme_menu($name, $module) { } function theme_account($theme) { - global $user, $site_name, $links, $menu; + global $user, $links, $menu; if ($user->id) { @@ -38,7 +38,7 @@ function theme_account($theme) { // Display account settings: $content .= "
  • ". t("track your comments") ."
  • \n"; $content .= "
  • ". t("track your nodes") ."
  • \n"; - $content .= "
  • ". strtr(t("track %a"), array("%a" => $site_name)) ."
  • \n"; + $content .= "
  • ". strtr(t("track %a"), array("%a" => variable_get(site_name, "drupal"))) ."
  • \n"; $content .= "

    \n"; $content .= "

  • ". t("edit your information") ."
  • \n"; $content .= "
  • ". t("edit your preferences") ."
  • \n"; @@ -46,7 +46,7 @@ function theme_account($theme) { $content .= "

    \n"; if (user_access($user)) { - $content .= "

  • administer ". $site_name ."
  • \n"; + $content .= "
  • administer ". variable_get(site_name, "drupal") ."
  • \n"; $content .= "

    \n"; } -- cgit v1.2.3