diff options
Diffstat (limited to 'tpl/home.html')
-rw-r--r-- | tpl/home.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tpl/home.html b/tpl/home.html index 6fb9444c..ad881997 100644 --- a/tpl/home.html +++ b/tpl/home.html | |||
@@ -1,12 +1,19 @@ | |||
1 | <body class="light-style"> | ||
2 | <header> | ||
3 | <h1><img src="./img/logo.png" alt="logo poche" />poche</h1> | ||
4 | </header> | ||
5 | <div id="main"> | ||
1 | <ul id="links"> | 6 | <ul id="links"> |
2 | <li><a href="index.php" {if="$view == 'index'"}class="current"{/if}>home</a></li> | 7 | <li><a href="index.php" {if="$view == 'index'"}class="current"{/if}>home</a></li> |
3 | <li><a href="?view=fav" {if="$view == 'fav'"}class="current"{/if}>favorites</a></li> | 8 | <li><a href="?view=fav" {if="$view == 'fav'"}class="current"{/if}>favorites</a></li> |
4 | <li><a href="?view=archive" {if="$view == 'archive'"}class="current"{/if}>archive</a></li> | 9 | <li><a href="?view=archive" {if="$view == 'archive'"}class="current"{/if}>archive</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> | 10 | <li><a href="?view=config" {if="$view == 'config'"}class="current"{/if}>config</a></li> |
6 | <li><a href="?logout" title="Logout">logout</a></li> | 11 | <li><a href="?logout" title="Logout">logout</a></li> |
7 | </ul> | 12 | </ul> |
13 | {if condition="isset($entries)"} | ||
8 | <ul id="sort"> | 14 | <ul id="sort"> |
9 | <li><img src="img/up.png" onclick="sort_links('{$view}', 'ia');" title="by date asc" /> by date <img src="img/down.png" onclick="sort_links('{$view}', 'id');" title="by date desc" /></li> | 15 | <li><img src="img/up.png" onclick="sort_links('{$view}', 'ia');" title="by date asc" /> by date <img src="img/down.png" onclick="sort_links('{$view}', 'id');" title="by date desc" /></li> |
10 | <li><img src="img/up.png" onclick="sort_links('{$view}', 'ta');" title="by title asc" /> by title <img src="img/down.png" onclick="sort_links('{$view}', 'td');" title="by title desc" /></li> | 16 | <li><img src="img/up.png" onclick="sort_links('{$view}', 'ta');" title="by title asc" /> by title <img src="img/down.png" onclick="sort_links('{$view}', 'td');" title="by title desc" /></li> |
11 | </ul> | 17 | </ul> |
12 | <div id="content"> \ No newline at end of file | 18 | {/if} |
19 | {include="messages"} \ No newline at end of file | ||