From: <pk...@us...> - 2007-10-30 22:20:17
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv23496 Modified Files: Tag: BRANCH-1-10 tiki-admin_quicktags_content.tpl Log Message: [FIX] admin quicktags: clean html Index: tiki-admin_quicktags_content.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-admin_quicktags_content.tpl,v retrieving revision 1.12.2.1 retrieving revision 1.12.2.2 diff -u -d -r1.12.2.1 -r1.12.2.2 --- tiki-admin_quicktags_content.tpl 17 Oct 2007 20:36:05 -0000 1.12.2.1 +++ tiki-admin_quicktags_content.tpl 30 Oct 2007 22:20:16 -0000 1.12.2.2 @@ -1,12 +1,12 @@ {* quicktags filter *} -<div align=center> +<div align="center"> <form action="tiki-admin_quicktags.php" method="get"> <input type="hidden" name="sort_mode" value="{$sort_mode|escape}" /> <input type="hidden" name="tagId" value="{$tagId|escape}" /> {tr}Quicktags category filter{/tr} <select name="category" onchange="this.form.submit()"> - <option value=All>{tr}All{/tr}</option> + <option value="All">{tr}All{/tr}</option> {section name=ct loop=$list_categories} <option {if $category eq $list_categories[ct]} selected="selected"{/if}>{tr}{$list_categories[ct]}{/tr}</option> {/section} @@ -19,19 +19,19 @@ <table class="normal"> <tr> <td class="heading"> - <a class="tableheading" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?sort_mode={if $sort_mode eq 'taglabel_desc'}taglabel_asc{else}taglabel_desc{/if}{/ajax_href}}>{tr}Label{/tr} + <a class="tableheading" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?sort_mode={if $sort_mode eq 'taglabel_desc'}taglabel_asc{else}taglabel_desc{/if}{/ajax_href}>{tr}Label{/tr} </a> </td> <td class="heading"> - <a class="tableheading" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?sort_mode={if $sort_mode eq 'taginsert_desc'}taginsert_asc{else}taginsert_desc{/if}{/ajax_href}}>{tr}Insert{/tr} + <a class="tableheading" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?sort_mode={if $sort_mode eq 'taginsert_desc'}taginsert_asc{else}taginsert_desc{/if}{/ajax_href}>{tr}Insert{/tr} </a> </td> <td class="heading"> - <a class="tableheading" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?sort_mode={if $sort_mode eq 'tagicon_desc'}tagicon_asc{else}tagicon_desc{/if}{/ajax_href}}>{tr}Icon{/tr} + <a class="tableheading" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?sort_mode={if $sort_mode eq 'tagicon_desc'}tagicon_asc{else}tagicon_desc{/if}{/ajax_href}>{tr}Icon{/tr} </a> </td> <td class="heading"> - <a class="tableheading" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?sort_mode={if $sort_mode eq 'tagcategory_desc'}tagcategory_asc{else}tagcategory_desc{/if}{/ajax_href}}>{tr}Category{/tr} + <a class="tableheading" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?sort_mode={if $sort_mode eq 'tagcategory_desc'}tagcategory_asc{else}tagcategory_desc{/if}{/ajax_href}>{tr}Category{/tr} </a> </td> <td class="heading">{tr}Action{/tr}</td> @@ -45,7 +45,7 @@ <td class="{cycle advance=false}">{html_image file=$quicktags[tag].tagicon} {$quicktags[tag].iconpath}</td> <td class="{cycle advance=false}">{tr}{$quicktags[tag].tagcategory}{/tr}</td> <td class="{cycle}"> - <a class="link" {ajax_href template="tiki-admin_quicktags_edit.tpl" htmlelement="quicktags-edit"}tiki-admin_quicktags.php?offset={$offset}&sort_mode={$sort_mode}&tagId={$quicktags[tag].tagId}{/ajax_href}}> + <a class="link" {ajax_href template="tiki-admin_quicktags_edit.tpl" htmlelement="quicktags-edit"}tiki-admin_quicktags.php?offset={$offset}&sort_mode={$sort_mode}&tagId={$quicktags[tag].tagId}{/ajax_href}> <img src="pics/icons/page_edit.png" border="0" width="16" height="16" alt='{tr}Edit{/tr}' /> </a> @@ -59,19 +59,19 @@ <div class="mini"> {if $prev_offset >= 0} - [<a class="prevnext" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?find={$find}&offset={$prev_offset}&sort_mode={$sort_mode}&category={$category}{/ajax_href}}>{tr}Prev{/tr} + [<a class="prevnext" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?find={$find}&offset={$prev_offset}&sort_mode={$sort_mode}&category={$category}{/ajax_href}>{tr}Prev{/tr} </a>] {/if} {tr}Page{/tr}: {$actual_page}/{$cant_pages} {if $next_offset >= 0} - [<a class="prevnext" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?find={$find}&offset={$next_offset}&sort_mode={$sort_mode}&category={$category}{/ajax_href}}>{tr}Next{/tr}</a>] + [<a class="prevnext" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?find={$find}&offset={$next_offset}&sort_mode={$sort_mode}&category={$category}{/ajax_href}>{tr}Next{/tr}</a>] {/if} {if $prefs.direct_pagination eq 'y'} <br /> {section loop=$cant_pages name=foo} {assign var=selector_offset value=$smarty.section.foo.index|times:$prefs.maxRecords} - <a class="prevnext" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?find={$find}&offset={$selector_offset}&sort_mode={$sort_mode}&category={$category}{/ajax_href}}> + <a class="prevnext" {ajax_href template="tiki-admin_quicktags_content.tpl" htmlelement="quicktags-content"}tiki-admin_quicktags.php?find={$find}&offset={$selector_offset}&sort_mode={$sort_mode}&category={$category}{/ajax_href}> {$smarty.section.foo.index_next}</a> {/section} {/if} |