Page 1 of 1

Error in front.func.inc.php

Posted: Thu 9. Dec 2004, 11:35
by rushclub
I have found a small bug in front.func.inc.php. It concerns the body tag. the code looks like this at the moment:

Code: Select all

		if(!$values["layout_noborder"]) {
			$body .= add_attribute($body, "topmargin", $values["layout_border_top"]);
			$body .= add_attribute($body, "leftmargin", $values["layout_border_left"]);
			$body .= add_attribute($body, "marginwidth", $values["layout_border_right"]);
			$body .= add_attribute($body, "marginheight", $values["layout_border_bottom"]);
but must be look like this to have top- and leftmargin shown up in mozilla browsers:

Code: Select all

		if(!$values["layout_noborder"]) {
			$body .= add_attribute($body, "topmargin", $values["layout_border_top"]);
			$body .= add_attribute($body, "leftmargin", $values["layout_border_left"]);
			$body .= add_attribute($body, "marginwidth", $values["layout_border_left"]);
			$body .= add_attribute($body, "marginheight", $values["layout_border_top"]);
am i right, or do i have understand something wrong?

cheers
rushclub