Commit 70b8f9a41025b6a9672cf5c994f5299687e997eb
1 parent
02774f7f
tidied layout
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1518 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
9 additions
and
11 deletions
lib/visualpatterns/PatternMainPage.inc
| ... | ... | @@ -122,26 +122,24 @@ class PatternMainPage { |
| 122 | 122 | // hack to circumvent the crapness of ns 4.79 |
| 123 | 123 | if (! (($default->phpSniff->property("browser") == "moz") && ($default->phpSniff->property("version") <= "4.79")) ) { |
| 124 | 124 | $sToRender .= "<div id=\"divUp\">" . |
| 125 | - "\t<a href=\"#\" onmouseover=\"scroll(-7)\" onmouseout=\"noScroll()\"><img src=\"" . $default->graphicsUrl . "/desc.gif\" width=\"25\" height=\"30\" alt=\"up\" border=\"0\"></a>" . | |
| 125 | + "\t<a href=\"#\" onmouseover=\"scroll(-7)\" onmouseout=\"noScroll()\"><img src=\"" . $default->graphicsUrl . "/desc.gif\" width=\"18\" height=\"9\" alt=\"up\" border=\"0\"></a>" . | |
| 126 | 126 | "</div>" . |
| 127 | 127 | "<div id=\"divDown\">" . |
| 128 | - "\t<a href=\"#\" onmouseover=\"scroll(7)\" onmouseout=\"noScroll()\"><img src=\"" . $default->graphicsUrl . "/asc.gif\" width=\"25\" height=\"30\" alt=\"down\" border=\"0\"></a>" . | |
| 128 | + "\t<a href=\"#\" onmouseover=\"scroll(7)\" onmouseout=\"noScroll()\"><img src=\"" . $default->graphicsUrl . "/asc.gif\" width=\"18\" height=\"9\" alt=\"down\" border=\"0\"></a>" . | |
| 129 | 129 | "</div>"; |
| 130 | 130 | } |
| 131 | - | |
| 131 | + | |
| 132 | 132 | $sToRender .= "<form name=\"MainForm\" " . (isset($this->sFormEncType) ? "enctype=\"$this->sFormEncType\" " : " ") . " action=\"".$this->sFormAction."\" method=POST " . (($this->bHasRequiredFields) ? "onsubmit=\"return validateForm(this)\" " : " ") . ">\n" . |
| 133 | - | |
| 134 | 133 | "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"700\" height=\"600\">\n " . |
| 135 | - | |
| 136 | - "<tr height=\"18%\">\n". | |
| 137 | - "<td width=\"5%\"" . (isset($this->sNorthWestPayloadBackGroundColour) ? " bgcolor=\"" . $this->sNorthWestPayloadBackGroundColour . "\"" : "") . ">\n"; | |
| 134 | + "<tr height=\"10\">\n". | |
| 135 | + "<td valign=\"top\" " . (isset($this->sNorthWestPayloadBackGroundColour) ? " bgcolor=\"" . $this->sNorthWestPayloadBackGroundColour . "\"" : "") . ">\n"; | |
| 138 | 136 | if (isset($this->oNorthWestPayload)) { |
| 139 | 137 | $sToRender = $sToRender . "\n" . $this->oNorthWestPayload->render() . "\n"; |
| 140 | 138 | } else { |
| 141 | 139 | $sToRender = $sToRender . "\nNorthwest payload not set\n"; |
| 142 | 140 | } |
| 143 | 141 | $sToRender = $sToRender . "</td>\n |
| 144 | - <td width = \"90%\"" . (isset($this->sNorthPayloadBackGroundColour) ? " bgcolor=\"" . $this->sNorthPayloadBackGroundColour . "\"" : "") . ">\n"; | |
| 142 | + <td valign=\"top\" align=\"left\" " . (isset($this->sNorthPayloadBackGroundColour) ? " bgcolor=\"" . $this->sNorthPayloadBackGroundColour . "\"" : "") . ">\n"; | |
| 145 | 143 | if (isset($this->oNorthPayload)) { |
| 146 | 144 | $sToRender = $sToRender . "\n" . $this->oNorthPayload->render() . "\n"; |
| 147 | 145 | } else { |
| ... | ... | @@ -149,15 +147,15 @@ class PatternMainPage { |
| 149 | 147 | } |
| 150 | 148 | $sToRender = $sToRender . "</td>\n |
| 151 | 149 | </tr>\n |
| 152 | - <tr border = \"1\" height=\"72%\" >\n | |
| 153 | - <td border = \"1\" width=\"5%\"" . (isset($this->sWestPayloadBackGroundColour) ? " bgcolor=\"" . $this->sWestPayloadBackGroundColour . "\"" : "") . ">"; | |
| 150 | + <tr>\n | |
| 151 | + <td valign=\"top\"" . (isset($this->sWestPayloadBackGroundColour) ? " bgcolor=\"" . $this->sWestPayloadBackGroundColour . "\"" : "") . ">"; | |
| 154 | 152 | if (isset($this->oWestPayload)) { |
| 155 | 153 | $sToRender = $sToRender . "\n" . $this->oWestPayload->render() . "\n"; |
| 156 | 154 | } else { |
| 157 | 155 | $sToRender = $sToRender . "\nWest payload not set\n"; |
| 158 | 156 | } |
| 159 | 157 | $sToRender = $sToRender . "</td>\n |
| 160 | - <td width=\"80%\" valign=\"top\"" . (isset($this->sCentralPayloadBackGroundColour) ? " bgcolor=\"" . $this->sCentralPayloadBackGroundColour . "\"" : "") . ">\n"; | |
| 158 | + <td valign=\"top\"" . (isset($this->sCentralPayloadBackGroundColour) ? " bgcolor=\"" . $this->sCentralPayloadBackGroundColour . "\"" : "") . ">\n"; | |
| 161 | 159 | |
| 162 | 160 | if (isset($this->oCentralPayload)) { |
| 163 | 161 | // hack to circumvent the crapness of ns 4.79 | ... | ... |