Skip to content
Snippets Groups Projects
Commit 7c58daf7 authored by Kjartan Mannes's avatar Kjartan Mannes
Browse files

- adding missing $bacground/$foreground variables.

parent 7ac1ae2a
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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 @@ function header($title = "") {
}
function links($links, $delimiter = " | ") {
return @implode($delimiter, $links);
return implode($delimiter, $links);
}
function image($name) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment