0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
templates
/
[
Home
]
File: tiki-webmail_contacts.tpl
<!DOCTYPE html> {* Index we display a wiki page here *} <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="StyleSheet" href="styles/{$prefs.style}" type="text/css" /> {include file='bidi.tpl'} <title>{tr}Address book{/tr}</title> </head> <body> <div id="tiki-clean"> <h2>{tr}Contacts{/tr}</h2> <div align="center"> {include file='find.tpl'} {initials_filter_links} <table class="normal"> <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> {cycle values="odd,even" print=false} {section name=user loop=$channels} <tr class="{cycle}"> <td class="text">{$channels[user].firstName}</td> <td class="text">{$channels[user].lastName}</td> <td class="email"> <a class="link" href="#" onclick="javascript:window.opener.document.getElementById('{$element}').value=window.opener.document.getElementById('{$element}').value + '{$channels[user].email}' + ' ';"> {$channels[user].email} </a> [ <a class="link" href="tiki-webmail_contacts.php?element={$element}&section=contacts&offset={$offset}&sort_mode={$sort_mode}&find={$find}&remove={$channels[user].contactId}" title="{tr}Delete{/tr}"> {icon _id='cross' alt="{tr}Delete{/tr}"} </a> ] </td> <td class="text">{$channels[user].nickname}</td> </tr> {/section} </table> <div class="mini"> {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}/{$cant_pages} {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> </body> </html>