From 9ec5b483a4c0e21fc8a23da43fd2faca56d43b10 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 26 Aug 2005 13:30:20 +0000 Subject: [PATCH] Some fixes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1234 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_environment.inc | 5 +++++ plugins/personal/environment/hotplugDialog.tpl | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 91c78b97c..d3e8a69c1 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -564,6 +564,11 @@ class environment extends plugin function check() { $message= array(); + + if(preg_match("/[^0-9]/",$this->gotoProfileQuota)) { + $message[]=_("Please set a valid profile quota size."); + } + return ($message); } diff --git a/plugins/personal/environment/hotplugDialog.tpl b/plugins/personal/environment/hotplugDialog.tpl index 5e8bbc068..4b7af7164 100644 --- a/plugins/personal/environment/hotplugDialog.tpl +++ b/plugins/personal/environment/hotplugDialog.tpl @@ -25,8 +25,7 @@

- {t}This menu allows you to create, edit and delete selected users. - Having a great number of users, you may want to use the range selectors on top of the user list.{/t} + {t}This menu allows you to select an existing hotplug configuration.{/t}


@@ -38,7 +37,7 @@
-  {t}Display groups of department{/t} +  {t}Display hotplugs of department{/t} + title='{t}Regular expression for matching hotplugs{/t}' onChange="mainform.submit()">
-- 2.30.2