From: hickert Date: Wed, 15 Jun 2005 12:08:04 +0000 (+0000) Subject: some comments, and correction X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c0a0e8aa2553f1ecded62a2e854e7d13cb940f29;p=gosa.git some comments, and correction git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@719 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_phoneGeneric.inc b/plugins/admin/systems/class_phoneGeneric.inc index d0ecb5bdd..8e67b5af1 100644 --- a/plugins/admin/systems/class_phoneGeneric.inc +++ b/plugins/admin/systems/class_phoneGeneric.inc @@ -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."); } diff --git a/plugins/admin/systems/phonesettings.tpl b/plugins/admin/systems/phonesettings.tpl index 1b7fccb6d..aec9e8333 100644 --- a/plugins/admin/systems/phonesettings.tpl +++ b/plugins/admin/systems/phonesettings.tpl @@ -51,7 +51,7 @@ - {t}Quality{/t} + {t}Qualify{/t}