0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
tikiwiki
/
1.9.7-31
/
htdocs
/
templates
/
[
Home
]
File: tiki-theme_control.tpl
{*Smarty template*} <h1><a class="pagetitle" href="tiki-theme_control.php">{tr}Theme Control Center: categories{/tr}</a> {if $feature_help eq 'y'} <a href="{$helpurl}Theme+Control" target="tikihelp" class="tikihelp" title="{tr}ThemeControl{/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-theme_control.tpl" target="tikihelp" class="tikihelp" title="{tr}View tpl{/tr}: {tr}ThemeControl tpl{/tr}"> <img src="img/icons/info.gif" border="0" height="16" width="16" alt='{tr}edit tpl{/tr}' /></a>{/if}</h1> <div class="rbox" name="tip"> <div class="rbox-title" name="tip">{tr}Tip{/tr}</div> <div class="rbox-data" name="tip">{tr}To learn more about <a class="rbox-link" target="tikihelp" href="http://themes.tikiwiki.org">themes</a>.{/tr} </div> </div> <br /> <div class="simplebox"> <b>{tr}Theme is selected as follows{/tr}:</b><br /> 1. {tr}If a theme is assigned to the individual object that theme is used.{/tr}<br /> 2. {tr}If not then if a theme is assigned to the object's category that theme is used{/tr}<br /> 3. {tr}If not then a theme for the section is used{/tr}<br /> 4. {tr}If none of the above was selected the user theme is used{/tr}<br /> 5. {tr}Finally if the user didn't select a theme the default theme is used{/tr}<br /> </div> <br /><br /> <a class="linkbut" href="tiki-theme_control_objects.php">{tr}Control by Objects{/tr}</a> <a class="linkbut" href="tiki-theme_control_sections.php">{tr}Control by Sections{/tr}</a> <h2>{tr}Assign themes to categories{/tr}</h2> <form action="tiki-theme_control.php" method="post"> <table class="normal"> <tr> <td class="formcolor">{tr}Category{/tr}</td> <td class="formcolor">{tr}Theme{/tr}</td> <td class="formcolor"> </td> </tr> <tr> <td class="formcolor"> <select name="categId"> {section name=ix loop=$categories} <option value="{$categories[ix].categId|escape}">{$categories[ix].name} ({$categories[ix].categId})</option> {/section} </select> </td> <td class="formcolor"> <select name="theme"> {section name=ix loop=$styles} <option value="{$styles[ix]|escape}">{$styles[ix]}</option> {/section} </select> </td> <td class="formcolor"> <input type="submit" name="assigcat" value="{tr}assign{/tr}" /> </td> </tr> </table> </form> <h2>{tr}Assigned categories{/tr}</h2> <table class="findtable"> <tr><td class="findtable">{tr}Find{/tr}</td> <td class="findtable"> <form method="get" action="tiki-theme_control.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> <form action="tiki-theme_control.php" method="post"> <table class="normal"> <tr> <td class="heading"><input type="submit" name="delete" value="{tr}del{/tr}" /></td> <td class="heading" ><a class="tableheading" href="tiki-theme_control.php?offset={$offset}&sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}category{/tr}</a></td> <td class="heading" ><a class="tableheading" href="tiki-theme_control.php?offset={$offset}&sort_mode={if $sort_mode eq 'theme_desc'}theme_asc{else}theme_desc{/if}">{tr}theme{/tr}</a></td> </tr> {cycle values="odd,even" print=false} {section name=user loop=$channels} <tr> <td class="{cycle advance=false}"> <input type="checkbox" name="categ[{$channels[user].categId}]" /> </td> <td class="{cycle advance=false}">{$channels[user].name} ({$channels[user].categId})</td> <td class="{cycle}">{$channels[user].theme}</td> </tr> {/section} </table> </form> <div class="mini"> <div align="center"> {if $prev_offset >= 0} [<a class="prevnext" href="tiki-theme_control.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-theme_control.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-theme_control.php?tasks_useDates={$tasks_useDates}&find={$find}&offset={$selector_offset}&sort_mode={$sort_mode}"> {$smarty.section.foo.index_next}</a> {/section} {/if} </div> </div>