<ul>
- <!-- help -->
- <li>
- <a href="help.php" class="ed_help">{$lang.help}</a>
- </li>
-
<!-- company list -->
<li>
<a href="orgs.php" class="ed_orgs">{$lang.orgs}</a>
<li class="sep"> </li>
{if $dn} <!-- begin contact page functions -->
+
{if $user} <!-- begin editing functions -->
<!-- edit/show, copy, delete -->
<a href="entry.php?dn={$dn|escape:url}&mode=vcf" class="ed_vcfexport">{$lang.vcfexport}</a>
</li>
+ <!-- show on map -->
+ {if $smarty.request.mode == 'map' && $conf.gmapkey}
+ <li>
+ <a href="entry.php?dn={$dn|escape:url}" class="ed_show">{$lang.show}</a>
+ </li>
+ {elseif $conf.gmapkey}
+ <li>
+ <a href="entry.php?dn={$dn|escape:url}&mode=map" class="ed_map">{$lang.map}</a>
+ </li>
+ {/if}
+
<li class="sep"> </li>
{/if} <!-- end contact page functions -->
{if $list} <!-- export -->
+ {if $smarty.request.export != 'map' && $conf.gmapkey}
+ <li>
+ <a href="index.php?filter={$filter|escape:url}&marker={$marker|escape:url}&search={$search|escape:url}&export=map" class="ed_map">{$lang.map}</a>
+ </li>
+ {/if}
<li>
<a href="index.php?filter={$filter|escape:url}&marker={$marker|escape:url}&search={$search|escape:url}&export=csv"
class="ed_csvexport">{$lang.csvexport}</a>
{/if}
+ <!-- help -->
+ <li class="right">
+ <a href="help.php" class="ed_help">{$lang.help}</a>
+ </li>
+
+
</ul>