diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-06-12 12:33:27 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-06-12 12:33:27 +0000 |
commit | 7c58daf7c3b249bc8ee1d6d95079ba32b84865a0 (patch) | |
tree | c99c2035a3138791da2b23ff25bc16a7ba477bcb /includes/theme.inc | |
parent | 7ac1ae2aa68440436f78811318d33c5b53a35212 (diff) | |
download | brdo-7c58daf7c3b249bc8ee1d6d95079ba32b84865a0.tar.gz brdo-7c58daf7c3b249bc8ee1d6d95079ba32b84865a0.tar.bz2 |
- adding missing $bacground/$foreground variables.
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 11d2c82e9..e04569161 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -7,17 +7,19 @@ * @package theme system */ class BaseTheme { + var $background = "#ffffff"; + var $foreground = "#000000"; function system($field) { - $system["name"] = "I need a name o'wise one!"; - $system["author"] = "What is your name master?"; - $system["description"] = "What am I mighty one?"; + $system["name"] = "Basic theme"; + $system["author"] = "Drupal"; + $system["description"] = "Basic theme. Lynx friendly"; return $system[$field]; } function header($title = "") { - $output .= "<html><head><title>". variable_get(site_name, "drupal") ."</title></head><body>"; + $output .= "<html><head><title>". variable_get(site_name, "drupal") ."</title></head><body bgcolor=\"$this->background\" text=\"$this->foreground\">"; $output .= "<table border=\"0\" cellspacing=\"4\" cellpadding=\"4\"><tr><td valign=\"top\" width=\"170\">"; print $output; @@ -27,7 +29,7 @@ class BaseTheme { } function links($links, $delimiter = " | ") { - return @implode($delimiter, $links); + return implode($delimiter, $links); } function image($name) { |