summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 711ca6a)
raw | patch | inline | side by side (parent: 711ca6a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Mar 2010 14:28:48 +0000 (14:28 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Mar 2010 14:28:48 +0000 (14:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17403 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc | patch | blob | history | |
gosa-plugins/fai/admin/fai/faiTemplateEntry.tpl | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc b/gosa-plugins/fai/admin/fai/class_faiTemplateEntry.inc
index 6d991b1c94d8add052991b51c98a0a81ff0465ea..5caa14547a5d11f8706e4a7ae96e9f3969538a0d 100644 (file)
}
/* 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 cb238b8b70259916ad6dcd7f54208eb7a476ccfd..929484a3b004f3f5c0f9984037171a2c58a97f1e 100644 (file)
<table width="100%" summary="{t}Template attributes{/t}">
<tr>
<td colspan=2>
- <h3><img class="center" alt="" src="plugins/fai/images/fai_template.png" title="{t}Template attributes{/t}"> {t}Template attributes{/t}
- </h3>
+ <h3>{t}Template attributes{/t}</h3>
</td>
</tr>
<tr>
{$status}
{if $bStatus}
- <a href="{$plug}&getFAItemplate"><img class="center" alt="{t}Save template{/t}..." title="{t}Save template{/t}..." src="images/save.png" border="0" /></a>
- <a href="{$plug}&editFAItemplate"><img class="center" alt="{t}Edit template{/t}..." title="{t}Edit template{/t}..." src="images/lists/edit.png" border="0" /></a>
-
+ {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}
</td>
</tr>
</tr>
</table>
<input type='hidden' name='FAItemplateEntryPosted' value='1'><!-- Place cursor -->
-<script language="JavaScript" type="text/javascript"><!-- // First input field on page focus_field('cn','description'); --></script>
\ No newline at end of file
+<script language="JavaScript" type="text/javascript"><!-- // First input field on page focus_field('cn','description'); --></script>