From: hickert Date: Tue, 30 Mar 2010 14:28:48 +0000 (+0000) Subject: Removed image buttons X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=15e00373c1df64987bfb8c38964836c1663ef2b2;p=gosa.git Removed image buttons git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17403 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc b/gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc index 6d991b1c9..5caa14547 100644 --- a/gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc +++ b/gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc @@ -83,12 +83,12 @@ class faiTemplateEntry extends plugin } /* File download requested */ - if(isset($_GET['getFAItemplate'])){ + if(isset($_POST['getFAItemplate'])){ send_binary_content($this->FAItemplateFile,$this->cn.".FAItemplate"); } /* File edit requested */ - if(isset($_GET['editFAItemplate'])){ + if(isset($_POST['editFAItemplate'])){ $this->dialog = new faiTemplateEdit($this->config,$this->dn,$this->FAItemplateFile); } diff --git a/gosa-plugins/fai/admin/fai/faiTemplateEntry.tpl b/gosa-plugins/fai/admin/fai/faiTemplateEntry.tpl index cb238b8b7..929484a3b 100644 --- a/gosa-plugins/fai/admin/fai/faiTemplateEntry.tpl +++ b/gosa-plugins/fai/admin/fai/faiTemplateEntry.tpl @@ -39,8 +39,7 @@ @@ -52,9 +51,8 @@ {$status} {if $bStatus} - {t}Save template{/t}... - {t}Edit template{/t}... - + {image path='images/save.png' action='getFAItemplate' title='{t}Save template{/t}...'} + {image path='images/lists/edit.png' action='editFAItemplate' title='{t}Edit template{/t}...'} {/if} @@ -220,4 +218,4 @@
-

 {t}Template attributes{/t} -

+

{t}Template attributes{/t}

- \ No newline at end of file +