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
View template: tiki-admin_newsletters.tpl
Edit CSS
Template listing
{title help="Newsletters"}{tr}Admin newsletters{/tr}{/title} <div class="t_navbar mb-3 row mb-4"> {button href="tiki-admin_newsletters.php?cookietab=2" _icon_name="create" _text="{tr}Create{/tr}"} <a role="link" href="tiki-newsletters.php" class="btn btn-link" title="{tr}List{/tr}">{icon name="list"} {tr}List Newsletters{/tr}</a> <a role="link" href="tiki-send_newsletters.php" class="btn btn-link" title="{tr}Send{/tr}">{icon name="envelope"} {tr}Send Newsletters{/tr}</a> {* {button href="tiki-newsletters.php" _class="btn btn-info" _icon_name="list" _text="{tr}List{/tr}"} {button href="tiki-send_newsletters.php" _class="btn btn-primary" _icon_name="envelope" _text="{tr}Send{/tr}"} *} </div> {tabset} {tab name="{tr}Newsletters{/tr}"} <h2>{tr}Newsletters{/tr}</h2> {if $channels or ($find ne '')} {include file='find.tpl'} {/if} <div class="{if $js}table-responsive{/if}"> {* table-responsive class cuts off css drop-down menus *} <table class="table table-striped table-hover"> <tr> <th>{self_link _sort_arg='sort_mode' _sort_field='nlId'}{tr}ID{/tr}{/self_link}</th> <th>{self_link _sort_arg='sort_mode' _sort_field='name'}{tr}Newsletter{/tr}{/self_link}</th> <th>{self_link _sort_arg='sort_mode' _sort_field='author'}{tr}Author{/tr}{/self_link}</th> <th>{self_link _sort_arg='sort_mode' _sort_field='users'}{tr}Users{/tr}{/self_link}</th> <th>{self_link _sort_arg='sort_mode' _sort_field='editions'}{tr}Editions{/tr}{/self_link}</th> <th>{tr}Drafts{/tr}</th> <th>{self_link _sort_arg='sort_mode' _sort_field='lastSent'}{tr}Last Sent{/tr}{/self_link}</th> <th></th> </tr> {section name=user loop=$channels} <tr> <td class="id">{self_link cookietab='2' _anchor='anchor2' nlId=$channels[user].nlId _title="{tr}Edit{/tr}"}{$channels[user].nlId}{/self_link}</td> <td class="text"> {self_link cookietab='2' _anchor='anchor2' nlId=$channels[user].nlId _title="{tr}Edit{/tr}"}{$channels[user].name|escape}{/self_link} <div class="subcomment">{$channels[user].description|escape|nl2br}</div> </td> <td class="username">{$channels[user].author}</td> <td class="integer">{$channels[user].users} ({$channels[user].confirmed})</td> <td class="integer">{$channels[user].editions}</td> <td class="integer">{$channels[user].drafts}</td> <td class="date"> {if empty($channels[user].lastSent)} {tr}Never{/tr} {else} {$channels[user].lastSent|tiki_short_datetime} {/if} </td> <td class="action"> {actions} {strip} <action> {permission_link mode=text type=newsletter permType=newsletters id=$channels[user].nlId title=$channels[user].name} </action> <action> <a href="tiki-admin_newsletter_subscriptions.php?nlId={$channels[user].nlId}"> {icon name='group' _menu_text='y' _menu_icon='y' alt="{tr}Subscriptions{/tr}"} </a> </action> <action> <a href="tiki-send_newsletters.php?nlId={$channels[user].nlId}"> {icon name='envelope' _menu_text='y' _menu_icon='y' alt="{tr}Send newsletter{/tr}"} </a> </action> <action> <a href="tiki-newsletter_archives.php?nlId={$channels[user].nlId}"> {icon name='file-archive' _menu_text='y' _menu_icon='y' alt="{tr}Archives{/tr}"} </a> </action> <action> {self_link _icon_name='edit' _menu_text='y' _menu_icon='y' cookietab='2' _anchor='anchor2' nlId=$channels[user].nlId} {tr}Edit{/tr} {/self_link} </action> <action> {self_link _icon_name='remove' _menu_text='y' _menu_icon='y' remove=$channels[user].nlId _onclick="confirmPopup('{tr}Remove newsletter?{/tr}', '{ticket mode=get}')"} {tr}Remove{/tr} {/self_link} </action> {/strip} {/actions} </td> </tr> {sectionelse} {norecords _colspan=8} {/section} </table> </div> {pagination_links cant=$cant_pages step=$prefs.maxRecords offset=$offset}{/pagination_links} {/tab} {tab name="{tr}Create/Edit Newsletters{/tr}"} <h2>{tr}Create/Edit Newsletters{/tr}</h2> {if isset($individual) && $individual eq 'y'} {permission_link mode=link type=newsletter permType=newsletters id=$info.nlId title=$info.name label="{tr}There are individual permissions set for this newsletter{/tr}"} {/if} <form action="tiki-admin_newsletters.php" method="post"> {ticket} <input type="hidden" name="nlId" value="{$info.nlId|escape}"> <input type="hidden" name="author" value="{$user|escape}"> <div class="mb-3 row"> <label class="col-sm-3 col-form-label"> {tr}Name:{/tr} </label> <div class="col-sm-9"> <input class="form-control" type="text" name="name" value="{$info.name|escape}"> </div> </div> <div class="mb-3 row"> <label class="col-sm-3 col-form-label" for="description">{tr}Description:{/tr}</label> <div class="col-sm-9"> <textarea class="form-control" name="description" id="description">{$info.description|escape}</textarea> </div> </div> <div class="col-sm-12 offset-sm-3"> <div class="form-check"> <label> <input type="checkbox" class="form-check-input" name="allowUserSub" {if $info.allowUserSub eq 'y'}checked="checked"{/if}> {tr}Users can subscribe/unsubscribe to this list{/tr} </label> </div> </div> <div class="col-sm-12 offset-sm-3"> <div class="form-check"> <label> <input type="checkbox" class="form-check-input" name="allowAnySub" {if $info.allowAnySub eq 'y'}checked="checked"{/if}> {tr}Users can subscribe any email address{/tr} </label> </div> </div> <div class="col-sm-12 offset-sm-3"> <div class="form-check"> <label> <input type="checkbox" class="form-check-input" name="unsubMsg" {if $info.unsubMsg eq 'y'}checked="checked"{/if}> {tr}Add unsubscribe instructions to each newsletter{/tr} </label> </div> </div> <div class="col-sm-12 offset-sm-3"> <div class="form-check"> <label> <input type="checkbox" class="form-check-input" name="validateAddr" {if $info.validateAddr eq 'y'}checked="checked"{/if}> {tr}Validate email addresses{/tr} </label> </div> </div> <div class="col-sm-12 offset-sm-3"> <div class="form-check"> <label> <input type="checkbox" class="form-check-input" name="allowTxt" {if $info.allowTxt eq 'y'}checked="checked"{/if}> {tr}Allow customized text message to be sent with the HTML version{/tr} </label> </div> </div> <div class="col-sm-12 offset-sm-3"> <div class="form-check"> <label> <input type="checkbox" class="form-check-input" name="allowArticleClip" {if $info.allowArticleClip eq 'y'}checked="checked"{/if}> {tr}Allow clipping of articles into newsletter{/tr} </label> </div> </div> <div class="col-sm-12 offset-sm-3"> <div class="form-check"> <label> <input type="checkbox" class="form-check-input" name="autoArticleClip" {if $info.autoArticleClip eq 'y'}checked="checked"{/if}> {tr}Automatically clip articles into newsletter{/tr} </label> </div> </div> <div class="mb-3 row"> <div class="col-sm-12 offset-sm-3"> <div class="form-check"> <label> <input type="checkbox" class="form-check-input" name="emptyClipBlocksSend" {if $info.emptyClipBlocksSend eq 'y'}checked="checked"{/if}> {tr}Do not send newsletter if clip is empty{/tr} </label> </div> </div> </div> <div class="mb-3 row"> <label class="col-sm-3 col-form-label" for="articleClipRangeDays">{tr}Clip articles published in the past number of days{/tr}</label> <div class="col-sm-9"> <input type="text" class="form-control" name="articleClipRangeDays" id="articleClipRangeDays" value="{$info.articleClipRangeDays|escape}"> </div> </div> <div class="mb-3 row"> <label class="col-sm-3 col-form-label" for="articleClipTypes">{tr}Article types to clip{/tr}</label> <div class="col-sm-9"> <select id="articleClipTypes" name="articleClipTypes[]" class="form-control" multiple="multiple"> {section name=type loop=$articleTypes} <option value="{$articleTypes[type]}" {if is_array($info.articleClipTypes) && in_array($articleTypes[type], $info.articleClipTypes)}selected="selected"{/if}>{$articleTypes[type]|escape}</option> {/section} </select> </div> </div> <div class="text-center"> <input type="submit" class="btn btn-primary" name="save" value="{tr}Save{/tr}"> </div> </form> {/tab} {/tabset}
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