Code

Updated templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 30 Mar 2010 09:51:40 +0000 (09:51 +0000)
committerhickert <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

gosa-plugins/fai/admin/fai/class_faiScriptEntry.inc
gosa-plugins/fai/admin/fai/faiDiskEntry.tpl
gosa-plugins/fai/admin/fai/faiHookEntry.tpl
gosa-plugins/fai/admin/fai/faiPartitionTableEntry.tpl
gosa-plugins/fai/admin/fai/faiScriptEntry.tpl
gosa-plugins/fai/admin/fai/faiTemplateEntry.tpl
gosa-plugins/fai/admin/fai/faiVariableEntry.tpl

index db8366b1b2fee0d83bdad0e9cf782df4db72d3b0..a0ba363c99bb006685447226502687eefeee6e2c 100644 (file)
@@ -78,15 +78,13 @@ class faiScriptEntry extends plugin
     }
 
     /* 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","");
     }
index 093df3bb2281b944a04f8fca0d55a8a293090317..072229dd5780b0863673131b0a0a242ab54c74b5 100644 (file)
@@ -98,7 +98,7 @@
 <br>
 <hr>
 <br>
-<div style="align:right;" align="right">
+<div class="plugin-actions">
 {if !$freeze}
        <button type='submit' name='SaveDisk'>{msgPool type=saveButton}</button>
 
index ab7484559daf835de4fef04af0eb38a39ddb9931..1a8e3aa38db7084e21617b54e54004ee27202424 100644 (file)
@@ -70,7 +70,7 @@
 
 <hr>
 <br>
-<div style="align:right;" align="right">
+<div class="plugin-actions">
 {if !$freeze}
        <button type='submit' name='SaveSubObject'>{msgPool type=applyButton}</button>&nbsp;
 
index 5b72bfc9ce3483aed99a5ffaaa937cecace4395f..2b17ae6d1fc6e2f81a97501bb3163284203d279f 100644 (file)
@@ -38,7 +38,7 @@
 <br>
 <hr>
 <br>
-<div style="align:right;" align="right">
+<div class="plugin-actions">
 {if !$freeze}
        <button type='submit' name='SaveDisk'>{msgPool type=saveButton}</button>
 
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>&nbsp;
-
 {/if}
        <button type='submit' name='CancelSubObject'>{msgPool type=cancelButton}</button>
-
 </div>
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
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>&nbsp;
 
index 9f0dd9484493f83c876ed469cdc0ae0b20e5557a..efe8ee236b28d4a09635dfe678c3b32424d36179 100644 (file)
@@ -51,7 +51,7 @@
 </table>
 <hr>
 <br>
-<div style="align:right;" align="right">
+<div class="plugin-actions">
 {if !$freeze}
        <button type='submit' name='SaveSubObject'>{msgPool type=applyButton}</button>&nbsp;