From c0a0e8aa2553f1ecded62a2e854e7d13cb940f29 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 15 Jun 2005 12:08:04 +0000 Subject: [PATCH] some comments, and correction git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@719 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_phoneGeneric.inc | 2 ++ plugins/admin/systems/phonesettings.tpl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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} -- 2.30.2