]> git.sur5r.net Git - contagged/commitdiff
photo size added
authorAndreas Gohr <gohr@cosmocode.de>
Thu, 19 Jan 2006 14:44:07 +0000 (15:44 +0100)
committerAndreas Gohr <gohr@cosmocode.de>
Thu, 19 Jan 2006 14:44:07 +0000 (15:44 +0100)
darcs-hash:20060119144407-6e07b-276c85f0891fbf52dc526557c7948e880a0cff38.gz

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}