From: hickert Date: Wed, 19 May 2010 08:45:21 +0000 (+0000) Subject: Added a warning while LDAP properties are ignored. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b77af124b8f02b1c2d448a10de16990f70e52ec1;p=gosa.git Added a warning while LDAP properties are ignored. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18543 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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} +