From 6f3a0c8c1a1e0ded813fc79568ef096312a51267 Mon Sep 17 00:00:00 2001 From: henke Date: Wed, 16 May 2007 17:24:24 +0200 Subject: [PATCH] show: restructuring, adding new fields, ... darcs-hash:20070516152424-1b98d-38a30f45639323a2f02e48f0b485ed40d2a78cca.gz --- templates/entry_show.tpl | 220 ++++++++++++++++++++++++++++++--------- 1 file changed, 171 insertions(+), 49 deletions(-) diff --git a/templates/entry_show.tpl b/templates/entry_show.tpl index fe5c2d5..e9678b6 100644 --- a/templates/entry_show.tpl +++ b/templates/entry_show.tpl @@ -17,43 +17,74 @@ {$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} -
+{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} +{if $entry.state} + {$entry.state} +{/if} +{if $entry.country} + {$entry.country} +{/if} +

- {if $entry.phone} +{if $entry.phone} {$lang.phone}: {$entry.phone} - {/if} - {if $entry.fax} +{/if} +{if $entry.switchboard} + + {$lang.switchboard}: + {$entry.switchboard} + +{/if} +{if $entry.fax} {$lang.fax}: {$entry.fax} - {/if} - {if $entry.pager} +{/if} +{if $entry.pager} {$lang.pager}: {$entry.pager} - {/if} - {if $entry.mail} +{/if} +{if $managername} - {$lang.mail}: - - {foreach from=$entry.mail item=mail} - {$mail}
- {/foreach} - + {$lang.manager}: + {$managername} + +{/if} +{if $entry.position} + + {$lang.position}: + {$entry.position} + +{/if} +{if $entry.department} + + {$lang.department}: + {$entry.department} - {/if} +{/if} + + + @@ -63,69 +94,160 @@ - {if $entry.homephone} +{if $entry.homephone} - {/if} - {if $entry.mobile} +{/if} +{if $entry.mobile} - {/if} - {if $entry.url} +{/if} +{if $entry.url} - {/if} +{/if} +{if $entry.birthday} + + + + +{/if} +{if $entry.anniversary} + + + + +{/if} +{if $entry.spouse} + + + + +{/if} +
- {if $entry.homestreet} - {$entry.givenname} {$entry.name}
- {$entry.homestreet|nl2br}

- {/if} + {$entry.title} {$entry.givenname} {$entry.name}
+{if $entry.homestreet} + {$entry.homestreet|nl2br}

+{/if}
{$lang.homephone}: {$entry.homephone}
{$lang.mobile}: {$entry.mobile}
{$lang.url}: {$entry.url}
{$lang.birthday}:{$entry.birthday}
{$lang.anniversary}:{$entry.anniversary|date_format:$conf.dateformat}
{$lang.spouse}:{$entry.spouse}
- {if $managername} - {$lang.manager} + {$lang.communication}
+{if $entry.mail} - + +{/if} +{if $entry.instantmessenger} + + + + +{/if} +{if $entry.ipphone} + + + + +{/if} +
- {$managername} + {$lang.mail}: + {foreach from=$entry.mail item=mail} + {$mail}
+ {/foreach}
{$lang.instantmessenger}:{$entry.instantmessenger}
{$lang.ipphone}:{$entry.ipphone}
- {/if} - {if $conf.extended} - {include file="extended_show.tpl"} - {/if}
-{$lang.note} -{if $user} - - - - + + + + + +
+ {$lang.extended} +
+ +{if $fields._marker} + + + + {/if} +{if $fields.note} + + + + +{/if} +
+ {$lang.marker}: + + + {foreach from=$entry.marker item=marker} + {$marker} + {/foreach} + + {if $user} + + {/if} +
+ {$lang.note}: + + {if $user} + + + + + {/if} +
+ {$entry.note|noteparser} +
+
+
+
+
+ +{if $entry.certificate} + + + + +{/if} +{if $entry.domain} + + + + +{/if} +{if $entry.timezone} + + + + +{/if} +
{$lang.certificate}:
+ +
{$lang.domain}:{$entry.domain}
{$lang.timezone}:{$entry.timezone}
+
+
-
- {$entry.note|noteparser} -
-{if $conf.openxchange} - {include file="openxchange_show.tpl"} -{/if} {include file="footer.tpl"} -- 2.39.5