summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 26ed909)
raw | patch | inline | side by side (parent: 26ed909)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 Nov 2008 07:51:19 +0000 (07:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 Nov 2008 07:51:19 +0000 (07:51 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12977 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/getbin.php | patch | blob | history | |
gosa-core/html/main.php | patch | blob | history | |
gosa-core/ihtml/themes/default/islocked.tpl | patch | blob | history |
index ceabb6d9820bd8daee185d2c3f41657b65f2e6dd..aa0f037fa1b804b735dd2ce86ee88108403b8dd8 100644 (file)
? session::get('binarytype') : "octet-stream";
header("Content-type: " . $bintype);
if (session::is_set('binaryfile')) {
- header( "Content-disposition: attachment; filename="
+ header( "Content-disposition: attachment; filename="
. session::get('binaryfile'));
}
index 8cdb4a2390586d1d6e062cce0e480f2c330ec8a9..5ffd3d92e0c71ac3d47b793c2a3d7fd465f64712 100644 (file)
--- a/gosa-core/html/main.php
+++ b/gosa-core/html/main.php
if (isset($_POST['delete_lock']) && session::is_set('dn')){
del_lock (session::get('dn'));
+ }
+ if (isset($_POST['delete_lock']) || isset($_POST['open_readonly'])){
+
/* Set old Post data */
if(session::is_set('LOCK_VARS_USED')){
foreach(session::get('LOCK_VARS_USED') as $name => $value){
diff --git a/gosa-core/ihtml/themes/default/islocked.tpl b/gosa-core/ihtml/themes/default/islocked.tpl
index 45b83336e5dac366b096b6397affc04c9fde55e3..2845fa2ea66af08349d66cec82529114ddc86969 100644 (file)
<p class="plugbottom">
<input type="submit" name="delete_lock" value="{$action}">
+ <input type="submit" name="open_readonly" value="{t}Read only{/t}">
+
<input type="submit" name="cancel_lock" value="{t}Cancel{/t}">
</p>