Code

Password is must too
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 Jun 2006 05:38:11 +0000 (05:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 Jun 2006 05:38:11 +0000 (05:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3703 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_goFonServer.inc
plugins/admin/systems/goFonServer.tpl

index 3094cc3a583c0a7671325d70c146426ac169d5d5..c117972d5893ca6f61bb3635b3fc41da14c9614a 100644 (file)
@@ -120,6 +120,9 @@ class goFonServer extends plugin{
     if (empty($this->goFonAdmin)){
       $message[]= sprintf(_("The attribute DB user is empty or contains invalid characters."), $attr);
     }
+    if (empty($this->goFonPassword)){
+      $message[]= sprintf(_("The attribute password is empty or contains invalid characters."), $attr);
+    }
     if (empty($this->goFonAreaCode)){
       $message[]= sprintf(_("The attribute local dial prefix is empty or contains invalid characters."), $attr);
     }
index b6bc344bdedd1c5909a412881b71bb47ae79ae2c..c9c11188df308b61c5c6f659ebfccb56cd7e1fcb 100644 (file)
@@ -5,7 +5,7 @@
      <td><input name="goFonAdmin" size=30 maxlength=60 id="goFonAdmin" {$goFonAdminACL} value="{$goFonAdmin}"></td>
     </tr>
     <tr>
-     <td>{t}Password{/t}</td>
+     <td>{t}Password{/t}{$must}</td>
      <td><input type=password name="goFonPassword" id="goFonPassword" size=30 maxlength=60 {$goFonPasswordACL}   value="{$goFonPassword}"></td>
     </tr>
     <tr>