From f63045f20f01c599584e0fdf2b7311b012c668f4 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 Mar 2008 10:43:01 +0000 Subject: [PATCH] Updated templates to use msgPool Buttons git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9487 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/personal/environment/class_environment.inc | 4 ++-- gosa-plugins/goto/personal/environment/hotplugDialog.tpl | 4 ++-- gosa-plugins/goto/personal/environment/logonManagement.tpl | 4 ++-- .../goto/personal/environment/selectPrinterDialog.tpl | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc index deb06944b..b6ccc948e 100644 --- a/gosa-plugins/goto/personal/environment/class_environment.inc +++ b/gosa-plugins/goto/personal/environment/class_environment.inc @@ -546,7 +546,7 @@ class environment extends plugin if(isset($_POST['LogonSave'])){ if(!$this->acl_is_writeable("gotoLogonScript")){ - msg_dialog::display(_("Permission error"), _("You have no permission to modify logon scripts!"), ERROR_DIALOG); + msg_dialog::display(_("Permission error"), msgPool::permModify(_("Logon scripts")), ERROR_DIALOG); unset($this->dialog); $this->dialog=FALSE; $this->is_dialog=false; @@ -1110,7 +1110,7 @@ class environment extends plugin } if(!$this->is_group){ if((!((in_array("posixAccount",$this->attrs['objectClass']))||($this->parent->by_object['posixAccount']->is_account==true)))&&(!$this->is_group)){ - $message[]=(_("You need to enable POSIX features in order to enable evironment features!")); + $message[]= msgPool::featuresDisabled(_("environemnt"),_("POSIX")); } } return ($message); diff --git a/gosa-plugins/goto/personal/environment/hotplugDialog.tpl b/gosa-plugins/goto/personal/environment/hotplugDialog.tpl index 868e72b00..fd16778f0 100644 --- a/gosa-plugins/goto/personal/environment/hotplugDialog.tpl +++ b/gosa-plugins/goto/personal/environment/hotplugDialog.tpl @@ -60,8 +60,8 @@

 

- - + +