Commit 0fa3fb5551d6e5739809c683389c3d00f56fec4f

Authored by Michael Joseph
1 parent dfd30c5f

added linebreaks to improve html readability


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@448 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 10 additions and 10 deletions
presentation/Html.inc
... ... @@ -12,37 +12,37 @@
12 12 */
13 13  
14 14 function startTable($border, $width) {
15   - return "<table border=\"$border\" width=\"$width\">";
  15 + return "<table border=\"$border\" width=\"$width\">\n";
16 16 }
17 17  
18 18 function stopTable() {
19   - return "</table>";
  19 + return "</table>\n";
20 20 }
21 21  
22 22 function tableRow($align, $bgcolor, $html) {
23   - return "<tr align=\"$align\" bgcolor=\"$bgcolor\">$html</tr>";
  23 + return "<tr align=\"$align\" bgcolor=\"$bgcolor\">$html</tr>\n";
24 24 }
25 25  
26 26 function tableHeading($cssClassName, $colspan, $text) {
27   - return "<th colspan=\"$colspan\">
28   - <span class=\"$cssClassName\">$text</span>
29   - </th>";
  27 + return "<th colspan=\"$colspan\">\n
  28 + <span class=\"$cssClassName\">$text</span>\n
  29 + </th>\n";
30 30 }
31 31  
32 32 function tableData($html) {
33   - return "<td>$html</td>";
  33 + return "<td>$html</td>\n";
34 34 }
35 35  
36 36 function startTableRowCell() {
37   - return "<tr><td>";
  37 + return "<tr><td>\n";
38 38 }
39 39  
40 40 function endTableRowCell() {
41   - return "</td></tr>";
  41 + return "</td></tr>\n";
42 42 }
43 43  
44 44 function generateLink($sTargetPage, $sQueryString, $sLinkText) {
45   - return "<a href=\"$sTargetPage?$sQueryString\">$sLinkText</a>";
  45 + return "<a href=\"$sTargetPage?$sQueryString\">$sLinkText</a>\n";
46 46 }
47 47  
48 48 ?>
... ...