]> git.sur5r.net Git - contagged/blobdiff - templates/entry_show.tpl
changed multifield character from * to _
[contagged] / templates / entry_show.tpl
index c1a73e4ed61710ff1a2afa2e6031bcacdabbedcc..fe5c2d5760f02ea2aed0e64898fe260920e95c6e 100644 (file)
@@ -1,14 +1,14 @@
 {include file="header.tpl"}
 
-<h1>
-  <img src="pix/{$entry.type}.png" border="0" width="22" height="22" align="middle" title="{$entry.type}">
-  {$entry.givenname} {$entry.name}
-</h1>
 {if $entry.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}
+<h1>
+  <img src="pix/{$entry.type}.png" border="0" width="22" height="22" align="middle" title="{$entry.type}" />
+  {$entry.givenname} {$entry.name}
+</h1>
 
-<table width="100%">
+<table width="100%" {if $user}ondblclick="window.location.href='entry.php?dn={$entry.dn|escape:url}&mode=edit'"{/if}>
   <tr>
     <td valign="top" width="50%">
       <b>{$lang.business}</b>
         </table>
       </dd></dl>
       {/if}
-              
+
       {if $conf.extended}
         {include file="extended_show.tpl"}
       {/if}
 <b>{$lang.note}</b>
 
 {if $user}
- <img src="pix/phone.png" width="16" height="16" onclick="nedit_showEditor('call','{$entry.dn}','{$user|escape:javascript}');" />
- <img src="pix/email.png" width="16" height="16" onclick="nedit_showEditor('mail','{$entry.dn}','{$user|escape:javascript}');" />
- <img src="pix/arrow_right.png" width="16" height="16" onclick="nedit_showEditor('todo','{$entry.dn}','{$user|escape:javascript}');" />
- <img src="pix/note.png" width="16" height="16" onclick="nedit_showEditor('note','{$entry.dn}','{$user|escape:javascript}');" />
+ <img src="pix/phone.png" width="16" height="16" onclick="nedit_showEditor('call','{$entry.dn}','{$user|escape:javascript}');" class="click" />
+ <img src="pix/email.png" width="16" height="16" onclick="nedit_showEditor('mail','{$entry.dn}','{$user|escape:javascript}');" class="click" />
+ <img src="pix/arrow_right.png" width="16" height="16" onclick="nedit_showEditor('todo','{$entry.dn}','{$user|escape:javascript}');" class="click" />
+ <img src="pix/note.png" width="16" height="16" onclick="nedit_showEditor('note','{$entry.dn}','{$user|escape:javascript}');" class="click" />
 {/if}
 
-<dl><dd id="nedit_insert">
+<dl class="notes"><dd id="nedit_insert">
   {$entry.note|noteparser}
 </dd></dl>