From 4857dcc32dd1ae5beb60fe8ebdd6c25b5738c3b3 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 8 Dec 2005 14:12:57 +0000 Subject: [PATCH] Added kicker support git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2262 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../applications/class_applicationGeneric.inc | 4 ++++ plugins/admin/applications/generic.tpl | 5 ++++- plugins/admin/groups/class_groupApplication.inc | 16 ++++++++-------- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc index 2f32485b3..58895c8ea 100644 --- a/plugins/admin/applications/class_applicationGeneric.inc +++ b/plugins/admin/applications/class_applicationGeneric.inc @@ -148,6 +148,7 @@ class application extends plugin /* Checkboxes */ foreach (array("G" => "exec_for_groupmembers", "O" => "overwrite_config", + "L" => "place_on_kicker", "D" => "place_on_desktop", "M" => "place_in_startmenu") as $key => $val){ if (preg_match("/$key/", $this->gosaApplicationFlags)){ $smarty->assign("$val", "checked"); @@ -205,6 +206,9 @@ class application extends plugin if (isset($_POST['place_on_desktop']) && $_POST['place_on_desktop'] == 1){ $flag.= "D"; } + if (isset($_POST['place_on_kicker']) && $_POST['place_on_kicker'] == 1){ + $flag.= "L"; + } if (isset($_POST['place_in_startmenu']) && $_POST['place_in_startmenu'] == 1){ $flag.= "M"; } diff --git a/plugins/admin/applications/generic.tpl b/plugins/admin/applications/generic.tpl index bff141fac..9b2aee353 100644 --- a/plugins/admin/applications/generic.tpl +++ b/plugins/admin/applications/generic.tpl @@ -66,7 +66,7 @@

{t}Options{/t} {t}Options{/t}

-
+ {t}Only executable for members{/t}
{t}Replace user configuration on startup{/t} @@ -77,6 +77,9 @@
{t}Place entry in members startmenu{/t} +
+ + {t}Place entry in members launch bar{/t}
diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc index 3f181c18f..845b19969 100644 --- a/plugins/admin/groups/class_groupApplication.inc +++ b/plugins/admin/groups/class_groupApplication.inc @@ -547,12 +547,12 @@ class appgroup extends plugin $div2->SetHeight(400); $linkopen = " %s"; - $catremove = " "; + $catremove = " "; $app = " %s"; $catupdown = " -   - "; +   + "; if(empty($this->curCatDir)){ $cnt =0; @@ -579,12 +579,12 @@ class appgroup extends plugin $separator ="
"; - $sep = ""; + $sep = ""; - $upudown =" ". - "  ". - " "; - $edit= " "; + $upudown =" ". + "  ". + " "; + $edit= " "; if(isset($this->gosaMemberApplication[$this->curCatDir])){ foreach($this->gosaMemberApplication[$this->curCatDir] as $cat => $entry){ -- 2.30.2