diff options
Diffstat (limited to 'tpl/home.html')
-rw-r--r-- | tpl/home.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tpl/home.html b/tpl/home.html index 90e247f7..8b602a25 100644 --- a/tpl/home.html +++ b/tpl/home.html | |||
@@ -3,6 +3,7 @@ | |||
3 | <h1><a href="index.php"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1> | 3 | <h1><a href="index.php"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1> |
4 | </header> | 4 | </header> |
5 | <div id="main"> | 5 | <div id="main"> |
6 | {% block menu %} | ||
6 | <ul id="links"> | 7 | <ul id="links"> |
7 | <li><a href="index.php" {if="$view == 'index'"}class="current"{/if}>home</a></li> | 8 | <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> | 9 | <li><a href="?view=fav" {if="$view == 'fav'"}class="current"{/if}>favorites</a></li> |
@@ -10,10 +11,11 @@ | |||
10 | <li><a href="?view=config" {if="$view == 'config'"}class="current"{/if}>config</a></li> | 11 | <li><a href="?view=config" {if="$view == 'config'"}class="current"{/if}>config</a></li> |
11 | <li><a href="?logout" title="Logout">logout</a></li> | 12 | <li><a href="?logout" title="Logout">logout</a></li> |
12 | </ul> | 13 | </ul> |
13 | {if condition="isset($entries)"} | 14 | {% endblock %} |
15 | {% block precontent %} | ||
14 | <ul id="sort"> | 16 | <ul id="sort"> |
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> | 17 | <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> |
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> | 18 | <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> |
17 | </ul> | 19 | </ul> |
18 | {/if} | 20 | {% endblock %} |
19 | {include="messages"} \ No newline at end of file | 21 | {include="messages"} \ No newline at end of file |