From a983b82bf7ff981756f3d991aa1c0dec01cc386c Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 11 Nov 2005 07:33:11 +0000 Subject: [PATCH] Added application Categories git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1912 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../applications/class_applicationGeneric.inc | 6 +++-- plugins/admin/applications/generic.tpl | 25 +++++++++++++++---- 2 files changed, 24 insertions(+), 7 deletions(-) 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 @@   + + + + + + + + + + +
+ +

+
+  
+
-- 2.30.2