Code

Updated phone Account.-
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Jul 2008 12:54:31 +0000 (12:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Jul 2008 12:54:31 +0000 (12:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11634 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc
gosa-plugins/gofon/gofon/phoneaccount/main.inc

index 111bfc8a82aba6798515bf582f5ee05ed7de7056..81c93cbdd7c0740498475b84565a627cf42b645a 100644 (file)
@@ -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"),
index 179b22af8dc36d43b71c7cfa7bc31c12ddba0102..7f8687c5534fd3d999125a298e5af67a531542f9 100644 (file)
@@ -109,7 +109,7 @@ if (!$remove_lock){
                } else {
                        $info= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/unlocked.png')."\"> ".$ui->dn."&nbsp;";
 
-                       if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/phoneAccount"))){
+                       if(preg_match("/r/",$ui->get_permissions($ui->dn,"users/phoneAccount"))){
                                $info.= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/on.png')."\">"._("Click the 'Edit' button below to change informations in this dialog");
                                $display.= "<input type=submit name=\"edit\" value=\"".msgPool::editButton()."\">\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;
 
 }
 ?>