X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=templates%2Fentry_show.tpl;h=69ec28d02659bce2558ac935253d17aec7046e00;hb=28dc08534bbf5b53f747bd0419d5259b5be60208;hp=6bf9d232dc0f58c0e1a438814c67305a9a393e01;hpb=5c01f43def8bd33ca32f1878844f091d826f55e3;p=contagged
diff --git a/templates/entry_show.tpl b/templates/entry_show.tpl
index 6bf9d23..69ec28d 100644
--- a/templates/entry_show.tpl
+++ b/templates/entry_show.tpl
@@ -1,133 +1,243 @@
-
-
- {$entry.givenname} {$entry.name}
-
-{if $entry.photo != ''}
-
-{/if}
+{include file="header.tpl"}
-{include file="ldaperror.tpl"}
+
+{if $entry.photo != ''}
+
![](img.php?dn={$entry.dn|escape:url})
+{/if}
+
+
+ {$entry.givenname|h} {$entry.name|h}
+
-
+
- {$lang.business}
- -
-
+ {$lang.business}
+
- {$entry.title} {$entry.givenname} {$entry.name}
- {if $entry.organization}{$entry.organization} {/if}
- {if $entry.office}{$entry.office} {/if}
- {if $entry.street}{$entry.street} {/if}
- {if $entry.location}{$entry.zip} {$entry.location} {/if}
-
+
+ {$entry.title|h} {$entry.givenname|h} {$entry.name|h}
+{if $entry.organization}
+ {$entry.organization|h}
+{/if}
+{if $entry.office}
+ {$entry.office|h}
+{/if}
+{if $entry.street}
+ {$entry.street|h}
+{/if}
+{if $entry.location}
+ {$entry.zip|h} {$entry.location|h}
+{/if}
+{if $entry.state}
+ {$entry.state|h}
+{/if}
+{if $entry.country}
+ {$entry.country|h}
+{/if}
+
|
- {if $entry.phone}
+{if $entry.phone}
- {$lang.phone}: |
- {$entry.phone} |
+ {$lang.phone}: |
+ {$entry.phone|h} |
- {/if}
- {if $entry.fax}
+{/if}
+{if $entry.switchboard}
- {$lang.fax}: |
- {$entry.fax} |
+ {$lang.switchboard}: |
+ {$entry.switchboard|h} |
- {/if}
- {if $entry.pager}
+{/if}
+{if $entry.fax}
- {$lang.pager}: |
- {$entry.pager} |
+ {$lang.fax}: |
+ {$entry.fax|h} |
- {/if}
- {if $entry.mail}
+{/if}
+{if $entry.pager}
- {$lang.mail}: |
-
- {foreach from=$entry.mail item=mail}
- {$mail}
- {/foreach}
- |
+ {$lang.pager}: |
+ {$entry.pager|h} |
- {/if}
+{/if}
+{if $managername}
+
+ {$lang.manager}: |
+ {$managername} |
+
+{/if}
+{if $entry.position}
+
+ {$lang.position}: |
+ {$entry.position|h} |
+
+{/if}
+{if $entry.department}
+
+ {$lang.department}: |
+ {$entry.department|h} |
+
+{/if}
+
-
+
- {$lang.private}
- -
-
+ {$lang.private}
+
- {if $entry.homestreet}
- {$entry.givenname} {$entry.name}
- {$entry.homestreet|nl2br}
- {/if}
+ {$entry.title|h} {$entry.givenname|h} {$entry.name|h}
+{if $entry.homestreet}
+ {$entry.homestreet|h|nl2br}
+{/if}
|
- {if $entry.homephone}
+{if $entry.homephone}
+
+ {$lang.homephone}: |
+ {$entry.homephone|h} |
+
+{/if}
+{if $entry.mobile}
+
+ {$lang.mobile}: |
+ {$entry.mobile|h} |
+
+{/if}
+{if $entry.birthday}
- {$lang.homephone}: |
- {$entry.homephone} |
+ {$lang.birthday}: |
+ {$entry.birthday|h} |
- {/if}
- {if $entry.mobile}
+{/if}
+{if $entry.anniversary}
- {$lang.mobile}: |
- {$entry.mobile} |
+ {$lang.anniversary}: |
+ {$entry.anniversary|date_format:$conf.dateformat|h} |
- {/if}
- {if $entry.url}
+{/if}
+{if $entry.spouse}
- {$lang.url}: |
- {$entry.url} |
+ {$lang.spouse}: |
+ {$entry.spouse|h} |
- {/if}
+{/if}
+
-
- {if $managername}
- {$lang.manager}
- -
-
+ {$lang.communication}
+
+{if $entry.url}
-
- {$managername}
+ | {$lang.url}: |
+ {$entry.url|http} |
+
+{/if}
+{if $entry.mail}
+
+ {$lang.mail}: |
+
+ {foreach from=$entry.mail item=mail}
+ {$mail|h}
+ {/foreach}
|
+{/if}
+{if $entry.instantmessenger}
+
+ {$lang.instantmessenger}: |
+ {$entry.instantmessenger|h} |
+
+{/if}
+{if $entry.ipphone}
+
+ {$lang.ipphone}: |
+ {$entry.ipphone|h} |
+
+{/if}
+
-
- {/if}
-
- {if $conf.extended}
- {include file="extended_show.tpl"}
- {/if}
+
-
-{$lang.note}
+{$lang.extended}
-{if $user}
-
-
-
-
+
+
+
+
+{if $fields.note}
+
+
+ {$lang.note}:
+
+ |
+
+
+ {$entry.note|noteparser}
+
+
+ |
+
{/if}
-
--
- {$entry.note|noteparser}
-
-
-{if $conf.openxchange}
- {include file="openxchange_show.tpl"}
+
+ |
+
+
+{if $fields._marker}
+
+
+ {$lang.marker}:
+
+ |
+
+
+ {foreach from=$entry.marker item=marker}
+ {$marker|h}
+ {/foreach}
+
+
+ |
+
+{/if}
+{if $entry.certificate}
+
+ {$lang.certificate}: |
+ |
+
{/if}
+{if $entry.domain}
+
+ {$lang.domain}: |
+ {$entry.domain|h} |
+
+{/if}
+{if $entry.timezone}
+
+ {$lang.timezone}: |
+ {$entry.timezone|h} |
+
+{/if}
+
+ |
+
+
-
+
+{include file="footer.tpl"}
|
|