From: cajus Date: Thu, 10 Sep 2009 13:17:32 +0000 (+0000) Subject: Be able to override plugin names X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2f273f267f9eba92c28466c197859bf9e9945a95;p=gosa.git Be able to override plugin names git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14223 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_pluglist.inc b/gosa-core/include/class_pluglist.inc index 9789a5776..528052a87 100644 --- a/gosa-core/include/class_pluglist.inc +++ b/gosa-core/include/class_pluglist.inc @@ -183,7 +183,11 @@ class pluglist { continue; } $vars= get_class_vars($info['CLASS']); - $plHeadline= $vars['plHeadline']; + if (isset($info['NAME'])){ + $plHeadline= _($info['NAME']); + } else { + $plHeadline= $vars['plHeadline']; + } $plDescription= $vars['plDescription']; $index= $this->get_index($info['CLASS']);