2 {if $user or !$conf.userlogreq}
6 <a href="orgs.php" class="ed_orgs">{$lang.orgs}</a>
9 <li class="sep"> </li>
11 {if $user} <!-- new contact -->
13 <a href="entry.php?mode=edit" class="ed_new">{$lang.new}</a>
17 <li class="sep"> </li>
19 {if $dn} <!-- begin contact page functions -->
21 {if $user} <!-- begin editing functions -->
23 <!-- edit/show, copy, delete -->
24 {if $smarty.request.mode == 'edit'}
26 <a href="entry.php?dn={$dn|escape:url}" class="ed_show">{$lang.show}</a>
28 {elseif $smarty.request.mode != 'copy'}
30 <a href="entry.php?dn={$dn|escape:url}&mode=edit" class="ed_edit">{$lang.edit}</a>
33 <a href="entry.php?dn={$dn|escape:url}&mode=copy" class="ed_copy">{$lang.copy}</a>
36 <a href="entry.php?dn={$dn|escape:url}&del=1" onclick="return confirm('{$lang.msg_reallydel}');"
37 class="ed_delete">{$lang.delete}</a>
41 {/if} <!-- end editing functions -->
45 <a href="entry.php?dn={$dn|escape:url}&mode=vcf" class="ed_vcfexport">{$lang.vcfexport}</a>
49 {if $smarty.request.mode == 'map' && $conf.gmapkey}
51 <a href="entry.php?dn={$dn|escape:url}" class="ed_show">{$lang.show}</a>
53 {elseif $conf.gmapkey}
55 <a href="entry.php?dn={$dn|escape:url}&mode=map" class="ed_map">{$lang.map}</a>
59 <li class="sep"> </li>
60 {/if} <!-- end contact page functions -->
63 {if $list} <!-- export -->
64 {if $smarty.request.export != 'map' && $conf.gmapkey}
66 <a href="index.php?filter={$filter|escape:url}&marker={$marker|escape:url}&search={$search|escape:url}&org={$org|escape:url}&export=map" class="ed_map">{$lang.map}</a>
70 <a href="index.php?filter={$filter|escape:url}&marker={$marker|escape:url}&search={$search|escape:url}&org={$org|escape:url}&export=csv"
71 class="ed_csvexport">{$lang.csvexport}</a>
75 {if $user} <!-- import -->
77 <a href="import.php" class="ed_vcfimport">{$lang.vcfimport}</a>
85 <a href="help.php" class="ed_help">{$lang.help}</a>