Cleaning up some stuff, added some rewrites

This commit is contained in:
Josh Sherman 2013-12-17 14:07:45 -05:00
parent fa408978fd
commit 44f0139e13
4 changed files with 20 additions and 1 deletions

View file

@ -48,6 +48,7 @@
{
$links = array(
'/leaderboards' => 'My Leaderboards',
'/api' => 'API Documentation',
'/contact' => 'Contact Us',
'/logout' => 'Logout',
);

View file

@ -19,7 +19,7 @@ if ($this->module['leaderboards'])
?>
<tr class="lead">
<td><?php echo $uid; ?></td>
<td><?php echo $this->module['names'][$uid]; ?></td>
<td><a href="/leaderboard/<?php echo $uid; ?>"><?php echo $this->module['names'][$uid]; ?></a></td>
<td><?php echo Time::ago($updated_at); ?></td>
<td class="text-right">
<a class="btn btn-danger" href="/leaderboard/delete/<?php echo $uid; ?>">Delete</a>