0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
14.1-0
/
standard
/
htdocs
/
templates
/
[
Home
]
File: tiki-admin_keywords.tpl
<h1class="pagetitle><a " href="tiki-admin_keywords.php">{tr}Admin keywords{/tr}</a></h1> {if $keywords_updated} <div class="alert alert-warning"> {if $keywords_updated == 'y'}{tr}Keywords have been updated{/tr} {else}{tr}Updating keywords has failed. Page probably doesn't exist.{/tr}{/if} {if $keywords_updated_on} ({$keywords_updated_on|escape}){/if} </div> {/if} {if $edit_on} <div id="current_keywords" class="clearfix"> <h2>{tr}Edit page keywords{/tr} ({$edit_keywords_page|escape})</h2> <form action="tiki-admin_keywords.php" method="post"> <input name="page" value="{$edit_keywords_page|escape}" type="hidden"> <table class="formcolor"> <tbody> <tr> <td style="padding-right: 25px;">{tr}Keywords:{/tr}</td> <td><input name="new_keywords" size="65" value="{$edit_keywords|escape}"></td> </tr> <tr> <td></td> <td><input type="submit" class="btn btn-default btn-sm" name="save_keywords" value="{tr}Save{/tr}"></td> </tr> </tbody> </table> </form> </div> {/if} <h2>{tr}Current Page Keywords{/tr}</h2> <form method="get" action="tiki-admin_keywords.php"> <label for="q">{tr}Search by page:{/tr}</label> <input type="text" name="q" value="{if $smarty.request.q}{$smarty.request.q|escape}{/if}"> <input type="submit" class="btn btn-default btn-sm" name="search" value="{tr}Go{/tr}"> </form> {if $search_on} <strong>{$search_cant|escape} {tr}results found!{/tr}</strong> {/if} {if $existing_keywords} <div class="table-responsive"> <table class="table normal table-striped table-hover"> <tbody> <tr> <th>{tr}Page{/tr}</th> <th>{tr}Keywords{/tr}</th> <th></th> </tr> {section name=i loop=$existing_keywords} <tr> <td class="text"><a href="{$existing_keywords[i].page|sefurl}">{$existing_keywords[i].page|escape}</a></td> <td class="text">{$existing_keywords[i].keywords|escape}</td> <td class="action"> {capture name=keywords_actions} {strip} <a href="tiki-admin_keywords.php?page={$existing_keywords[i].page|escape:"url"}"> {icon name='edit' _menu_text='y' _menu_icon='y' alt="{tr}Edit{/tr}"} </a> <a href="tiki-admin_keywords.php?page={$existing_keywords[i].page|escape:"url"}&remove_keywords=1"> {icon name='remove' _menu_text='y' _menu_icon='y' alt="{tr}Remove{/tr}"} </a> {/strip} {/capture} <a class="tips" title="{tr}Actions{/tr}" href="#" {popup delay="0|2000" fullhtml="1" center=true text=$smarty.capture.keywords_actions|escape:"javascript"|escape:"html"} style="padding:0; margin:0; border:0" > {icon name='wrench'} </a> </td> </tr> {/section} </tbody> </table> </div> {else} <h2>{tr}No pages found{/tr}</h2> {/if} {pagination_links cant=$pages_cant step=$prefs.maxRecords offset=$offset}{/pagination_links}