From: hickert Date: Wed, 24 Mar 2010 13:53:19 +0000 (+0000) Subject: Updated phoneAccount X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=613b935abc43eadc1881a6fbbb2ef1afc4b3f493;p=gosa.git Updated phoneAccount git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17114 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc index 403057da9..7d5ad29e6 100644 --- a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc +++ b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc @@ -1340,8 +1340,8 @@ class phoneAccount extends plugin /* Every macro in the select box are available */ - if((isset($_POST['macro']))){ - $this->macro = $_POST['macro']; + if((isset($_POST['selectedMacro']))){ + $this->macro = get_post('selectedMacro'); $this->macrostillavailable=true; } diff --git a/gosa-plugins/gofon/gofon/phoneaccount/generic.tpl b/gosa-plugins/gofon/gofon/phoneaccount/generic.tpl index 664eb1711..c3befe26d 100644 --- a/gosa-plugins/gofon/gofon/phoneaccount/generic.tpl +++ b/gosa-plugins/gofon/gofon/phoneaccount/generic.tpl @@ -1,11 +1,7 @@ - +
-

- {image path="plugins/gofon/images/banana.png"} - -  {t}Phone numbers{/t} -

+

{t}Phone numbers{/t}

{if $multiple_support} @@ -119,16 +115,14 @@

- {image path="plugins/gofon/images/select_macro.png"} - -  {t}Phone macro{/t} -

+
+

 {t}Phone macro{/t}

{render acl=$goFonMacroACL checkbox=$multiple_support checked=$use_macro} - {html_options options=$macros selected=$macro}