Commit 1ee45ecb6e9b902f45fe5ae87236990a557eef4e

Authored by mukhtar
1 parent 7cf36089

updated html sizes of tables and borders


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@474 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/visualpatterns/NavBar.inc
... ... @@ -182,22 +182,19 @@ class NavBar
182 182 $toRender = new PatternCustom;
183 183  
184 184 //bar is the actaul html creation of the nav bar
185   - $bar= "
186   - <html>
187   -
188   - <Table cellpadding = \"0\" cellspacing = \"1\" border=\"1\" width=\"100%\" height=\"100%\">
  185 + $bar= "
  186 + <Table cellpadding = \"1\" cellspacing = \"1\" border=\"1\" width=\"100%\" height=\"100%\">
189 187  
190 188 <tr height=\"20%\"><td background = " . $hStretched ." width =\"100%\">". $row1 ."</td></tr>
191 189  
192   - <tr height=\"20%\"><td background = " . $hStretched ." width =\"100%\" ></td></tr>
  190 + <tr height=\"28%\"><td background = " . $hStretched ." width =\"100%\" >www</td></tr>
193 191  
194   - <tr height=\"10%\" ><td width =\"100%\">". $row3 . "</td></tr>
  192 + <tr height=\"25%\" ><td width =\"10%\">". $row3 . "</td></tr>
195 193  
196   - <tr height=\"10%\"><td width =\"100%\">". $row4 . "</td></tr>
  194 + <tr height=\"25%\"><td width =\"100%\">". $row4 . "</td></tr>
197 195  
198 196 </table>
199   -
200   - </html>
  197 +
201 198 ";
202 199  
203 200  
... ...
lib/visualpatterns/PatternImage.inc
... ... @@ -46,7 +46,7 @@ class PatternImage {
46 46 if (isset($this->sImgWidth) && isset($this->sImgWidth)) {
47 47 return "<img src=\"".$this->sImgURL."\" width=\"". $this->iImgWidth."\" height=\"".$this->iImgHeight."\" align=\"center\" />";
48 48 }
49   - return "<img src=\"".$this->sImgURL."\" width=\"100%\" height=\"100%\" align=\"center\" />";
  49 + return "<img src=\"".$this->sImgURL."\" align=\"center\" border =\"1\" />";
50 50 }
51 51  
52 52  
... ...
lib/visualpatterns/PatternMainPage.inc
... ... @@ -63,7 +63,7 @@ class PatternMainPage {
63 63 </head>
64 64 <body>
65 65 <form id=\"MainForm\" action=\"".$this->sFormAction."\" method=\"get\">
66   - <table border=\"1\" width=\"800\" height=\"600\">\n
  66 + <table border=\"1\" width=\"600\" height=\"600\">\n
67 67 <tr height=\"18%\">\n
68 68 <td width=\"5%\">";
69 69 if (isset($this->oNorthWestPayload)) {
... ...
lib/visualpatterns/PatternTableLinks.inc
... ... @@ -61,7 +61,7 @@ class PatternTableLinks {
61 61 for ($i = 0; $i < $this->iRows; $i++) {
62 62 $sToRender = $sToRender . "<tr >\n";
63 63 for ($j = 0; $j < $this->iColumns; $j++) {
64   - $sToRender = $sToRender . "<td cellspacing = \"0\">";
  64 + $sToRender = $sToRender . "<td cellspacing = \"20\" width =\"100%\">";
65 65 if ($iArrayCount < $iArraySize) {
66 66 $sToRender = $sToRender . "<a href=\"" . $this->aLinks[$iArrayCount] . "\" />";
67 67 if ($this->iLinkType == TEXT) {
... ...