]> git.sur5r.net Git - contagged/blobdiff - templates/entry_show.tpl
photo size added
[contagged] / templates / entry_show.tpl
index bcf378c84323d75f00df628a7f948ec5bd0a5ee8..6bf9d232dc0f58c0e1a438814c67305a9a393e01 100644 (file)
@@ -3,7 +3,7 @@
   {$entry.givenname} {$entry.name}
 </h1>
 {if $entry.photo != ''}
-  <img src="img.php?dn={$entry.dn|escape:url}" align="right" class="photo">
+  <a href="img.php?dn={$entry.dn|escape:url}"><img src="img.php?dn={$entry.dn|escape:url}" align="right" class="photo" width="130" /></a>
 {/if}
 
 {include file="ldaperror.tpl"}
 <hr noshade="noshade" size="1" />
 <b>{$lang.note}</b>
 
+{if $user}
  <img src="pix/phone.png" width="16" height="16" onclick="nedit_showEditor('call','{$entry.dn}');" />
  <img src="pix/email.png" width="16" height="16" onclick="nedit_showEditor('mail','{$entry.dn}');" />
  <img src="pix/arrow_right.png" width="16" height="16" onclick="nedit_showEditor('todo','{$entry.dn}');" />
  <img src="pix/note.png" width="16" height="16" onclick="nedit_showEditor('note','{$entry.dn}');" />
+{/if}
 
 <dl><dd id="nedit_insert">
   {$entry.note|noteparser}