]> git.sur5r.net Git - contagged/blob - templates/footer.tpl
fixed marker and search for CSV export
[contagged] / templates / footer.tpl
1   </td>
2 </tr>
3
4 <tr>
5   <td class="buttonrow" align="right">
6     <table width="100%"><tr>
7       <td align="left">
8         <a href="orgs.php"><img src="pix/orgs.png" border="0" width="22" height="22" align="middle">{$lang.orgs}</a>
9       </td>
10       <td align="right">
11       {if $dn}
12         <a href="entry.php?dn={$dn|escape:url}&mode=vcf"><img src="pix/vcard.png" border="0" width="22" height="22" align="middle">{$lang.vcfexport}</a>
13       {/if}
14       {if $list}
15         <a href="index.php?filter={$filter|escape:url}&marker={$marker|escape:url}&search={$search|escape:url}&export=csv"><img src="pix/csv.png" border="0" width="22" height="22" align="middle">{$lang.csvexport}</a>
16       {/if}
17       {if $user}
18           <a href="import.php"><img src="pix/import.png" border="0" width="22" height="22" align="middle">{$lang.vcfimport}</a> 
19         {if $dn}
20           {if $smarty.request.mode == 'edit'}
21             <a href="entry.php?dn={$dn|escape:url}"><img src="pix/show.png" border="0" width="22" height="22" align="middle">{$lang.show}</a>
22           {elseif $smarty.request.mode != 'copy'}
23             <a href="entry.php?dn={$dn|escape:url}&mode=edit"><img src="pix/edit.png" border="0" width="22" height="22" align="middle">{$lang.edit}</a>
24             <a href="entry.php?dn={$dn|escape:url}&mode=copy"><img src="pix/copy.png" border="0" width="22" height="22" align="middle">{$lang.copy}</a>
25             <a href="entry.php?dn={$dn|escape:url}&del=1" onClick="return confirm('{$lang.msg_reallydel}');"><img src="pix/delete.png" border="0" width="22" height="22" align="middle">{$lang.delete}</a>
26           {/if}
27         {/if}
28           <a href="entry.php?mode=edit"><img src="pix/new.png" border="0" width="22" height="22" align="middle">{$lang.new}</a>
29       {/if}
30       </td>
31     </tr></table>
32   </td>
33 </tr>
34 <tr>
35   <td class="footrow">
36     {if $user == ''}
37       <a href="login.php"><img src="pix/login.png" border="0" width="22" height="22" align="middle"> {$lang.login}</a>&nbsp;&nbsp;&nbsp;
38       {$lang.notloggedin}
39     {else}
40       <a href="login.php?username="><img src="pix/logout.png" border="0" width="22" height="22" align="middle"> {$lang.logout}</a>&nbsp;&nbsp;&nbsp;
41       {$lang.loggedinas} <b>{$user}</b>
42     {/if}
43   </td>
44 </tr>
45 </table>