Code

Updated fax account
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Mar 2010 13:41:03 +0000 (13:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Mar 2010 13:41:03 +0000 (13:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17112 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofax/gofax/faxaccount/class_gofaxAccount.inc
gosa-plugins/gofax/gofax/faxaccount/faxNumberSelect/class_faxNumberSelect.inc
gosa-plugins/gofax/gofax/faxaccount/generic.tpl

index 5e48729299aa0d5873a08948923765825bef67c3..4d0ed59db8ec79cc5b3a07ce5ccd317b1dc17455 100644 (file)
@@ -675,8 +675,8 @@ class gofaxAccount extends plugin
         }elseif($tmp & 64){
           $tmp &= !64;
         }
-        if(isset($_POST['goFaxPrinter'])){
-          $this->goFaxPrinter =get_post('goFaxPrinter');
+        if(isset($_POST['goFaxPrinterSelected'])){
+          $this->goFaxPrinter =get_post('goFaxPrinterSelected');
         }
       }
       $this->goFaxDeliveryMode = $tmp;
index 8a380c4204c4649a48da4d68952bae169ff5725d..f995d0d3f992cc8b6760ae39e5f1ea62663dda7a 100644 (file)
@@ -25,6 +25,8 @@ class faxNumberSelect extends management
   protected $skipFooter = TRUE;
   protected $skipHeader = TRUE;
 
+  var $plHeadline = "Fax number selection";
+
   function __construct($config,$ui)
   {
     $this->config = $config;
index 7a86edf35ac57f760e3edd3d56e85ef3d81bfbec..3dbcf184fccf2081c3f5f5f104a3225fa63916da 100644 (file)
@@ -83,7 +83,7 @@
 {/render}
      {t}Deliver fax to printer{/t}&nbsp;
 {render acl=$faxtoprinterACL checkbox=$multiple_support checked=$use_goFaxPrinter}
-     <select size="1" name="goFaxPrinter">
+     <select size="1" name="goFaxPrinterSelected">
       {html_options options=$printers selected=$goFaxPrinter}
                <option disabled>&nbsp;</option>
      </select>