From: hickert Date: Tue, 30 Mar 2010 09:51:40 +0000 (+0000) Subject: Updated templates X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c7328c7c72bfc86c5862a0464197749d064cbc72;p=gosa.git Updated templates 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 db8366b1b..a0ba363c9 100644 --- a/gosa-plugins/fai/admin/fai/class_faiScriptEntry.inc +++ b/gosa-plugins/fai/admin/fai/class_faiScriptEntry.inc @@ -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"," - "._("Download")." - "); + $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 093df3bb2..072229dd5 100644 --- a/gosa-plugins/fai/admin/fai/faiDiskEntry.tpl +++ b/gosa-plugins/fai/admin/fai/faiDiskEntry.tpl @@ -98,7 +98,7 @@


-
+
{if !$freeze} diff --git a/gosa-plugins/fai/admin/fai/faiHookEntry.tpl b/gosa-plugins/fai/admin/fai/faiHookEntry.tpl index ab7484559..1a8e3aa38 100644 --- a/gosa-plugins/fai/admin/fai/faiHookEntry.tpl +++ b/gosa-plugins/fai/admin/fai/faiHookEntry.tpl @@ -70,7 +70,7 @@

-
+
{if !$freeze}   diff --git a/gosa-plugins/fai/admin/fai/faiPartitionTableEntry.tpl b/gosa-plugins/fai/admin/fai/faiPartitionTableEntry.tpl index 5b72bfc9c..2b17ae6d1 100644 --- a/gosa-plugins/fai/admin/fai/faiPartitionTableEntry.tpl +++ b/gosa-plugins/fai/admin/fai/faiPartitionTableEntry.tpl @@ -38,7 +38,7 @@


-
+
{if !$freeze} diff --git a/gosa-plugins/fai/admin/fai/faiScriptEntry.tpl b/gosa-plugins/fai/admin/fai/faiScriptEntry.tpl index 6f735aa02..4b5d41c45 100644 --- a/gosa-plugins/fai/admin/fai/faiScriptEntry.tpl +++ b/gosa-plugins/fai/admin/fai/faiScriptEntry.tpl @@ -75,13 +75,12 @@ {/render}

-
+
+
{if !$freeze}   - {/if} -