Code

msgPool
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Mar 2008 09:36:37 +0000 (09:36 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Mar 2008 09:36:37 +0000 (09:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9483 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc
gosa-plugins/connectivity/personal/connectivity/main.inc

index c5ca2aa8c51138b0b89178b0a658218a0d43ba23..c3669ae081415d1be566f8a44d191fb0c3d2041e 100644 (file)
@@ -72,7 +72,7 @@ class connectivity extends plugin
       }
       if (!$enabled){
         $display= "<img alt=\"\" src=\"images/stop.png\" align=\"middle\">&nbsp;<b>".
-          _("This account has no connectivity extensions.")."</b>";
+          msgPool::noValidExtension()."</b>";
         $display.= back_to_main();
         return ($display);
       }
index 2bf8fe7216c2955d6ef0268981e49e05c2a13a7a..3eb9fe0b8da61d1a520328b3123cfc1f2368f36a 100644 (file)
@@ -99,9 +99,9 @@ if (!$remove_lock){
 
   $display.="<div align='right'>";
   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;";
   } else {
@@ -109,8 +109,8 @@ if (!$remove_lock){
       "\"> ".$ui->dn."&nbsp;";
 
     $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");
-    $display.= "<input type=submit name=\"edit\" value=\""._("Edit")."\">\n";
+      "\">".msgPool::clickEditToChange();
+    $display.= "<input type=submit name=\"edit\" value=\"".msgPool::editButton()."\">\n";
     $display.= "<input type=\"hidden\" name=\"ignore\">\n";
   }
   $display.="</div>";