diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-05-06 17:19:58 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-05-06 17:19:58 +0000 |
commit | 25c379fb6114ce990d239db607f628e283064a27 (patch) | |
tree | f51f08a211f745e609065899ae73c93a76bb5221 /includes/theme.inc | |
parent | be8e898d23a3f9ca515f59fbcc8d82e112ed7ee8 (diff) | |
download | brdo-25c379fb6114ce990d239db607f628e283064a27.tar.gz brdo-25c379fb6114ce990d239db607f628e283064a27.tar.bz2 |
- Added custom PHP error handler to track down warnings and errors.
(Jeroen: let's sit back and wait until that warning bites again.)
- Simplified drupal.module. We still need a feature list, anyone?
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 8af929744..b7e996342 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -7,7 +7,7 @@ function theme_init() { include_once $themes[$user->theme][0]; } else { - include_once $themes[variable_get(theme_default, key($themes))][0]; + include_once $themes[variable_get("theme_default", key($themes))][0]; } return new Theme(); } @@ -32,7 +32,7 @@ function theme_account($theme) { // Display account settings: $content .= "<LI><A HREF=\"account.php?op=track&topic=comments\">". t("track your comments") ."</A></LI>\n"; $content .= "<LI><A HREF=\"account.php?op=track&topic=nodes\">". t("track your nodes") ."</A></LI>\n"; - $content .= "<LI><A HREF=\"account.php?op=track&topic=site\">". strtr(t("track %a"), array("%a" => variable_get(site_name, "drupal"))) ."</A></LI>\n"; + $content .= "<LI><A HREF=\"account.php?op=track&topic=site\">". strtr(t("track %a"), array("%a" => variable_get("site_name", "drupal"))) ."</A></LI>\n"; $content .= "<P>\n"; $content .= "<LI><A HREF=\"account.php?op=edit&topic=user\">". t("edit your information") ."</A></LI>\n"; $content .= "<LI><A HREF=\"account.php?op=edit&topic=site\">". t("edit your preferences") ."</A></LI>\n"; @@ -40,7 +40,7 @@ function theme_account($theme) { $content .= "<P>\n"; if (user_access($user)) { - $content .= "<LI><A HREF=\"admin.php\">administer ". variable_get(site_name, "drupal") ."</A></LI>\n"; + $content .= "<LI><A HREF=\"admin.php\">administer ". variable_get("site_name", "drupal") ."</A></LI>\n"; $content .= "<P>\n"; } |