changeset 96:0ba79f50e604

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 16 Dec 2012 15:38:46 +0200
parents eea1ab9aff46
children acb600abc0c7
files index.php
diffstat 1 files changed, 11 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Wed Dec 12 12:31:40 2012 +0200
+++ b/index.php	Sun Dec 16 15:38:46 2012 +0200
@@ -489,22 +489,19 @@
 
 if (!$mobileMode)
 {
-echo "
-   <th><a id=\"next\" class=\"textctrl\" href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">".
-     ($nextPeriod ? lukMsg("Current period") : lukMsg("Next period"))."</a></th>
-   <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$luokka.$origBaseExt."\">".lukMsg("Original")."</a></th>
-   <th><a id=\"xml\" class=\"textctrl\" href=\"".$baseURI.$cachePath."/".$luokka.".xml\">XML</a></th>
-   <th><a id=\"mobile\" class=\"textctrl\" href=\"http://tnsp.org/lukm/\">Mobile</a></th>
-";
+  echo
+  "   <th><a id=\"next\" class=\"textctrl\" href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">".
+  ($nextPeriod ? lukMsg("Current period") : lukMsg("Next period"))."</a></th>\n".
+  "   <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$luokka.$origBaseExt."\">".lukMsg("Original")."</a></th>\n".
+  "   <th><a id=\"xml\" class=\"textctrl\" href=\"".$baseURI.$cachePath."/".$luokka.".xml\">XML</a></th>\n".
+  "   <th><a class=\"textctrl mobile\" href=\"http://tnsp.org/mluk/\">Mobile</a></th>\n";
 }
 
-echo "
-  </tr>
- </table>
-</form>
-";
-
-echo "<h1>".$pageTitle."</h1>\n";
+echo
+  "  </tr>\n".
+  " </table>\n".
+  "</form>\n".
+  "<h1>".$pageTitle."</h1>\n";
 
 // Show error messages
 if ($errorSet)