+{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}">
+ <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 != ''}
- <img src="img.php?dn={$entry.dn|escape:url}" align="right" class="photo">
-{/if}
-
-{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>
{/if}
</table>
</dd></dl>
- {if $conf.extended}
- {include file="extended_show.tpl"}
- {/if}
</td>
+
+
<td valign="top" width="50%">
<b>{$lang.private}</b>
<dl><dd>
</table>
</dd></dl>
- {if $entry.note}
- <b>{$lang.note}</b>
- <dl><dd>
- {$entry.note|nl2br}
- </dd></dl>
- {/if}
-
-
{if $managername}
<b>{$lang.manager}</b>
<dl><dd>
</dd></dl>
{/if}
+ {if $conf.extended}
+ {include file="extended_show.tpl"}
+ {/if}
</td>
</tr>
</table>
- {if $conf.openxchange}
- {include file="openxchange_show.tpl"}
- {/if}
-<br><br><br>
+<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}','{$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 class="notes"><dd id="nedit_insert">
+ {$entry.note|noteparser}
+</dd></dl>
+
+{if $conf.openxchange}
+ {include file="openxchange_show.tpl"}
+{/if}
+
+{include file="footer.tpl"}