diff --git a/lib/visualpatterns/PatternTableLinks.inc b/lib/visualpatterns/PatternTableLinks.inc index 9857d5f..687d216 100644 --- a/lib/visualpatterns/PatternTableLinks.inc +++ b/lib/visualpatterns/PatternTableLinks.inc @@ -46,15 +46,6 @@ class PatternTableLinks { $this->iColumns = $iNewColumns; $this->iLinkType = $iNewLinkType; } - - /** - * Sets the background colour - * - * @param string the colour to set - */ - function setBackGroundColor($sColor) { - $this->sBackGroundColor = $sColor; - } /** * Build the HTML string used to render the object @@ -70,7 +61,7 @@ class PatternTableLinks { for ($i = 0; $i < $this->iRows; $i++) { $sToRender = $sToRender . "\n"; for ($j = 0; $j < $this->iColumns; $j++) { - $sToRender = $sToRender . "sBackGroundColor) ? " bgcolor=\"" . $this->sBackGroundColor . "\"" : "") . ">"; + $sToRender = $sToRender . ""; if ($iArrayCount < $iArraySize) { $sToRender = $sToRender . ((strlen($this->aLinks[$iArrayCount]) > 0) ? "aLinks[$iArrayCount] . "\" />" : ""); if ($this->iLinkType == TEXT) {