Commit 588a3b1d36d5b138d9efeb1aa8bceb2eb9341621
1 parent
71bcd8a3
added mailto link to contact admin img
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1318 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
9 additions
and
23 deletions
presentation/webpageTemplate.inc
| @@ -32,18 +32,10 @@ if ($sectionName == "") | @@ -32,18 +32,10 @@ if ($sectionName == "") | ||
| 32 | $navbar->setHighlightedSection($sectionName); | 32 | $navbar->setHighlightedSection($sectionName); |
| 33 | 33 | ||
| 34 | // setup nw payload | 34 | // setup nw payload |
| 35 | -$colourBar = $navbar->getNWColourbar(); | ||
| 36 | -$image = new PatternImage("$default->graphicsUrl/tree.gif"); | ||
| 37 | -$image->setImgSize(114, 96); | ||
| 38 | -$img = $image->render(); | ||
| 39 | - | ||
| 40 | - | ||
| 41 | -$nwestLoad = "<html> | ||
| 42 | - <table width = \"100%\" height = \"100%\"> | ||
| 43 | - <td>". $img ."</td></tr> | ||
| 44 | - <tr><td><img src = " . $colourBar . "></img></td></tr> | ||
| 45 | - </table> | ||
| 46 | - </html>"; | 35 | +$nwestLoad = "<table width=\"100%\" height=\"100%\">\n" . |
| 36 | + "<tr><td><img valign=\"top\" src=\"$default->graphicsUrl/tree.gif\"/></td></tr>\n" . | ||
| 37 | + "<tr><td><img valign=\"top\" src=\"$colourBar\"/></td></tr>\n" . | ||
| 38 | + "</table>"; | ||
| 47 | 39 | ||
| 48 | $nwPayLoad = new PatternCustom; | 40 | $nwPayLoad = new PatternCustom; |
| 49 | $nwPayLoad ->setHtml($nwestLoad); | 41 | $nwPayLoad ->setHtml($nwestLoad); |
| @@ -73,17 +65,11 @@ $link = "$default->graphicsUrl/leftnav/links.gif" ; | @@ -73,17 +65,11 @@ $link = "$default->graphicsUrl/leftnav/links.gif" ; | ||
| 73 | 65 | ||
| 74 | //setup the westpayload | 66 | //setup the westpayload |
| 75 | // TODO -> change to links the images as well | 67 | // TODO -> change to links the images as well |
| 76 | -$westLoad = "<table cellspacing = \"5\" cellpadding = \"5\" border = \"0\" width = \"100%\" height = \"75%\"> | ||
| 77 | - <tr><td>". $westRender ."</td></tr> | ||
| 78 | - </table> | ||
| 79 | - <hr> | ||
| 80 | - <img src = " . $cAdmin . "></img> | ||
| 81 | - </hr> | ||
| 82 | - <hr> | ||
| 83 | - <img src = ". $link ."></img> | ||
| 84 | - </hr> | ||
| 85 | - <hr> | ||
| 86 | - </hr>"; | 68 | +$westLoad = "<table cellspacing=\"5\" cellpadding=\"5\" border=\"0\" width=\"100%\" height=\"75%\">\n" . |
| 69 | + "\t<tr><td>$westRender</td></tr>\n" . | ||
| 70 | + "\t<tr><td><a href=\"mailto:$default->emailAdmin\"><img src=\"$cAdmin\"/ border=\"0\"></a>\n" . | ||
| 71 | + "\t<br><img src=\"$link\"/>\n</td></tr>" . | ||
| 72 | + "</table>"; | ||
| 87 | 73 | ||
| 88 | $westPayLoad = new PatternCustom; | 74 | $westPayLoad = new PatternCustom; |
| 89 | $westPayLoad->setHtml($westLoad); | 75 | $westPayLoad->setHtml($westLoad); |