Mercurial > hg > lukkari
comparison index.php @ 134:6f7a2f9dcad4
Fix some errors due to undefined variables in case the class data is not
found.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 27 Aug 2014 18:57:37 +0300 |
parents | ad10ab39e2d1 |
children | 31ba82aabbba |
comparison
equal
deleted
inserted
replaced
133:ad10ab39e2d1 | 134:6f7a2f9dcad4 |
---|---|
559 if (!$mobileMode) | 559 if (!$mobileMode) |
560 { | 560 { |
561 echo | 561 echo |
562 " <th><a id=\"next\" class=\"textctrl\" href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">". | 562 " <th><a id=\"next\" class=\"textctrl\" href=\"".$baseURI.($nextPeriod ? "" : "?next")."\">". |
563 cmQM("Shown").": ".($nextPeriod ? cmQM("Next period") : cmQM("Current period")). | 563 cmQM("Shown").": ".($nextPeriod ? cmQM("Next period") : cmQM("Current period")). |
564 "</a></th>\n". | 564 "</a></th>\n"; |
565 " <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$luokka.$origBaseExt."\">".cmQM("Original")."</a></th>\n". | 565 |
566 // " <th><a id=\"xml\" class=\"textctrl\" href=\"".$baseURI.$cachePath."/".$luokka.".xml\">XML</a></th>\n". | 566 if ($haveData) |
567 { | |
568 echo | |
569 " <th><a id=\"orig\" class=\"textctrl\" href=\"".$origBaseURI.$luokka.$origBaseExt."\">".cmQM("Original")."</a></th>\n"; | |
570 //" <th><a id=\"xml\" class=\"textctrl\" href=\"".$baseURI.$cachePath."/".$luokka.".xml\">XML</a></th>\n"; | |
571 } | |
572 | |
573 echo | |
567 " <th><a class=\"textctrl mobile\" href=\"http://tnsp.org/mluk/\">Mobile</a></th>\n"; | 574 " <th><a class=\"textctrl mobile\" href=\"http://tnsp.org/mluk/\">Mobile</a></th>\n"; |
568 } | 575 } |
569 | 576 |
570 $currURL = $baseURI."?luokka=".$luokka."&lang=".$pageLang. | 577 $currURL = $baseURI."?luokka=".$luokka."&lang=".$pageLang. |
571 (isset($pageCSSIndex) ? "&css=".$pageCSSIndex : ""). | 578 (isset($pageCSSIndex) ? "&css=".$pageCSSIndex : ""). |