0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
tikiwiki
/
1.9.7-31
/
htdocs
/
templates
/
[
Home
]
File: tiki-list_posts.tpl
<h1><a class="pagetitle" href="tiki-list_posts.php">{tr}Blogs{/tr}</a> {if $feature_help eq 'y'} <a href="{$helpurl}Blogs" target="tikihelp" class="tikihelp" title="{tr}Blogs{/tr}"> <img src="img/icons/help.gif" border="0" height="16" width="16" alt='{tr}help{/tr}' /></a>{/if} {if $feature_view_tpl eq 'y'} <a href="tiki-edit_templates.php?template=tiki-list_posts.tpl" target="tikihelp" class="tikihelp" title="{tr}View tpl{/tr}: {tr}list posts tpl{/tr}"> <img src="img/icons/info.gif" border="0" height="16" width="16" alt='{tr}edit tpl{/tr}' /></a>{/if} </h1> <a class="linkbut" href="tiki-edit_blog.php">{tr}edit blog{/tr}</a> <a class="linkbut" href="tiki-blog_post.php">{tr}post{/tr}</a> <a class="linkbut" href="tiki-list_blogs.php">{tr}list blogs{/tr}</a> <br /><br /> <div align="center"> <table class="findtable"> <tr><td class="findtable">{tr}Find{/tr}</td> <td class="findtable"> <form method="get" action="tiki-list_posts.php"> <input type="text" name="find" value="{$find|escape}" /> <input type="submit" value="{tr}find{/tr}" name="search" /> <input type="hidden" name="sort_mode" value="{$sort_mode|escape}" /> </form> </td> </tr> </table> <table class="normal"> <tr> <td class="heading"><a class="tableheading" href="tiki-list_posts.php?offset={$offset}&sort_mode={if $sort_mode eq 'postId_desc'}postId_asc{else}postId_desc{/if}">{tr}Id{/tr}</a></td> <td class="heading">{tr}Blog Title{/tr}</td> <td class="heading"><a class="tableheading" href="tiki-list_posts.php?offset={$offset}&sort_mode={if $sort_mode eq 'created_desc'}created_asc{else}created_desc{/if}">{tr}Created{/tr}</a></td> <td class="heading">{tr}Size{/tr}</td> <td class="heading"><a class="tableheading" href="tiki-list_posts.php?offset={$offset}&sort_mode={if $sort_mode eq 'user_desc'}user_asc{else}user_desc{/if}">{tr}User{/tr}</a></td> <td class="heading">{tr}Action{/tr}</td> </tr> {section name=changes loop=$listpages} <tr> {if $smarty.section.changes.index % 2} <td class="odd"> {$listpages[changes].postId} </td> <td class="odd"> <a class="blogname" href="tiki-edit_blog.php?blogId={$listpages[changes].blogId}" title="{$listpages[changes].blogTitle}">{$listpages[changes].blogTitle|truncate:10:"(...)":true}</a> </td> <td class="odd"> {$listpages[changes].created|tiki_short_datetime} </td> <td class="odd"> {$listpages[changes].size} </td> <td class="odd"> {$listpages[changes].user} </td> <td class="odd"> <a class="link" href="tiki-list_posts.php?offset={$offset}&sort_mode={$sort_mode}&remove={$listpages[changes].postId}">{tr}Remove{/tr}</a> <a class="link" href="tiki-blog_post.php?postId={$listpages[changes].postId}">{tr}Edit{/tr}</a> </td> {else} <td class="even"> {$listpages[changes].postId} </td> <td class="even"> <a class="blogname" href="tiki-edit_blog.php?blogId={$listpages[changes].blogId}" title="{$listpages[changes].blogTitle}">{$listpages[changes].blogTitle|truncate:10:"(...)":true}</a> </td> <td class="even"> {$listpages[changes].created|tiki_short_datetime} </td> <td class="even"> {$listpages[changes].size} </td> <td class="even"> {$listpages[changes].user} </td> <td class="even"> <a class="link" href="tiki-list_posts.php?offset={$offset}&sort_mode={$sort_mode}&remove={$listpages[changes].postId}">{tr}Remove{/tr}</a> <a class="link" href="tiki-blog_post.php?postId={$listpages[changes].postId}">{tr}Edit{/tr}</a> </td> {/if} </tr> {sectionelse} <tr><td colspan="6"> <b>{tr}No records found{/tr}</b> </td></tr> {/section} </table> <br /> <div class="mini"> {if $prev_offset >= 0} [<a class="prevnext" href="tiki-list_posts.php?find={$find}&offset={$prev_offset}&sort_mode={$sort_mode}">{tr}prev{/tr}</a>] {/if} {tr}Page{/tr}: {$actual_page}/{$cant_pages} {if $next_offset >= 0} [<a class="prevnext" href="tiki-list_posts.php?find={$find}&offset={$next_offset}&sort_mode={$sort_mode}">{tr}next{/tr}</a>] {/if} {if $direct_pagination eq 'y'} <br /> {section loop=$cant_pages name=foo} {assign var=selector_offset value=$smarty.section.foo.index|times:$maxRecords} <a class="prevnext" href="tiki-list_posts.php?find={$find}&offset={$selector_offset}&sort_mode={$sort_mode}"> {$smarty.section.foo.index_next}</a> {/section} {/if} </div> </div>