Code

User generic
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Mar 2008 07:40:27 +0000 (07:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Mar 2008 07:40:27 +0000 (07:40 +0000)
-Replaced button texts

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9478 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/generic/main.inc

index f1afbfa12f7923b26e8c373804e31aad38373965..eba6b8f50d5101930892fac9938cef0f785a8967 100644 (file)
@@ -157,9 +157,9 @@ if (!$remove_lock){
 
     /* Are we in edit mode? */
     if (session::is_set('edit')){
-      $display.= "<input type=submit name=\"edit_finish\" style=\"width:80px\" value=\""._("Ok")."\">\n";
+      $display.= "<input type=submit name=\"edit_finish\" style=\"width:80px\" value=\"".msgPool::okButton()."\">\n";
       $display.= "&nbsp;";
-      $display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
+      $display.= "<input type=submit name=\"edit_cancel\" value=\"".msgPool::cancelButton()."\">\n";
 
       $info= "<img class=\"center\" alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png').
              "\"> ".$ui->dn."&nbsp;";
@@ -167,10 +167,10 @@ if (!$remove_lock){
       /* 'viewid' may be set by i.e. the phonelist plugin. This
          means that we want to go back... */
       if (isset ($viewid)){
-        $str= _("Back");
+        $str= msgPool::backButton();
         $fn = "back";
       } else {
-        $str= _("Edit");
+        $str= msgPool::editButton();
         $fn = "edit";
         $info= "<img class=\"center\" alt=\"\" align=\"middle\" src=\"".get_template_path('images/openlock.png').
                "\"> ".$ui->dn."&nbsp;";
@@ -180,7 +180,7 @@ if (!$remove_lock){
       if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/user"))){
         if ($fn == "edit"){
           $info.= "<img class=\"center\" alt=\"\" align=\"middle\" src=\"".get_template_path('images/lamp.png')."\"> ".
-            _("Click the 'Edit' button below to change informations in this dialog");
+            msgPool::clickEditToChange();
           $display.= "<input type=submit name=\"$fn\" value=\"$str\">\n";
         }
       }