From 0c5d8f900f6a98a59bb71aa1e91ed80a79e9b772 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 8 Jun 2006 05:38:11 +0000 Subject: [PATCH] Password is must too git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3703 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_goFonServer.inc | 3 +++ plugins/admin/systems/goFonServer.tpl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_goFonServer.inc b/plugins/admin/systems/class_goFonServer.inc index 3094cc3a5..c117972d5 100644 --- a/plugins/admin/systems/class_goFonServer.inc +++ b/plugins/admin/systems/class_goFonServer.inc @@ -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); } diff --git a/plugins/admin/systems/goFonServer.tpl b/plugins/admin/systems/goFonServer.tpl index b6bc344bd..c9c11188d 100644 --- a/plugins/admin/systems/goFonServer.tpl +++ b/plugins/admin/systems/goFonServer.tpl @@ -5,7 +5,7 @@ - {t}Password{/t} + {t}Password{/t}{$must} -- 2.30.2