From 7c7981d94b15c527de813663e34396ebfd63d6ee Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 26 Apr 2010 14:33:43 +0000 Subject: [PATCH] Updated reference templates git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17850 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/ihtml/themes/default/ldifViewer.tpl | 3 ++- .../plugins/generic/references/contents.tpl | 24 ++++++++++--------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/gosa-core/ihtml/themes/default/ldifViewer.tpl b/gosa-core/ihtml/themes/default/ldifViewer.tpl index dee813f29..6b46ce19e 100644 --- a/gosa-core/ihtml/themes/default/ldifViewer.tpl +++ b/gosa-core/ihtml/themes/default/ldifViewer.tpl @@ -1,4 +1,5 @@ - +

{t}Raw LDAP entry{/t}

+
 {$ldif}
 
diff --git a/gosa-core/plugins/generic/references/contents.tpl b/gosa-core/plugins/generic/references/contents.tpl index 3e2305752..6b420383b 100644 --- a/gosa-core/plugins/generic/references/contents.tpl +++ b/gosa-core/plugins/generic/references/contents.tpl @@ -1,29 +1,31 @@ -

{t}Object info{/t}

+

{t}Object information{/t}

- {if !$someACL|regex_replace:"/[cdmw]/":"" == "r"} - {msgPool type='permView'} - {else} - {if $modifyTimestamp==""} - Last modified: {t}Unknown{/t} - {else} - Last modified: {$modifyTimestamp} - {/if} + {if $completeACL|regex_replace:"/[cdmw]/":"" == "r"} + {/if}   - {if $completeACL|regex_replace:"/[cdmw]/":"" == "r"} - {t}View current entry ldif{/t}  + {if !$someACL|regex_replace:"/[cdmw]/":"" == "r"} + {msgPool type='permView'} + {else} + {if $modifyTimestamp==""} + {t}Last modification{/t}: {t}Unknown{/t} + {else} + {t}Last modification{/t}: {$modifyTimestamp} + {/if} {/if}
+
+
-- 2.30.2