Return to Snippet

Revision: 34139
at October 18, 2010 03:54 by audiopleb


Initial Code
{paginate}
<div id="pagination">
    <ul>
    {if "{current_page}" == 1}
        <li><span id="prev-disabled">Previous Page</span></li>
    {/if}
    {if previous_page}
        <li><a href="{auto_path}" id="prev">Previous Page</a></li>
    {/if}
    {if "{current_page}" == "{total_pages}"}
        <li><span id="next-disabled">Next Page</span></li>
    {/if}
    {if next_page}
        <li><a href="{auto_path}" id="next">Next Page</a></li>
    {/if}
    </ul>
</div>
{/paginate}

Initial URL

                                

Initial Description

                                

Initial Title
Pagination Code

Initial Tags

                                

Initial Language
PHP