Reordered tabs
This commit is contained in:
parent
3129e11853
commit
9a5ec17ee5
10
tabs.php
10
tabs.php
@ -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>";
|
||||
|
Loading…
Reference in New Issue
Block a user