$smarty->assign('filter',$_REQUEST['filter']);
$smarty->assign('marker',$_REQUEST['marker']);
$smarty->assign('search',$_REQUEST['search']);
+ $smarty->assign('org',$_REQUEST['org']);
//display templates
if(!empty($_REQUEST['export'])){
if ($conf['userlogreq'] == 1 && $user == ''){
{ldelim}
adr: '{$entry.street|escape:javascript}, {$entry.zip|escape:javascript} {$entry.location|escape:javascript}',
- info: '\x3ch4\x3e{$entry.organization|escape:javascript}\x3c/h4\x3e{$entry.street|escape:javascript}\x3cbr /\x3e{$entry.zip|escape:javascript} {$entry.location|escape:javascript}'
+ info: '\x3ch4\x3e\x3ca href="entry.php?dn={$entry.dn|escape:url}"\x3e'+
+ '{$entry.givenname|escape:javascript} {$entry.name|escape:javascript}\x3c/a\x3e\x3c/h4\x3e'+
+ '{$entry.organization|escape:javascript}\x3cbr /\x3e'+
+ '{$entry.street|escape:javascript}\x3cbr /\x3e'+
+ '{$entry.zip|escape:javascript} {$entry.location|escape:javascript}'
{rdelim},
{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>
+ <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>
</li>
{/if}
<li>
- <a href="index.php?filter={$filter|escape:url}&marker={$marker|escape:url}&search={$search|escape:url}&export=csv"
+ <a href="index.php?filter={$filter|escape:url}&marker={$marker|escape:url}&search={$search|escape:url}&org={$org|escape:url}&export=csv"
class="ed_csvexport">{$lang.csvexport}</a>
</li>
{/if}