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-user_mailin.tpl
Edit CSS
Template listing
{title}{tr}My Mail-in{/tr}{/title} {include file='tiki-mytiki_bar.tpl'} <script type="text/javascript"> function structSelChanged(itemNr) { var elem = document.getElementById('changed_'+itemNr); if (elem != null) { elem.value='y'; } } function confirm_delete() { if (confirm('{tr}Are you sure you want to delete the routing rule?{/tr}')) { return true; } else { return false; } } </script> <p>{tr}Configure how your mailed-in wiki pages are to be linked / organized.{/tr}</p> {tabset name="user_mailin"} {tab name="{tr}Structure Routing{/tr}"} <h2>{tr}Structure Routing{/tr}</h2> <p> {tr}Structure routing will link mailed-in pages as a child to the specified structure node. Only email matching the filters are linked.{/tr}<br/> {tr}Only newly created pages, using the mail-in wiki-put function, are affected.{/tr} </p> {if $prefs.feature_wiki_structure eq 'y'} <form action="#" method="POST"> <table id="table_user_mailin"> <tr> <th>Subject pattern</th> <th>Body pattern</th> <th>Structure</th> <th>Parent page name</th> <th>Active</th> </tr> {foreach from=$userStructs item=ustruct name=mstruct} <tr> <td><input type="text" name="mailinSubjPatt{$smarty.foreach.mstruct.iteration}" size="25" value="{$ustruct.subj_pattern}" onchange="structSelChanged({$smarty.foreach.mstruct.iteration});"/></td> <td><input type="text" name="mailinBodyPatt{$smarty.foreach.mstruct.iteration}" size="25" value="{$ustruct.body_pattern}" onchange="structSelChanged({$smarty.foreach.mstruct.iteration});"/></td> <td> <select class="form-select" name="mailinStruct{$smarty.foreach.mstruct.iteration}" onchange="structSelChanged({$smarty.foreach.mstruct.iteration});"> {foreach from=$structs item=struct} <option value="{$struct.structure_id}" {if $struct.structure_id eq $ustruct.structure_id}selected='selected'"{/if}">{$struct.pageName}</option> {/foreach} </select> </td> <td><input type="text" name="mailinPar{$smarty.foreach.mstruct.iteration}" value="{$ustruct.pageName}" onchange="structSelChanged({$smarty.foreach.mstruct.iteration});" /></td> <td> <input type="checkbox" name="mailinAct{$smarty.foreach.mstruct.iteration}" {if $ustruct.is_active eq 'y'}checked="checked"{/if} onchange="structSelChanged({$smarty.foreach.mstruct.iteration});" /> <a href="?delete=y&mailin_struct_id={$ustruct.mailin_struct_id}" onclick="return confirm_delete();">{icon name='minus-circle' iclass='text-danger'}</a> {* Hidden field to track changes *} <input type="hidden" id="changed_{$smarty.foreach.mstruct.iteration}" name="changed_{$smarty.foreach.mstruct.iteration}" /> {* Hidden field to remember mailin_struct_id *} <input type="hidden" name="mailin_struct_id_{$smarty.foreach.mstruct.iteration}" value="{$ustruct.mailin_struct_id}" /> </td> </tr> {/foreach} {if isset($addNewRoute)} <tr> <td><input type="text" name="mailinSubjPattNew" size="25" /></td> <td><input type="text" name="mailinBodyPattNew" size="25" /></td> <td> <select name="mailinNewStruct" class="form-select"> <option value="0" selected></option> {foreach from=$structs item=struct2} <option value="{$struct2.structure_id}">{$struct2.pageName}</option> {/foreach} </select> </td> <td><input type="text" name="mailinParNew" /></td> <td><input type="checkbox" name="mailinActNew" /></td> </tr> {/if} </table> <input type="submit" class="btn btn-primary btn-sm" value="Save" /> </form> {else} <p> {tr}Wiki structures feature is not enabled{/tr} {if $tiki_p_admin eq 'y'} <blockquote> <a href="tiki-admin.php?page=wiki&highlight=feature_wiki_structure&cookietab=2"> {tr}Go to wiki structure setting{/tr} {icon name='structure'} </a> </blockquote> {/if} </p> {/if} {/tab} {/tabset} {$testing}
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