diff options
Diffstat (limited to 'tpl/home.html')
-rw-r--r-- | tpl/home.html | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tpl/home.html b/tpl/home.html index 568b9274..216f39b9 100644 --- a/tpl/home.html +++ b/tpl/home.html | |||
@@ -1,16 +1,12 @@ | |||
1 | <body> | ||
2 | <header> | ||
3 | <h1><img src="./img/logo.png" alt="logo poche" />poche</h1> | ||
4 | </header> | ||
5 | <div id="main"> | ||
6 | <ul id="links"> | 1 | <ul id="links"> |
7 | <li><a href="index.php" {if="$view == 'index'"}class="current"{/if}>home</a></li> | 2 | <li><a href="index.php" {if="$view == 'index'"}class="current"{/if}>home</a></li> |
8 | <li><a href="?view=fav" {if="$view == 'fav'"}class="current"{/if}>favorites</a></li> | 3 | <li><a href="?view=fav" {if="$view == 'fav'"}class="current"{/if}>favorites</a></li> |
9 | <li><a href="?view=archive" {if="$view == 'archive'"}class="current"{/if}>archive</a></li> | 4 | <li><a href="?view=archive" {if="$view == 'archive'"}class="current"{/if}>archive</a></li> |
10 | <li><a style="cursor: move" title="i am a bookmarklet, use me !" href="javascript:(function(){var%20url%20=%20location.href%20||%20url;window.open('{$poche_url}?action=add&url='%20+%20encodeURIComponent(url),'_self');})();">poche it !</a></li> | 5 | <li><a style="cursor: move" title="i am a bookmarklet, use me !" href="javascript:(function(){var%20url%20=%20location.href%20||%20url;window.open('{$poche_url}?action=add&url='%20+%20encodeURIComponent(url),'_self');})();">poche it !</a></li> |
6 | <li><a href="?logout" title="Logout">logout</a></li> | ||
11 | </ul> | 7 | </ul> |
12 | <ul id="sort"> | 8 | <ul id="sort"> |
13 | <li><img src="img/up.png" onclick="sort_links('{$view}', 'ia', '{$token}');" title="by date asc" /> by date <img src="img/down.png" onclick="sort_links('{$view}', 'id', '{$token}');" title="by date desc" /></li> | 9 | <li><img src="img/up.png" onclick="sort_links('{$view}', 'ia', '{'<?php echo Session::getToken(); ?>'}');" title="by date asc" /> by date <img src="img/down.png" onclick="sort_links('{$view}', 'id', '<?php echo Session::getToken(); ?>');" title="by date desc" /></li> |
14 | <li><img src="img/up.png" onclick="sort_links('{$view}', 'ta', '{$token}');" title="by title asc" /> by title <img src="img/down.png" onclick="sort_links('{$view}', 'td', '{$token}');" title="by title desc" /></li> | 10 | <li><img src="img/up.png" onclick="sort_links('{$view}', 'ta', '<?php echo Session::getToken(); ?>');" title="by title asc" /> by title <img src="img/down.png" onclick="sort_links('{$view}', 'td', '<?php echo Session::getToken(); ?>');" title="by title desc" /></li> |
15 | </ul> | 11 | </ul> |
16 | <div id="content"> \ No newline at end of file | 12 | <div id="content"> \ No newline at end of file |