diff options
| author | bitweaver.org <bitweaver@users.sourceforge.net> | 2005-06-19 06:10:37 +0000 |
|---|---|---|
| committer | bitweaver.org <bitweaver@users.sourceforge.net> | 2005-06-19 06:10:37 +0000 |
| commit | 7a60287675715612fae9e9fe3e53bb3ea94f70a1 (patch) | |
| tree | 1fd007f0f6356a9c5358ec3c22fab5b665097a09 /templates/theme_control.tpl | |
| download | themes-7a60287675715612fae9e9fe3e53bb3ea94f70a1.tar.gz themes-7a60287675715612fae9e9fe3e53bb3ea94f70a1.tar.bz2 themes-7a60287675715612fae9e9fe3e53bb3ea94f70a1.zip | |
IMPORT TikiPro CLYDE FINAL
Diffstat (limited to 'templates/theme_control.tpl')
| -rw-r--r-- | templates/theme_control.tpl | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/templates/theme_control.tpl b/templates/theme_control.tpl new file mode 100644 index 0000000..92db7cb --- /dev/null +++ b/templates/theme_control.tpl @@ -0,0 +1,108 @@ +<div class="floaticon">{bithelp}</div> + +<div class="admin themecontrol"> +<div class="header"> +<h1>{tr}Theme Control Center: categories{/tr}</h1> +</div> + +<div class="body"> + +<h2>{tr}Assign themes to categories{/tr}</h2> + +<div class="navbar above"> + <a href="{$gBitLoc.THEMES_PKG_URL}theme_control_objects.php">{tr}Control by Object{/tr}</a> + <a href="{$gBitLoc.THEMES_PKG_URL}theme_control_sections.php">{tr}Control by Sections{/tr}</a> +</div> + +<form action="{$gBitLoc.THEMES_PKG_URL}theme_control.php" method="post"> +<table class="panel"> +<tr> + <th>{tr}Category{/tr}</th> + <th>{tr}Theme{/tr}</th> + <th> </th> +</tr> +<tr> + <td> + <select name="category_id"> + {section name=ix loop=$categories} + <option value="{$categories[ix].category_id|escape}">{$categories[ix].name}</option> + {sectionelse} + <option>{tr}No records found{/tr}</option> + {/section} + </select> + </td> + <td> + <select name="theme"> + {section name=ix loop=$styles} + <option value="{$styles[ix]|escape}">{$styles[ix]}</option> + {sectionelse} + <option>{tr}No records found{/tr}</option> + {/section} + </select> + </td> + <td> + <input type="submit" name="assigcat" value="{tr}assign{/tr}" /> + </td> +</tr> +</table> +</form> + +<h2>{tr}Assigned categories{/tr}</h2> +<form method="get" action="{$gBitLoc.THEMES_PKG_URL}theme_control.php"> +<table class="find"> +<tr><td>{tr}Find{/tr}</td> + <td> + <input type="text" name="find" value="{$find|escape}" /> + </td><td> + <input type="submit" value="{tr}find{/tr}" name="search" /> + <input type="hidden" name="sort_mode" value="{$sort_mode|escape}" /> + </td> +</tr> +</table> +</form> + + +<form action="{$gBitLoc.THEMES_PKG_URL}theme_control.php" method="post"> +<table class="data"> +<tr> +<th> </th> +<th><a href="{$gBitLoc.THEMES_PKG_URL}theme_control.php?offset={$offset}&sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}category{/tr}</a></th> +<th><a href="{$gBitLoc.THEMES_PKG_URL}theme_control.php?offset={$offset}&sort_mode={if $sort_mode eq 'theme_desc'}theme_asc{else}theme_desc{/if}">{tr}theme{/tr}</a></th> +</tr> +{cycle values="even,odd" print=false} +{section name=user loop=$channels} +<tr class="{cycle}"> +<td><input type="checkbox" name="categ[{$channels[user].category_id}]" /></td> +<td>{$channels[user].name}</td> +<td>{$channels[user].theme}</td> +</tr> +{sectionelse} +<tr class="norecords"><td colspan="3">{tr}No records found{/tr}</td></tr> +{/section} +<tr><td colspan="3"><input type="submit" name="delete" value="{tr}Delete{/tr}" /></td></tr> +</table> +</form> + +</div> {* end .body *} + +<div class="pagination"> +{if $prev_offset >= 0} +[<a href="{$gBitLoc.THEMES_PKG_URL}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 href="{$gBitLoc.THEMES_PKG_URL}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 href="{$gBitLoc.THEMES_PKG_URL}theme_control.php?tasks_use_dates={$tasks_use_dates}&find={$find}&offset={$selector_offset}&sort_mode={$sort_mode}"> +{$smarty.section.foo.index_next}</a> +{/section} +{/if} +</div> + +{include file="bitpackage:themes/theme_control_help.tpl"} + +</div> {* end .themecontrol *} |
