Commit 1175fb2cd451a2e9414f627a09da17dd6fa7930f
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
Showing
1 changed file
with
1 additions
and
10 deletions
lib/visualpatterns/PatternTableLinks.inc
| ... | ... | @@ -46,15 +46,6 @@ class PatternTableLinks { |
| 46 | 46 | $this->iColumns = $iNewColumns; |
| 47 | 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 | 51 | * Build the HTML string used to render the object |
| ... | ... | @@ -70,7 +61,7 @@ class PatternTableLinks { |
| 70 | 61 | for ($i = 0; $i < $this->iRows; $i++) { |
| 71 | 62 | $sToRender = $sToRender . "<tr >\n"; |
| 72 | 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 | 65 | if ($iArrayCount < $iArraySize) { |
| 75 | 66 | $sToRender = $sToRender . ((strlen($this->aLinks[$iArrayCount]) > 0) ? "<a href=\"" . $this->aLinks[$iArrayCount] . "\" />" : ""); |
| 76 | 67 | if ($this->iLinkType == TEXT) { | ... | ... |