From: hickert Date: Thu, 26 Jun 2008 08:49:35 +0000 (+0000) Subject: Updated server service Kiosk-Management X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=420bf25fda0488429e34c73ea11f6117f6a3fda9;p=gosa.git Updated server service Kiosk-Management -If kioskpath wasn't set there was an error message displayed everytime you have opened a server. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11449 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc b/gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc index ca1410f82..9136a0891 100644 --- a/gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc +++ b/gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc @@ -28,7 +28,7 @@ class goKioskService extends goService{ /* Load list of profiles and check if they still exists */ if ($this->baseDir == ""){ - msg_dialog::display(_("Configuration error"), msgPool::cmdnotfound("KIOSKPATH",_("Kiosk profile service")), ERROR_DIALOG); +# msg_dialog::display(_("Configuration error"), msgPool::cmdnotfound("KIOSKPATH",_("Kiosk profile service")), ERROR_DIALOG); }else{ $this->gotoKioskProfiles = array(); if(isset($this->attrs['gotoKioskProfile']) && is_array($this->attrs['gotoKioskProfile'])){ @@ -73,6 +73,7 @@ class goKioskService extends goService{ /* Fill templating stuff */ $smarty= get_smarty(); + $smarty->assign("baseDir",$this->baseDir); $display= ""; /* Download kiosk profile diff --git a/gosa-plugins/goto/admin/systems/services/kiosk/goKioskService.tpl b/gosa-plugins/goto/admin/systems/services/kiosk/goKioskService.tpl index 8fea2eb4d..e366aaff1 100644 --- a/gosa-plugins/goto/admin/systems/services/kiosk/goKioskService.tpl +++ b/gosa-plugins/goto/admin/systems/services/kiosk/goKioskService.tpl @@ -1,5 +1,16 @@

 

+{if $baseDir == ""} + +{msgPool type=invalidConfigurationAttribute param=KIOSKPATH} + +

 

+
+ +
+ +{else} + {t}Server path{/t}  @@ -22,3 +33,4 @@ focus_field('gotoKioskProfile'); --> +{/if}