1
0

Reordered tabs

This commit is contained in:
Aaron Lindsay 2011-03-20 21:32:35 -06:00
parent 3129e11853
commit 9a5ec17ee5

View File

@ -1,11 +1,13 @@
<div id="tabs">
<ul>
<?php
$tabs = array("Home" => "/home/",
"Projects" => "/projects/",
$tabs = array(
"About" => "/about/",
"Resume" => "/resume/",
"Contact" => "/contact/");
"Blog" => "/home/",
"Contact" => "/contact/",
"Projects" => "/projects/",
"Resume" => "/resume/"
);
foreach ($tabs as $name => $url) {
if ($url == $_SERVER['REQUEST_URI'])
echo "<li><a href=\"http://aclindsay.com".$url."\" class=\"current\">".$name."</a></li>";