summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 39b455b)
raw | patch | inline | side by side (parent: 39b455b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 3 Jul 2006 11:10:32 +0000 (11:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 3 Jul 2006 11:10:32 +0000 (11:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4016 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/applications/class_applicationGeneric.inc | patch | blob | history | |
plugins/admin/applications/generic.tpl | patch | blob | history |
diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc
index ff957bbfd97bbc32e4757f663e660277deccd060..4b1a4d7682477619bac905b2494d747343f66b32 100644 (file)
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);
index 7c4128216e8aa8a088279f8d19eaf7928100fed0..28245e2f707388efb1c1f1f36eacc2760dc4e021 100644 (file)
<textarea name="gotoLogonScript" style='width:99%;height:220px;'>{$gotoLogonScript}</textarea>
<input type="file" name="ScriptFile" value="{t}Import{/t}">
<input type="submit" name="upLoad" value="{t}Upload{/t}">
+ <a href='getbin?rand={$rand}'><input type='button' name="Download" value="{t}Download{/t}"></a>
</td>
</tr>
</table>