1
0

HTML indention formatting OCD fixes

This commit is contained in:
Aaron Lindsay 2011-04-15 21:33:30 -06:00
parent 0488b75beb
commit 96b353a187
2 changed files with 22 additions and 22 deletions

View File

@ -13,13 +13,13 @@
foreach ($tabs as $name => $url) { foreach ($tabs as $name => $url) {
if ($url == "/") { if ($url == "/") {
if ($_SERVER['REQUEST_URI'] == "/") if ($_SERVER['REQUEST_URI'] == "/")
echo "<li><a href=\"http://aclindsay.com/\" class=\"current\">Home</a></li>"; echo "\t\t<li><a href=\"http://aclindsay.com/\" class=\"current\">Home</a></li>\n";
else else
echo "<li><a href=\"http://aclindsay.com/\">Home</a></li>"; echo "\t\t<li><a href=\"http://aclindsay.com/\">Home</a></li>\n";
} else if ($base_domain && strncmp($url, $_SERVER['REQUEST_URI'], strlen($url)) == 0) } else if ($base_domain && strncmp($url, $_SERVER['REQUEST_URI'], strlen($url)) == 0)
echo "<li><a href=\"http://aclindsay.com".$url."\" class=\"current\">".$name."</a></li>"; echo "\t\t<li><a href=\"http://aclindsay.com".$url."\" class=\"current\">".$name."</a></li>\n";
else else
echo "<li><a href=\"http://aclindsay.com".$url."\">".$name."</a></li>"; echo "\t\t<li><a href=\"http://aclindsay.com".$url."\">".$name."</a></li>\n";
} }
?> ?>
</ul> </ul>