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-webmail_contacts.tpl
Edit CSS
Template listing
<!DOCTYPE html> <html lang="{$prefs.language}"> <head> {include file='header.tpl'} <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <div id="tiki-clean" class="container"> <h2>{tr}Contacts{/tr}</h2> <div class="row"> <div class="col-md-12"> {include file='find.tpl'} {initials_filter_links} <div class="table-responsive"> <table class="table"> <tr> <th> <a href="tiki-webmail_contacts.php?element={$element}&section=contacts&offset={$offset}&sort_mode={if $sort_mode eq 'firstName_desc'}firstName_asc{else}firstName_desc{/if}"> {tr}First Name{/tr} </a> </th> <th> <a href="tiki-webmail_contacts.php?element={$element}&section=contacts&offset={$offset}&sort_mode={if $sort_mode eq 'lastName_desc'}lastName_asc{else}lastName_desc{/if}"> {tr}Last Name{/tr} </a> </th> <th> <a href="tiki-webmail_contacts.php?element={$element}&section=contacts&offset={$offset}&sort_mode={if $sort_mode eq 'email_desc'}email_asc{else}email_desc{/if}"> {tr}Email{/tr} </a> </th> <th> <a href="tiki-webmail_contacts.php?element={$element}&section=contacts&offset={$offset}&sort_mode={if $sort_mode eq 'nickname_desc'}nickname_asc{else}nickname_desc{/if}"> {tr}Nickname{/tr} </a> </th> </tr> {section name=user loop=$channels} <tr> <td class="text">{$channels[user].firstName}</td> <td class="text">{$channels[user].lastName}</td> <td class="email"> <a class="link" href="#" onclick="var em = window.opener.document.getElementById('{$element}').value; if (em != '') window.opener.document.getElementById('{$element}').value = window.opener.document.getElementById('{$element}').value + ', {$channels[user].email}'; if (em == '') window.opener.document.getElementById('{$element}').value = window.opener.document.getElementById('{$element}').value + '{$channels[user].email}';">{* TODO: optimize the Javascript code *} {$channels[user].email} </a> [ <form style="display: inline;" action="tiki-webmail_contacts.php" method="post"> {ticket} <input type="hidden" name="element" value="{$element}"> <input type="hidden" name="section" value="contacts"> <input type="hidden" name="offset" value="{$offset}"> <input type="hidden" name="sort_mode" value="{$sort_mode}"> <input type="hidden" name="find" value="{$find}"> <input type="hidden" name="initial" value="{$setInitial}"> <input type="hidden" name="remove" value="{$channels[user].contactId}"> <button id="deleteButton" type="button" onClick="show_alert(this.form);" class="btn btn-link px-0 pt-0 pb-0" title=":{tr}Delete{/tr}"> {icon name='delete'} </button> </form> <script> function show_alert(form) { if(confirm("Are you sure you want to delete this contact?")) { form.submit(); } } </script> ] </td> <td class="text">{$channels[user].nickname}</td> </tr> {/section} </table> </div> <div class="mx-auto"> {if $prev_offset >= 0} [<a class="prevnext" href="tiki-webmail_contacts.php?element={$element}&section=contacts&find={$find}&offset={$prev_offset}&sort_mode={$sort_mode}"> {tr}Prev{/tr} </a> ] {/if} {tr}Page:{/tr} {$actual_page}/{if $cant_pages > 0}{$cant_pages}{else}1{/if} {if $next_offset >= 0} [ <a class="prevnext" href="tiki-webmail_contacts.php?element={$element}&section=contacts&find={$find}&offset={$next_offset}&sort_mode={$sort_mode}"> {tr}Next{/tr} </a>] {/if} {if $prefs.direct_pagination eq 'y'} <br> {section loop=$cant_pages name=foo} {assign var=selector_offset value=$smarty.section.foo.index|times:$prefs.maxRecords} <a class="prevnext" href="tiki-webmail_contacts.php?element={$element}&section=contacts&find={$find}&offset={$selector_offset}&sort_mode={$sort_mode}"> {$smarty.section.foo.index_next} </a> {/section} {/if} </div> </div> </div> </div> </body> </html>
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