Commit 1175fb2cd451a2e9414f627a09da17dd6fa7930f

Authored by michael
1 parent d4b6b936

removed background color method


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1325 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/visualpatterns/PatternTableLinks.inc
@@ -46,15 +46,6 @@ class PatternTableLinks { @@ -46,15 +46,6 @@ class PatternTableLinks {
46 $this->iColumns = $iNewColumns; 46 $this->iColumns = $iNewColumns;
47 $this->iLinkType = $iNewLinkType; 47 $this->iLinkType = $iNewLinkType;
48 } 48 }
49 -  
50 - /**  
51 - * Sets the background colour  
52 - *  
53 - * @param string the colour to set  
54 - */  
55 - function setBackGroundColor($sColor) {  
56 - $this->sBackGroundColor = $sColor;  
57 - }  
58 49
59 /** 50 /**
60 * Build the HTML string used to render the object 51 * Build the HTML string used to render the object
@@ -70,7 +61,7 @@ class PatternTableLinks { @@ -70,7 +61,7 @@ class PatternTableLinks {
70 for ($i = 0; $i < $this->iRows; $i++) { 61 for ($i = 0; $i < $this->iRows; $i++) {
71 $sToRender = $sToRender . "<tr >\n"; 62 $sToRender = $sToRender . "<tr >\n";
72 for ($j = 0; $j < $this->iColumns; $j++) { 63 for ($j = 0; $j < $this->iColumns; $j++) {
73 - $sToRender = $sToRender . "<td cellspacing = \"20\" width =\"100%\"" . (isset($this->sBackGroundColor) ? " bgcolor=\"" . $this->sBackGroundColor . "\"" : "") . ">"; 64 + $sToRender = $sToRender . "<td cellspacing = \"20\" width =\"100%\">";
74 if ($iArrayCount < $iArraySize) { 65 if ($iArrayCount < $iArraySize) {
75 $sToRender = $sToRender . ((strlen($this->aLinks[$iArrayCount]) > 0) ? "<a href=\"" . $this->aLinks[$iArrayCount] . "\" />" : ""); 66 $sToRender = $sToRender . ((strlen($this->aLinks[$iArrayCount]) > 0) ? "<a href=\"" . $this->aLinks[$iArrayCount] . "\" />" : "");
76 if ($this->iLinkType == TEXT) { 67 if ($this->iLinkType == TEXT) {