Mercurial > hg > lukkari
comparison index.php @ 149:834abfd9d8e9
Use CSSalts only if the variable is set.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 20 Sep 2014 01:42:36 +0300 |
parents | b6eb02871dbf |
children | 5c0eacb7d35d |
comparison
equal
deleted
inserted
replaced
148:b6eb02871dbf | 149:834abfd9d8e9 |
---|---|
528 if (!$mobileMode) | 528 if (!$mobileMode) |
529 { | 529 { |
530 echo | 530 echo |
531 " <div id=\"csssel\">".cmQM("Style").": "; | 531 " <div id=\"csssel\">".cmQM("Style").": "; |
532 | 532 |
533 foreach ($pageCSSAlts as $name => $id) | 533 if (isset($pageCSSAlts)) |
534 { | 534 { |
535 echo | 535 foreach ($pageCSSAlts as $name => $id) |
536 "<a ".(($pageCSSIndex == $id) ? "class=\"selected\" " : ""). | 536 { |
537 "href=\"".$baseURI."?css=".$id."\">".$name."</a>"; | 537 echo |
538 "<a ".(($pageCSSIndex == $id) ? "class=\"selected\" " : ""). | |
539 "href=\"".$baseURI."?css=".$id."\">".$name."</a>"; | |
540 } | |
538 } | 541 } |
539 | 542 |
540 echo | 543 echo |
541 "</div>\n"; | 544 "</div>\n"; |
542 } | 545 } |