Code

Some fixes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 26 Aug 2005 13:30:20 +0000 (13:30 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 26 Aug 2005 13:30:20 +0000 (13:30 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1234 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc
plugins/personal/environment/hotplugDialog.tpl

index 91c78b97c133c6e768341b596c8fc2e8e38251b3..d3e8a69c121b397f1aa56ea23a7779cc30f175c1 100644 (file)
@@ -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);
   }
 
index 5e8bbc068465c2b4f9b3f97f31887fc5a2eab4df..4b7af7164ea2a47b9e94556e0e24acf83bb4ccd0 100644 (file)
@@ -25,8 +25,7 @@
                 </div>
                 <div class="contentboxb">
                     <p class="contentboxb">
-                        {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}
                     </p>
                 </div>
                 <br>
@@ -38,7 +37,7 @@
                 <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
                     <tr>
                         <td width="50%">
-                            <img alt="" src="{$tree_image}" align=middle>&nbsp;{t}Display groups of department{/t}
+                            <img alt="" src="{$tree_image}" align=middle>&nbsp;{t}Display hotplugs of department{/t}
                         </td>
                         <td>
                             <select name="depselectHot" size=1 onChange="mainform.submit()" title="{t}Choose the department the search will be based    on{/t}">
@@ -60,7 +59,7 @@
                                 </td>
                                 <td width="99%">
                                     <input id='filter' style='width:99%' type='text' name='regexHot' maxlength='20' value='{$regexHot}'
-                                            title='{t}Regular expression for        matching user names{/t}' onChange="mainform.submit()">
+                                            title='{t}Regular expression for        matching hotplugs{/t}' onChange="mainform.submit()">
                                 </td>
                             </tr>
                         </table>