Reordered tabs
This commit is contained in:
parent
3129e11853
commit
9a5ec17ee5
10
tabs.php
10
tabs.php
@ -1,11 +1,13 @@
|
|||||||
<div id="tabs">
|
<div id="tabs">
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
$tabs = array("Home" => "/home/",
|
$tabs = array(
|
||||||
"Projects" => "/projects/",
|
|
||||||
"About" => "/about/",
|
"About" => "/about/",
|
||||||
"Resume" => "/resume/",
|
"Blog" => "/home/",
|
||||||
"Contact" => "/contact/");
|
"Contact" => "/contact/",
|
||||||
|
"Projects" => "/projects/",
|
||||||
|
"Resume" => "/resume/"
|
||||||
|
);
|
||||||
foreach ($tabs as $name => $url) {
|
foreach ($tabs as $name => $url) {
|
||||||
if ($url == $_SERVER['REQUEST_URI'])
|
if ($url == $_SERVER['REQUEST_URI'])
|
||||||
echo "<li><a href=\"http://aclindsay.com".$url."\" class=\"current\">".$name."</a></li>";
|
echo "<li><a href=\"http://aclindsay.com".$url."\" class=\"current\">".$name."</a></li>";
|
||||||
|
Loading…
Reference in New Issue
Block a user