From: hickert Date: Mon, 29 Nov 2010 10:19:40 +0000 (+0000) Subject: Updated infoPage X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fd6f509dc60ad1fbb522c57d9effbc44e9e36584;p=gosa.git Updated infoPage git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20402 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/ihtml/themes/default/infoPage.tpl b/gosa-core/ihtml/themes/default/infoPage.tpl index 780e3d958..b88159c62 100644 --- a/gosa-core/ihtml/themes/default/infoPage.tpl +++ b/gosa-core/ihtml/themes/default/infoPage.tpl @@ -33,7 +33,7 @@ - {if $jpegPhoto != ""} + {if $jpegPhoto} diff --git a/gosa-core/include/class_pluglist.inc b/gosa-core/include/class_pluglist.inc index d088d4aae..4cc4bc21b 100644 --- a/gosa-core/include/class_pluglist.inc +++ b/gosa-core/include/class_pluglist.inc @@ -296,8 +296,13 @@ class pluglist $this->menu .= "\n \n"; } diff --git a/gosa-core/plugins/generic/infoPage/class_infoPage.inc b/gosa-core/plugins/generic/infoPage/class_infoPage.inc index 86ddf3d6c..eb6519bed 100644 --- a/gosa-core/plugins/generic/infoPage/class_infoPage.inc +++ b/gosa-core/plugins/generic/infoPage/class_infoPage.inc @@ -28,11 +28,16 @@ class infoPage extends plugin $plugin = $pluginData['CLASS']; $plInfo = call_user_func(array($plugin,'plInfo')); + list($index, $title, $desc, $icon) = $plist->getPlugData($plugin); + + $str.= "\n
"; + $str.= "\n ".image($icon); + $str.= "\n
"; + $str.= "\n

{$title}

"; + $str.= "\n

{$desc}

"; + $str.= "\n
"; + $str.= "\n
"; - $str .= "
"; - $str .= $plugin; - $str .= "
"; } return($str); }