Loading...
Skip to main content
Site identity, navigation, etc.
Log in
Username
Password
I forgot my password
CapsLock is on.
Log in
Stay in SSL mode
Navigation and related functionality and content
Related content
View template: tiki-theme_control_objects.tpl
Edit CSS
Template listing
{title help="Theme Control"}{tr}Theme Control:{/tr} {tr}Objects{/tr}{/title} <div class="t_navbar btn-group"> {button href="tiki-theme_control.php" class="btn btn-primary" _text="{tr}Control by Categories{/tr}"} {button href="tiki-theme_control_sections.php" class="btn btn-primary" _text="{tr}Control by Sections{/tr}"} </div> <h2>{tr}Assign themes to objects{/tr}</h2> <form id='objform' action="tiki-theme_control_objects.php" method="post" {*class="d-flex flex-row flex-wrap align-items-center"*} role="form"> {ticket} <div class="row mb-3"> <label for="type" class="col-sm-2 col-form-label">{tr}Type{/tr}</label> <div class="col-sm-10"> <select name="type" onchange="javascript:document.getElementById('objform').submit();" class="form-select"> {section name=ix loop=$objectypes} <option value="{$objectypes[ix]|escape}" {if $type eq $objectypes[ix]}selected="selected"{/if}>{$objectypes[ix]}</option> {/section} </select> {*<input type="submit" class="btn btn-primary btn-sm" name="settype" value="{tr}Set{/tr}">*} </div> </div> <div class="row mb-3"> <label for="objdata" class="col-sm-2 col-form-label">{tr}Object{/tr}</label> <div class="col-sm-10"> <select name="objdata" class="form-select"> {section name=ix loop=$objects} <option value="{$objects[ix].objId|escape}_{$objects[ix].objName}"{if $a_object eq $objects[ix].objId|cat:'|'|cat:$objects[ix].objName} selected{/if}>{$objects[ix].objName}</option> {/section} </select> </div> </div> <div class="row mb-3"> <label for="theme" class="col-sm-2 col-form-label">{tr}Theme{/tr}</label> <div class="col-sm-10"> <select name="theme" class="form-select"> {foreach from=$themes key=theme item=theme_name} <option value="{$theme|escape}">{$theme_name}</option> {/foreach} </select> </div> </div> <input type="submit" class="btn btn-primary mb-2" name="assign" value="{tr}Assign{/tr}"> </form> <h2>{tr}Assigned objects{/tr}</h2> {include file='find.tpl'} <form action="tiki-theme_control_objects.php" method="post" class="form" role="form"> {ticket} <input type="hidden" name="type" value="{$type|escape}"> <div class="table-responsive themeobj-table"> <table class="table"> <tr> <th><button type="submit" class="btn btn-warning btn-sm" name="delete" title="{tr}Delete selected{/tr}">{icon name="delete"}</button></th> <th> <a href="tiki-theme_control_objects.php?offset={$offset}&sort_mode={if $sort_mode eq 'type_desc'}type_asc{else}type_desc{/if}"> {tr}Type{/tr} </a> </th> <th> <a href="tiki-theme_control_objects.php?offset={$offset}&sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}"> {tr}Name{/tr} </a> </th> <th> <a href="tiki-theme_control_objects.php?offset={$offset}&sort_mode={if $sort_mode eq 'theme_desc'}theme_asc{else}theme_desc{/if}"> {tr}Theme{/tr}</a> </th> </tr> {section name=user loop=$channels} <tr> <td class="checkbox-cell"> <input type="checkbox" class="form-check-input" aria-label="{tr}Select{/tr}" name="obj[{$channels[user].objId}]"> </td> <td class="text">{$channels[user].type}</td> <td class="text">{$channels[user].name}</td> <td class="text">{$channels[user].theme}</td> </tr> {/section} </table> </div> </form> {pagination_links cant=$cant_pages step=$prefs.maxRecords offset=$offset}{/pagination_links}
Related content
Most Popular Tags
adze
american woods
axe
broadleaf
broadleaf aspen
broadleafs
community
conifers
dendrology
eco friendly
education
froe
glossary
green
green woodworking
hammer
hard wood
hard woods
hardwoods
hickory
history
how to
joinery
literature
machinery
material processing
media
merchants
mortise
people
plane
poplar
safety
shaker
shave
society
soft woods
spokeshave
sustainable
template
tenon
terminology
tools
wood
works