]> git.sur5r.net Git - contagged/blob - templates/footer.tpl
initial checkin
[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 $user}
15           <a href="import.php"><img src="pix/import.png" border="0" width="22" height="22" align="middle">{$lang.vcfimport}</a> 
16         {if $dn}
17           {if $smarty.request.mode == 'edit'}
18             <a href="entry.php?dn={$dn|escape:url}"><img src="pix/show.png" border="0" width="22" height="22" align="middle">{$lang.show}</a>
19           {elseif $smarty.request.mode != 'copy'}
20             <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>
21             <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>
22             <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>
23           {/if}
24         {/if}
25           <a href="entry.php?mode=edit"><img src="pix/new.png" border="0" width="22" height="22" align="middle">{$lang.new}</a>
26       {/if}
27       </td>
28     </tr></table>
29   </td>
30 </tr>
31 <tr>
32   <td class="footrow">
33     {if $user == ''}
34       <a href="login.php"><img src="pix/login.png" border="0" width="22" height="22" align="middle"> {$lang.login}</a>&nbsp;&nbsp;&nbsp;
35       {$lang.notloggedin}
36     {else}
37       <a href="login.php?username="><img src="pix/logout.png" border="0" width="22" height="22" align="middle"> {$lang.logout}</a>&nbsp;&nbsp;&nbsp;
38       {$lang.loggedinas} <b>{$user}</b>
39     {/if}
40   </td>
41 </tr>
42 </table>