From 3dea505b63ac7a75ae4c405c759b5ae271237a53 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 7 Mar 2008 15:55:10 +0000 Subject: [PATCH] Removed show_errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9451 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../addressbook/addons/addressbook/class_addressbook.inc | 2 +- gosa-plugins/connectivity/personal/connectivity/main.inc | 2 +- gosa-plugins/dfs/addons/godfs/class_dfsManagment.inc | 4 ++-- .../dhcp/admin/systems/services/dhcp/class_servDHCP.inc | 2 +- .../gofax/gofax/blocklists/class_blocklistManagement.inc | 2 +- gosa-plugins/gofax/gofax/faxaccount/main.inc | 2 +- .../gofon/gofon/conference/class_phoneConferenceManagment.inc | 2 +- gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc | 2 +- gosa-plugins/gofon/gofon/phoneaccount/main.inc | 2 +- .../goto/admin/applications/class_applicationManagement.inc | 2 +- gosa-plugins/goto/admin/devices/class_deviceManagement.inc | 2 +- .../goto/admin/mimetypes/class_mimetypeManagement.inc | 2 +- gosa-plugins/goto/personal/environment/main.inc | 2 +- .../ldapmanager/addons/ldapmanager/class_csvimport.inc | 2 +- gosa-plugins/mail/personal/mail/main.inc | 2 +- gosa-plugins/nagios/personal/nagios/main.inc | 2 +- gosa-plugins/netatalk/personal/netatalk/main.inc | 2 +- gosa-plugins/samba/personal/samba/main.inc | 2 +- gosa-plugins/scalix/personal/scalix/main.inc | 2 +- gosa-plugins/systems/admin/systems/class_systemManagement.inc | 2 +- 20 files changed, 21 insertions(+), 21 deletions(-) diff --git a/gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc b/gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc index 83f8bd74a..92c8a3a9d 100644 --- a/gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc +++ b/gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc @@ -251,7 +251,7 @@ class addressbook extends plugin session::un_set('saved_start'); } else { /* Errors found, show message */ - show_errors ($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/connectivity/personal/connectivity/main.inc b/gosa-plugins/connectivity/personal/connectivity/main.inc index 76c0de2cf..2bf8fe721 100644 --- a/gosa-plugins/connectivity/personal/connectivity/main.inc +++ b/gosa-plugins/connectivity/personal/connectivity/main.inc @@ -83,7 +83,7 @@ if (!$remove_lock){ session::un_set ('connectivity'); } else { /* Errors found, show message */ - show_errors ($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/dfs/addons/godfs/class_dfsManagment.inc b/gosa-plugins/dfs/addons/godfs/class_dfsManagment.inc index 28c6e924a..ad1b60fc5 100644 --- a/gosa-plugins/dfs/addons/godfs/class_dfsManagment.inc +++ b/gosa-plugins/dfs/addons/godfs/class_dfsManagment.inc @@ -114,7 +114,7 @@ class dfsManagment extends plugin { # write to ldap $this->dfstab->save(); } else { - show_errors($message); + msgDialog::displayChecks($message); } } @@ -164,7 +164,7 @@ class dfsManagment extends plugin { if ($ldap->count() == 0) { $message[] = _("No DFS entries found"); - show_errors ($message); + msgDialog::displayChecks($message); } else { $have_tree= false; while ($dfs = $ldap->fetch()) { diff --git a/gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc b/gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc index 6fa4628ca..329d76d8d 100644 --- a/gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc +++ b/gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc @@ -138,7 +138,7 @@ class servdhcp extends goService $this->dialog->save_object(); $messages= $this->dialog->check(); if (count($messages)){ - show_errors($messages); + msgDialog::displayChecks($messages); } else { $dn= $this->dialog->dn; $class= get_class($this->dialog); diff --git a/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc b/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc index 1092f1d19..ae3ee7a5a 100644 --- a/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc +++ b/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc @@ -150,7 +150,7 @@ class blocklist extends plugin } } else { /* Errors found, show message */ - show_errors ($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/gofax/gofax/faxaccount/main.inc b/gosa-plugins/gofax/gofax/faxaccount/main.inc index 54a7bda92..bcd59930a 100644 --- a/gosa-plugins/gofax/gofax/faxaccount/main.inc +++ b/gosa-plugins/gofax/gofax/faxaccount/main.inc @@ -60,7 +60,7 @@ if (!$remove_lock){ } else { /* Errors found, show message */ - show_errors ($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc index 00e6b8e68..a8cabe761 100644 --- a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc +++ b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc @@ -348,7 +348,7 @@ class phoneConferenceManagment extends plugin $this->conftab= NULL; session::un_set('objectinfo'); } else { - show_errors($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc index e60c943b2..fcd2d209d 100644 --- a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc +++ b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc @@ -200,7 +200,7 @@ class goFonMacro extends plugin } else { /* Ok. There seem to be errors regarding to the tab data, show message and continue as usual. */ - show_errors($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/gofon/gofon/phoneaccount/main.inc b/gosa-plugins/gofon/gofon/phoneaccount/main.inc index b8cc5ac60..40c3dcabb 100644 --- a/gosa-plugins/gofon/gofon/phoneaccount/main.inc +++ b/gosa-plugins/gofon/gofon/phoneaccount/main.inc @@ -80,7 +80,7 @@ if (!$remove_lock){ session::set('phoneAccount',$phoneAccount); } else { /* Errors found, show message */ - show_errors ($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/goto/admin/applications/class_applicationManagement.inc b/gosa-plugins/goto/admin/applications/class_applicationManagement.inc index 0b207d641..bbf147600 100644 --- a/gosa-plugins/goto/admin/applications/class_applicationManagement.inc +++ b/gosa-plugins/goto/admin/applications/class_applicationManagement.inc @@ -246,7 +246,7 @@ class applicationManagement extends plugin } else { /* Ok. There seem to be errors regarding to the tab data, show message and continue as usual. */ - show_errors($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/goto/admin/devices/class_deviceManagement.inc b/gosa-plugins/goto/admin/devices/class_deviceManagement.inc index e8343180e..bec0f50c1 100644 --- a/gosa-plugins/goto/admin/devices/class_deviceManagement.inc +++ b/gosa-plugins/goto/admin/devices/class_deviceManagement.inc @@ -181,7 +181,7 @@ class deviceManagement extends plugin } else { /* Ok. There seem to be errors regarding to the tab data, show message and continue as usual. */ - show_errors($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc index ef6063125..7b66b9a66 100644 --- a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc +++ b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc @@ -242,7 +242,7 @@ class mimetypeManagement extends plugin } else { /* Ok. There seem to be errors regarding to the tab data, show message and continue as usual. */ - show_errors($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/goto/personal/environment/main.inc b/gosa-plugins/goto/personal/environment/main.inc index 4a31aef58..d21438fbd 100644 --- a/gosa-plugins/goto/personal/environment/main.inc +++ b/gosa-plugins/goto/personal/environment/main.inc @@ -76,7 +76,7 @@ if (!$remove_lock){ session::un_set ('environment'); } else { /* Errors found, show message */ - show_errors ($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc index a8de6776b..9d5f48313 100644 --- a/gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc +++ b/gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc @@ -209,7 +209,7 @@ class csvimport extends plugin /* Insert in the LDAP tree */ if(count($this->usertab->check())) { - show_errors($this->usertab->check()); + msgDialog::displayChecks($this->usertab->check()); $this->csvinfo['sorteddata'][$i]['status']=""._("failed").""; $failing = $i+1; break; diff --git a/gosa-plugins/mail/personal/mail/main.inc b/gosa-plugins/mail/personal/mail/main.inc index 7a5516e26..73877b2e8 100644 --- a/gosa-plugins/mail/personal/mail/main.inc +++ b/gosa-plugins/mail/personal/mail/main.inc @@ -78,7 +78,7 @@ if (!$remove_lock){ session::un_set ('mailAccount'); } else { /* Errors found, show message */ - show_errors ($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/nagios/personal/nagios/main.inc b/gosa-plugins/nagios/personal/nagios/main.inc index 8414b1643..bf697b8f4 100644 --- a/gosa-plugins/nagios/personal/nagios/main.inc +++ b/gosa-plugins/nagios/personal/nagios/main.inc @@ -79,7 +79,7 @@ if (!$remove_lock){ session::un_set ('nagiosAccount'); } else { /* Errors found, show message */ - show_errors ($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/netatalk/personal/netatalk/main.inc b/gosa-plugins/netatalk/personal/netatalk/main.inc index 4cbf0a326..bc73a396b 100644 --- a/gosa-plugins/netatalk/personal/netatalk/main.inc +++ b/gosa-plugins/netatalk/personal/netatalk/main.inc @@ -74,7 +74,7 @@ if (!$remove_lock) { session::un_set('netatalk'); } else { /* Errors found, show message */ - show_errors($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/samba/personal/samba/main.inc b/gosa-plugins/samba/personal/samba/main.inc index 556d033d0..172d6ae70 100644 --- a/gosa-plugins/samba/personal/samba/main.inc +++ b/gosa-plugins/samba/personal/samba/main.inc @@ -79,7 +79,7 @@ if (!$remove_lock){ session::un_set ('sambaAccount'); } else { /* Errors found, show message */ - show_errors ($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/scalix/personal/scalix/main.inc b/gosa-plugins/scalix/personal/scalix/main.inc index b20418f80..40d38a13c 100644 --- a/gosa-plugins/scalix/personal/scalix/main.inc +++ b/gosa-plugins/scalix/personal/scalix/main.inc @@ -79,7 +79,7 @@ if (!$remove_lock){ session::un_set ('scalixAccount'); } else { /* Errors found, show message */ - show_errors ($message); + msgDialog::displayChecks($message); } } diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index 60f407ae0..b1f33c1b9 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -939,7 +939,7 @@ class systems extends plugin } else { /* Ok. There seem to be errors regarding to the tab data, show message and continue as usual. */ - show_errors($message); + msgDialog::displayChecks($message); } } -- 2.30.2