-<h1>
- <img src="pix/{$entry.type}.png" border="0" width="22" height="22" align="middle" title="{$entry.type}">
- {$entry.givenname} {$entry.name}
-</h1>
+{include file="header.tpl"}
+
{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>
-{include file="ldaperror.tpl"}
-
-
-<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}');" />
- <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}');" />
+ <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>
{include file="openxchange_show.tpl"}
{/if}
-<br><br><br>
-
+{include file="footer.tpl"}