summaryrefslogtreecommitdiffstats
path: root/includes/header.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-02-09 15:37:46 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-02-09 15:37:46 -0800
commitb40457114a6f5796229357555c80dfef74937a40 (patch)
tree21669b29bba7c64a0a030cf50aaabad92cc11a27 /includes/header.php
parent519b360a15bfdeb1aa5cc560281f97def797050a (diff)
downloadpathery-b40457114a6f5796229357555c80dfef74937a40.tar.xz
Code cleanup / deletions.
Diffstat (limited to 'includes/header.php')
-rw-r--r--includes/header.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/includes/header.php b/includes/header.php
index 428ccfd..e654cd3 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -14,11 +14,9 @@ function htmlHeader($css = array(), $title = 'Pathery', $desc = '', $scripts = a
foreach ($css as $c) {
echo " <link href=\"css/$c.css\" rel=\"stylesheet\" type=\"text/css\" />\n";
}
- if ($desc !== '')
- echo " <meta name='Description' content='$desc'>";
+ if ($desc !== '') echo " <meta name='Description' content='$desc'>";
- foreach ($scripts as $s)
- echo "<script src='js/$s.js?v=121212'></script>";
+ foreach ($scripts as $s) echo "<script src='js/$s.js?v=122612'></script>";
?>
<script src="js/ajax.js" async="async"></script>
<script src="js/mapspecs.js?v=121212"></script>
@@ -157,10 +155,11 @@ function topbar($links) {
echo '<div id="topbar">';
foreach ($links as $key => $value) {
- if ($request == $key)
+ if ($request == $key) {
$selected = " selected";
- else
+ } else {
$selected = "";
+ }
echo "<a href='$key' class='nav$selected'>$value</a>";
}