Skip to content

Commit

Permalink
Update menu.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowss committed Mar 12, 2014
1 parent 6b73de8 commit dad7257
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Templates/Profile/menu.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
| <a href="spieler.php?s=1" <?php if(isset($_GET['s']) && $_GET['s'] == 1) { echo "class=\"selected\""; } ?>>Profile</a>
| <a href="spieler.php?s=2" <?php if(isset($_GET['s']) && $_GET['s'] == 2) { echo "class=\"selected\""; } ?>>Preferences</a>
| <a href="spieler.php?s=3" <?php if(isset($_GET['s']) && $_GET['s'] == 3) { echo "class=\"selected\""; } ?>>Account</a>
<?php /*| <a href="spieler.php?s=5" <?php if(isset($_GET['s']) && $_GET['s'] == 5) { echo "class=\"selected\""; } ?>>Vacation</a> */ ?>
<?php
if($displayarray['username'] == "Shadow"){
?>
| <a href="spieler.php?s=5" <?php if(isset($_GET['s']) && $_GET['s'] == 5) { echo "class=\"selected\""; } ?>>Vacation</a>
<?php
}
?>
<?php
if(GP_ENABLE) {
?>
Expand All @@ -12,4 +18,4 @@
}
?>

</div>
</div>

0 comments on commit dad7257

Please sign in to comment.