Code

Added year and revision
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 1 Dec 2010 09:43:26 +0000 (09:43 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 1 Dec 2010 09:43:26 +0000 (09:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20462 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 701114349076d473d8cf8c65820b246d1086ee74..01819bf19a4ef5d86218ebf55e444aaeb8fdf255 100644 (file)
@@ -139,7 +139,7 @@ class infoPage extends plugin
 
         #TODO: Permission
         if(!isset($this->attrs['jpegPhoto'])){
-            echo "No image...";
+            #echo "No image...";
         }
 
         // Convert address
@@ -160,6 +160,8 @@ class infoPage extends plugin
         $smarty->assign("managers", $this->managers);
         $smarty->assign("plugins", $this->plugins);
         $smarty->assign("managersCnt", count($this->managers));
+        $smarty->assign("revision", get_gosa_version());
+        $smarty->assign("year", date("Y"));
         return($smarty->fetch(get_template_path("infoPage.tpl")));
     }
 }