Code

added attribute check for services
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Jun 2005 12:15:14 +0000 (12:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Jun 2005 12:15:14 +0000 (12:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@877 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servService.inc

index 9189fad0d9706526080d866a05c94018d00b9af4..a2ab17c4e4fe50cddb8b8b60973a2f1111b975d5 100644 (file)
@@ -172,6 +172,12 @@ class servservice extends plugin
   function check()
   {
     $message= array();
+  
+    
+  
+    if((isset($_POST['goTerminalServer']))&&(empty($this->goFontPath))){
+      $message[]=_("Termial server, must have fontpath specified.");
+    }
 
     return ($message);
   }