From: hickert Date: Mon, 3 Jul 2006 11:10:32 +0000 (+0000) Subject: Added download link X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=18ac63ec552710e8938274e440fa264c3b42ecaf;p=gosa.git Added download link git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4016 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 @@ +