From b77af124b8f02b1c2d448a10de16990f70e52ec1 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 19 May 2010 08:45:21 +0000 Subject: [PATCH] Added a warning while LDAP properties are ignored. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18543 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/addons/propertyEditor/class_propertyEditor.inc | 1 + gosa-core/plugins/addons/propertyEditor/property-list.tpl | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc b/gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc index 4800151f7..d8d26e043 100644 --- a/gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc +++ b/gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc @@ -120,6 +120,7 @@ class propertyEditor extends management $smarty = get_smarty(); $smarty->assign("warningNotAccepted", $this->warningNotAccepted); + $smarty->assign("ignoreLdapProperties", $this->config->configRegistry->ignoreLdapProperties); return(management::execute()); } diff --git a/gosa-core/plugins/addons/propertyEditor/property-list.tpl b/gosa-core/plugins/addons/propertyEditor/property-list.tpl index 0a4ccb2f2..b5c16e2ad 100644 --- a/gosa-core/plugins/addons/propertyEditor/property-list.tpl +++ b/gosa-core/plugins/addons/propertyEditor/property-list.tpl @@ -32,7 +32,11 @@
-

{$HEADLINE} {$SIZELIMIT}

+

{$HEADLINE} {$SIZELIMIT} + {if $ignoreLdapProperties} + - {t}Ignoring LDAP defined properties !{/t} + {/if} +

-- 2.30.2