Code

Display photo again
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Nov 2010 09:18:23 +0000 (09:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Nov 2010 09:18:23 +0000 (09:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20401 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/infoPage/class_infoPage.inc

index 146dd553cc05b5e0ef10164a88e04bbe4d48aa2c..86ddf3d6cef0661c51f2beb68988c666afabf7c2 100644 (file)
@@ -75,7 +75,6 @@ class infoPage extends plugin
 
     function execute()
     {
-        $this->plugins = $this->getPluginList();
         $smarty = get_smarty();
         $personalInfoAllowed = FALSE;
         foreach(array("uid","sn","givenName","street","l","o","ou","jpegPhoto","personalTitle",
@@ -96,6 +95,7 @@ class infoPage extends plugin
         $smarty->assign("attrs", $this->attrs);
         $smarty->assign("managers", $this->managers);
         $smarty->assign("plugins", $this->plugins);
+        $smarty->assign("jpegPhoto", isset($this->attrs['jpegPhoto']));
         $smarty->assign("managersCnt", count($this->managers));
         return($smarty->fetch(get_template_path("infoPage.tpl")));
     }