aboutsummaryrefslogblamecommitdiffhomepage
path: root/tpl/home.twig
blob: 8b602a258a31fd41fd2524718c456af57b7748d6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                              
                                                                                               

                       
                



                                                                                                          
                                                                                                       
                                                                    
                 

                      
                          

                                                                                                                                                                                                              
                 
              
                               
    <body class="light-style">
        <header>
            <h1><a href="index.php"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1>
        </header>
        <div id="main">
{% block menu %}
            <ul id="links">
                <li><a href="index.php" {if="$view == 'index'"}class="current"{/if}>home</a></li>
                <li><a href="?view=fav" {if="$view == 'fav'"}class="current"{/if}>favorites</a></li>
                <li><a href="?view=archive" {if="$view == 'archive'"}class="current"{/if}>archive</a></li>
                <li><a href="?view=config" {if="$view == 'config'"}class="current"{/if}>config</a></li>
                <li><a href="?logout" title="Logout">logout</a></li>
            </ul>
{% endblock %}
{% block precontent %}
            <ul id="sort">
                <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>
                <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>
            </ul>
{% endblock %}
            {include="messages"}