summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 931808a)
raw | patch | inline | side by side (parent: 931808a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Mar 2010 09:51:40 +0000 (09:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Mar 2010 09:51:40 +0000 (09:51 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17387 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/fai/admin/fai/class_faiScriptEntry.inc b/gosa-plugins/fai/admin/fai/class_faiScriptEntry.inc
index db8366b1b2fee0d83bdad0e9cf782df4db72d3b0..a0ba363c99bb006685447226502687eefeee6e2c 100644 (file)
}
/* File download requested */
- if(isset($_GET['getFAIScript'])){
+ if(isset($_POST['download'])){
send_binary_content(stripslashes($this->FAIscript),$this->cn.".FAIscript");
}
/* Create download button*/
if($this->dn != "new" && $this->acl_is_readable("FAIscript")){
- $smarty->assign("DownMe","<a href='?plug=".$_GET['plug']."&getFAIScript'>
- <img src='images/save.png' alt='"._("Download")."' title='"._("Download")."' border=0 class='center'>
- </a>");
+ $smarty->assign("DownMe", image('images/save.png','download',_("Download")));
}else{
$smarty->assign("DownMe","");
}
diff --git a/gosa-plugins/fai/admin/fai/faiDiskEntry.tpl b/gosa-plugins/fai/admin/fai/faiDiskEntry.tpl
index 093df3bb2281b944a04f8fca0d55a8a293090317..072229dd5780b0863673131b0a0a242ab54c74b5 100644 (file)
<br>
<hr>
<br>
-<div style="align:right;" align="right">
+<div class="plugin-actions">
{if !$freeze}
<button type='submit' name='SaveDisk'>{msgPool type=saveButton}</button>
diff --git a/gosa-plugins/fai/admin/fai/faiHookEntry.tpl b/gosa-plugins/fai/admin/fai/faiHookEntry.tpl
index ab7484559daf835de4fef04af0eb38a39ddb9931..1a8e3aa38db7084e21617b54e54004ee27202424 100644 (file)
<hr>
<br>
-<div style="align:right;" align="right">
+<div class="plugin-actions">
{if !$freeze}
<button type='submit' name='SaveSubObject'>{msgPool type=applyButton}</button>
diff --git a/gosa-plugins/fai/admin/fai/faiPartitionTableEntry.tpl b/gosa-plugins/fai/admin/fai/faiPartitionTableEntry.tpl
index 5b72bfc9ce3483aed99a5ffaaa937cecace4395f..2b17ae6d1fc6e2f81a97501bb3163284203d279f 100644 (file)
<br>
<hr>
<br>
-<div style="align:right;" align="right">
+<div class="plugin-actions">
{if !$freeze}
<button type='submit' name='SaveDisk'>{msgPool type=saveButton}</button>
diff --git a/gosa-plugins/fai/admin/fai/faiScriptEntry.tpl b/gosa-plugins/fai/admin/fai/faiScriptEntry.tpl
index 6f735aa025a9eaff5630dbe4db2aba38164e84ec..4b5d41c453e063587177dade4c9dcfba921ef322 100644 (file)
{/render}
</div>
<br>
-<div style="align:right;" align="right">
+<hr>
+<div class="plugin-actions">
{if !$freeze}
<button type='submit' name='SaveSubObject'>{msgPool type=applyButton}</button>
-
{/if}
<button type='submit' name='CancelSubObject'>{msgPool type=cancelButton}</button>
-
</div>
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
diff --git a/gosa-plugins/fai/admin/fai/faiTemplateEntry.tpl b/gosa-plugins/fai/admin/fai/faiTemplateEntry.tpl
index dfbe0769463c1b83d411ad17d149c53b72dd83c0..689f0eb47ec284b748ba86d6a3ba0b4eb5ce09f9 100644 (file)
<br>
<hr>
<br>
-<div style="align:right;" align="right">
+<div class="plugin-actions">
{if !$freeze}
<button type='submit' name='SaveSubObject'>{msgPool type=applyButton}</button>
diff --git a/gosa-plugins/fai/admin/fai/faiVariableEntry.tpl b/gosa-plugins/fai/admin/fai/faiVariableEntry.tpl
index 9f0dd9484493f83c876ed469cdc0ae0b20e5557a..efe8ee236b28d4a09635dfe678c3b32424d36179 100644 (file)
</table>
<hr>
<br>
-<div style="align:right;" align="right">
+<div class="plugin-actions">
{if !$freeze}
<button type='submit' name='SaveSubObject'>{msgPool type=applyButton}</button>