comparison index.php @ 96:0ba79f50e604

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 16 Dec 2012 15:38:46 +0200
parents 171592f906a1
children 6a7172b3a841
comparison
equal deleted inserted replaced
95:eea1ab9aff46 96:0ba79f50e604
487 <th><input class=\"submit\" type=\"submit\" value=\"".lukMsg("Switch")."\" /></th> 487 <th><input class=\"submit\" type=\"submit\" value=\"".lukMsg("Switch")."\" /></th>
488 "; 488 ";
489 489
490 if (!$mobileMode) 490 if (!$mobileMode)
491 { 491 {
492 echo " 492 echo
493 <th><a id=\"next\" class=\"textctrl\" href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">". 493 " <th><a id=\"next\" class=\"textctrl\" href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">".
494 ($nextPeriod ? lukMsg("Current period") : lukMsg("Next period"))."</a></th> 494 ($nextPeriod ? lukMsg("Current period") : lukMsg("Next period"))."</a></th>\n".
495 <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$luokka.$origBaseExt."\">".lukMsg("Original")."</a></th> 495 " <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$luokka.$origBaseExt."\">".lukMsg("Original")."</a></th>\n".
496 <th><a id=\"xml\" class=\"textctrl\" href=\"".$baseURI.$cachePath."/".$luokka.".xml\">XML</a></th> 496 " <th><a id=\"xml\" class=\"textctrl\" href=\"".$baseURI.$cachePath."/".$luokka.".xml\">XML</a></th>\n".
497 <th><a id=\"mobile\" class=\"textctrl\" href=\"http://tnsp.org/lukm/\">Mobile</a></th> 497 " <th><a class=\"textctrl mobile\" href=\"http://tnsp.org/mluk/\">Mobile</a></th>\n";
498 "; 498 }
499 } 499
500 500 echo
501 echo " 501 " </tr>\n".
502 </tr> 502 " </table>\n".
503 </table> 503 "</form>\n".
504 </form> 504 "<h1>".$pageTitle."</h1>\n";
505 ";
506
507 echo "<h1>".$pageTitle."</h1>\n";
508 505
509 // Show error messages 506 // Show error messages
510 if ($errorSet) 507 if ($errorSet)
511 { 508 {
512 echo "<ul>\n"; 509 echo "<ul>\n";