From 18ac63ec552710e8938274e440fa264c3b42ecaf Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 3 Jul 2006 11:10:32 +0000 Subject: [PATCH] Added download link git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4016 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/applications/class_applicationGeneric.inc | 4 ++++ plugins/admin/applications/generic.tpl | 1 + 2 files changed, 5 insertions(+) diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc index ff957bbfd..4b1a4d768 100644 --- a/plugins/admin/applications/class_applicationGeneric.inc +++ b/plugins/admin/applications/class_applicationGeneric.inc @@ -117,6 +117,10 @@ class application extends plugin return ($display); } + $_SESSION['binary'] = $this->gotoLogonScript; + $_SESSION['binarytype'] = "octet-stream"; + $_SESSION['binaryfile'] = $this->cn.".gosaApplication"; + $smarty->assign("rand", rand(0, 10000)); $head = $this->generateTemplate(); $this->gotoLogonScript= $this->generateTemplate().preg_replace('/.*### END HEADER ###/s', '', $this->gotoLogonScript); diff --git a/plugins/admin/applications/generic.tpl b/plugins/admin/applications/generic.tpl index 7c4128216..28245e2f7 100644 --- a/plugins/admin/applications/generic.tpl +++ b/plugins/admin/applications/generic.tpl @@ -100,6 +100,7 @@ + -- 2.30.2