Code

Removed Back
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 13 Mar 2008 15:35:58 +0000 (15:35 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 13 Mar 2008 15:35:58 +0000 (15:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9752 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/functions.inc
gosa-core/include/utils/class_msgPool.inc
gosa-core/plugins/admin/departments/class_departmentManagement.inc
gosa-core/setup/class_setup.inc

index 77cc8fd6a42e82ec902104bac4e40a42387dc5e3..4d47e5019a9ca387ae9613613a07da1a88a9416a 100644 (file)
@@ -1547,7 +1547,7 @@ function apply_filter()
 function back_to_main()
 {
   $string= '<br><p class="plugbottom"><input type=submit name="password_back" value="'.
-    _("Back").'"></p><input type="hidden" name="ignore">';
+    msgPool::backButton().'"></p><input type="hidden" name="ignore">';
 
   return ($string);
 }
index 52a3c1ed06739c1840928cfd3b40f95a87234d5d..c2bb2d1355a22bcb2640daa9427b3a358f70f7e0 100644 (file)
@@ -319,7 +319,7 @@ class msgPool
 
   public static function backButton($what= "")
   {
-    return $what == "" ? sprintf(_("Back...")): sprintf(_("Back %s..."), $what);
+    return _("Back");
   }
 
 
index 81aaae19970405a8cadf60e43cca232edfa19de5..43b92fd64cf0ab734c7cc9711cd5be60b032ebbf 100644 (file)
@@ -416,7 +416,7 @@ class departmentManagement extends plugin
       if(empty($tmp2['dn'])){
         $tmp2['dn']="/";
       }
-      $tmp2    ['description'][0] = ".. "._("Back");
+      $tmp2    ['description'][0] = ".. ".msgPool::backButton();
       $result[$tmp[$base_back]]=$tmp2;
     }
 
index 151d29fdd1fa5d8eb6d1df351c957fa9c11fa1d0..e4a7ef52623560a2b1d7cdf47dd751d24dddebfc 100644 (file)
@@ -258,9 +258,9 @@ class setup
       $str ="<p class='seperator' style='margin-bottom:10px;'>&nbsp;</p>";
       $str.="   <div style='text-align:right;float:top;'>";
       if(isset($this->o_steps[$this->i_current -1]) && $this->o_steps[$this->i_current -1]->is_enabled()){
-        $str .= "<input type='submit' name='last' value='"._("Back")."'>";
+        $str .= "<input type='submit' name='last' value='".msgPool::backButton()."'>";
       }else{
-        $str .= "<input type='button' name='last' value='"._("Back")."' disabled>";
+        $str .= "<input type='button' name='last' value='".msgPool::backButton()."' disabled>";
       }
       $str.= "&nbsp;";
         $str .= "<input type='submit' name='next' value='"._("Continue")."'>";