summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb7c172)
raw | patch | inline | side by side (parent: cb7c172)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 May 2006 03:39:40 +0000 (03:39 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 May 2006 03:39:40 +0000 (03:39 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3470 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/html/getFAIscript.php b/html/getFAIscript.php
index b22451a6798c965b3ed895b88a283276245d07e7..aec3c3bdd3a2f384c0f61028436bdb54e49d09e8 100644 (file)
--- a/html/getFAIscript.php
+++ b/html/getFAIscript.php
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache");
header("Pragma: no-cache");
+ header("Content-transfer-encoding: binary\n");
header("Cache-Control: post-check=0, pre-check=0");
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=".$name);
index 376a418348a7ce5c0ab8eb0f4e050e24636d0dac..42f7e5feaee73d2b42ac2e63cff8272663de6e9d 100644 (file)
if(($this->SubObjects[$key]['status'] == "new") || ($this->SubObjects[$key]['dn'] == "new")){
$down = "";
}else{
- $down = "<a href='getFAIscript.php?id=".base64_encode($name['dn'])."' target='_blank'>
+ $down = "<a href='getFAIscript.php?id=".base64_encode($name['dn'])."'>
<img src='images/save.png' alt='"._("Download")."' title='"._("Download")."' border=0>
</a>";
}
index 14bc4959ecd5e916f10ef63553741da4774da1aa..c73d2e886a54b9820edeac61c0aa99266349e588 100644 (file)
/* Create download button*/
if($this->dn != "new"){
- $smarty->assign("DownMe","<a href='getFAIscript.php?id=".base64_encode($this->dn)."' target='_blank'>
+ $smarty->assign("DownMe","<a href='getFAIscript.php?id=".base64_encode($this->dn)."'>
<input type='button' value='"._("Download")."'>
</a>");
}else{
index 9e3ebcbf0aa6260fa362c2a3eaab3bf93606e3f4..371a57c56c69de091b97bbba99442c35ade46404 100644 (file)
if(($this->SubObjects[$key]['status'] == "new") || ($this->SubObjects[$key]['dn'] == "new")){
$down = "";
}else{
- $down = "<a href='getFAIscript.php?id=".base64_encode($name['dn'])."' target='_blank'>
+ $down = "<a href='getFAIscript.php?id=".base64_encode($name['dn'])."' >
<img src='images/save.png' alt='"._("Download")."' title='"._("Download")."' border=0>
</a>";
}
diff --git a/plugins/admin/fai/class_faiScriptEntry.inc b/plugins/admin/fai/class_faiScriptEntry.inc
index 35ba0b38baa38b093de517d52d068c9cd3b442d1..617de2612d6d27e72b8d0ec6a1192ccc35c730b9 100644 (file)
/* Create download button*/
if($this->dn != "new"){
- $smarty->assign("DownMe","<a href='getFAIscript.php?id=".base64_encode($this->dn)."' target='_blank'>
+ $smarty->assign("DownMe","<a href='getFAIscript.php?id=".base64_encode($this->dn)."'>
<input type='button' value='"._("Download")."'>
</a>");
}else{
index 8303530f7f0ab934ecd6ec2b64e6ba4c5fbc8195..56e7f613d02bc6e22742f3a701988cdbedd87d77 100644 (file)
$dn = $this->SubObjects[$key]['dn'];
- $down = "<a href='getFAIscript.php?is_template&id=".base64_encode($dn)."' target='_blank'>
+ $down = "<a href='getFAIscript.php?is_template&id=".base64_encode($dn)."'>
<img src='images/save.png' alt='"._("Download")."' title='"._("Download")."' border=0>
</a>";
}