Code

some comments, and correction
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Jun 2005 12:08:04 +0000 (12:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Jun 2005 12:08:04 +0000 (12:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@719 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_phoneGeneric.inc
plugins/admin/systems/phonesettings.tpl

index d0ecb5bdd45e52f96c03cd284a89fc758d2b9d9b..8e67b5af174563a89c1b9568de7ae5f8dbf9c4ac 100644 (file)
@@ -171,6 +171,8 @@ class phoneGeneric extends plugin
     if (!preg_match("/^$num\\.$num\\.$num\\.$num$/", $this->goFonDefaultIP)){
        $message[]= _("Wrong IP format in field goFonDefaultIP.");
     }
+    
+    /* Check for valid number */
     if((strlen($this->goFonQualify))!=(strlen((int)($this->goFonQualify)))){
       $message[]= _("The given value for goFonQualify is not a valid number.");
     }
index 1b7fccb6d80242781d1a0b263823f5465f915e7f..aec9e83338bdef31d4043643fb3e9a3a67c03c5f 100644 (file)
@@ -51,7 +51,7 @@
                        </tr>
                        <tr>
                                <td >
-                                       {t}Quality{/t}
+                                       {t}Qualify{/t}
                                </td>
                                <td>
                                        <input style="width:200px" name="goFonQualify" value="{$goFonQualify}" {$goFonQualifyUSED}>