From 4e5f5050eba33ef6d4f4e1ea236ecf5e86741963 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 14 Jul 2008 12:54:31 +0000 Subject: [PATCH] Updated phone Account.- git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11634 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc | 2 +- gosa-plugins/gofon/gofon/phoneaccount/main.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc index 111bfc8a8..81c93cbdd 100644 --- a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc +++ b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc @@ -1610,9 +1610,9 @@ class phoneAccount extends plugin "plProvidedAcls" => array( "telephoneNumber" => _("Telephone number"), - "goFonHomeServer" => _("Home server"), "goFonMacro" => _("Macro settings"), "goFonHardware" => _("Phone hardware"), + "goFonHomeServer" => _("Home server"), "goFonContext" => _("Phone context"), "goFonVoiceMailContext" => _("Voice mail context"), "goFonPIN" => _("Telephone pin"), diff --git a/gosa-plugins/gofon/gofon/phoneaccount/main.inc b/gosa-plugins/gofon/gofon/phoneaccount/main.inc index 179b22af8..7f8687c55 100644 --- a/gosa-plugins/gofon/gofon/phoneaccount/main.inc +++ b/gosa-plugins/gofon/gofon/phoneaccount/main.inc @@ -109,7 +109,7 @@ if (!$remove_lock){ } else { $info= "\"\" ".$ui->dn." "; - if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/phoneAccount"))){ + if(preg_match("/r/",$ui->get_permissions($ui->dn,"users/phoneAccount"))){ $info.= "\"\""._("Click the 'Edit' button below to change informations in this dialog"); $display.= "\n"; } @@ -120,7 +120,7 @@ if (!$remove_lock){ } /* Page header*/ - $display= print_header(get_template_path('images/phone.png'), _("Phone settings"), $info).$display; + $display= print_header(get_template_path('plugins/gofon/plugin.png'), _("Phone settings"), $info).$display; } ?> -- 2.30.2