X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=templates%2Fentry_show.tpl;h=69ec28d02659bce2558ac935253d17aec7046e00;hb=28dc08534bbf5b53f747bd0419d5259b5be60208;hp=b87a69efefe63c00b0c1acb7786e634f77ae61cc;hpb=aa36c490d2218814cb6faa20e31c10b5599d4483;p=contagged
diff --git a/templates/entry_show.tpl b/templates/entry_show.tpl
index b87a69e..69ec28d 100644
--- a/templates/entry_show.tpl
+++ b/templates/entry_show.tpl
@@ -1,120 +1,243 @@
-
-
- {$entry.givenname} {$entry.name}
-
-{if $entry.photo != ''}
-
-{/if}
+{include file="header.tpl"}
-{include file="ldaperror.tpl"}
+
+{if $entry.photo != ''}
+
+{/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}
+
-
- {if $conf.extended}
- {include file="extended_show.tpl"}
- {/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} |
+ {$lang.homephone}: |
+ {$entry.homephone|h} |
- {/if}
- {if $entry.mobile}
+{/if}
+{if $entry.mobile}
- {$lang.mobile}: |
- {$entry.mobile} |
+ {$lang.mobile}: |
+ {$entry.mobile|h} |
- {/if}
- {if $entry.url}
+{/if}
+{if $entry.birthday}
+
+ {$lang.birthday}: |
+ {$entry.birthday|h} |
+
+{/if}
+{if $entry.anniversary}
+
+ {$lang.anniversary}: |
+ {$entry.anniversary|date_format:$conf.dateformat|h} |
+
+{/if}
+{if $entry.spouse}
- {$lang.url}: |
- {$entry.url} |
+ {$lang.spouse}: |
+ {$entry.spouse|h} |
- {/if}
+{/if}
+
+
+
+ {$lang.communication}
+
+{if $entry.url}
+
+ {$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 $entry.note}
- {$lang.note}
- -
- {$entry.note|nl2br}
-
- {/if}
+
+
+
+{$lang.extended}
- {if $managername}
- {$lang.manager}
- -
-
+
+
+
+
+{if $fields.note}
-
- {$managername}
+ |
+ {$lang.note}:
+
+ |
+
+
+ {$entry.note|noteparser}
+
+
+ |
+
+{/if}
+
+ |
+
+
+{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}
-
- {/if}
-
|
-
+
+
+{include file="footer.tpl"}
|
|