From: cajus Date: Fri, 11 Nov 2005 07:33:11 +0000 (+0000) Subject: Added application Categories X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a983b82bf7ff981756f3d991aa1c0dec01cc386c;p=gosa.git Added application Categories git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1912 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc index 35df4fe33..d71c87431 100644 --- a/plugins/admin/applications/class_applicationGeneric.inc +++ b/plugins/admin/applications/class_applicationGeneric.inc @@ -14,6 +14,7 @@ class application extends plugin var $gosaApplicationName= ""; var $gosaApplicationFlags= ""; var $gosaApplicationIcon= ""; + var $gosaApplicationCategory= ""; var $gotoLogonScript =""; var $iconData; @@ -23,7 +24,7 @@ class application extends plugin /* attribute list for save action */ var $attributes= array("cn", "description", "gosaApplicationExecute", "gosaApplicationName", - "gosaApplicationFlags","gotoLogonScript"); + "gosaApplicationFlags","gotoLogonScript", "gosaApplicationCategory"); var $objectclasses= array("top", "gosaApplication"); function application ($config, $dn= NULL) @@ -136,7 +137,8 @@ class application extends plugin $smarty->assign("rand", rand(0, 10000)); /* Variables */ - foreach(array("description", "gosaApplicationExecute", "gosaApplicationName") as $val){ + foreach(array("description", "gosaApplicationExecute", "gosaApplicationName", + "gosaApplicationCategory") as $val){ $smarty->assign($val, $this->$val); $smarty->assign($val."ACL", chkacl($this->acl, $val)); } diff --git a/plugins/admin/applications/generic.tpl b/plugins/admin/applications/generic.tpl index 4c9bca773..92f8cbaa5 100644 --- a/plugins/admin/applications/generic.tpl +++ b/plugins/admin/applications/generic.tpl @@ -7,17 +7,16 @@ - - + - + - + - + @@ -43,12 +42,28 @@   + + + + + + + + + + +
+ +

+
+  
+