Code

Implemented new get_languages function to faxacoount
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Aug 2007 10:05:44 +0000 (10:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Aug 2007 10:05:44 +0000 (10:05 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6981 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofax/faxaccount/class_gofaxAccount.inc
plugins/gofax/faxaccount/generic.tpl

index 55c115905dd8094b0eeaeb023ab9976da0faeafe..ed66cd3b646955765b7dcdc79f027826342ff9e6 100644 (file)
@@ -572,7 +572,7 @@ class gofaxAccount extends plugin
 
 
     /* Show main page */
-    $smarty->assign("languages", $this->config->data['MAIN']['LANGUAGES']);
+    $smarty->assign("languages", get_languages());
     $smarty->assign("formats", $this->config->data['MAIN']['FAXFORMATS']);
     $smarty->assign("printers", $this->printerList);
 
index 87a5b0acbf110b28e888f0db82a963f7fa2194fa..8fd4b5f867f1033a99fa7c1442e6b4b1ddf11185 100644 (file)
@@ -16,7 +16,7 @@
          <td><label for="goFaxLanguage">{t}Language{/t}</label></td>
         <td>
            <select size="1" name="goFaxLanguage" id="goFaxLanguage" {$goFaxLanguageACL} title="{t}Specify the GOfax communication language for fax to mail gateway{/t}">
-           {html_options values=$languages output=$languages selected=$goFaxLanguage}
+           {html_options options=$languages selected=$goFaxLanguage}
            </select>
          </td>
        </tr>