From: cajus Date: Thu, 13 Mar 2008 15:35:58 +0000 (+0000) Subject: Removed Back X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a0f3b4439422d2e0aa9b034f4cc0a04eb348e2b8;p=gosa.git Removed Back git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9752 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 77cc8fd6a..4d47e5019 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -1547,7 +1547,7 @@ function apply_filter() function back_to_main() { $string= '

'; + msgPool::backButton().'">

'; return ($string); } diff --git a/gosa-core/include/utils/class_msgPool.inc b/gosa-core/include/utils/class_msgPool.inc index 52a3c1ed0..c2bb2d135 100644 --- a/gosa-core/include/utils/class_msgPool.inc +++ b/gosa-core/include/utils/class_msgPool.inc @@ -319,7 +319,7 @@ class msgPool public static function backButton($what= "") { - return $what == "" ? sprintf(_("Back...")): sprintf(_("Back %s..."), $what); + return _("Back"); } diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc index 81aaae199..43b92fd64 100644 --- a/gosa-core/plugins/admin/departments/class_departmentManagement.inc +++ b/gosa-core/plugins/admin/departments/class_departmentManagement.inc @@ -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; } diff --git a/gosa-core/setup/class_setup.inc b/gosa-core/setup/class_setup.inc index 151d29fdd..e4a7ef526 100644 --- a/gosa-core/setup/class_setup.inc +++ b/gosa-core/setup/class_setup.inc @@ -258,9 +258,9 @@ class setup $str ="

 

"; $str.="
"; if(isset($this->o_steps[$this->i_current -1]) && $this->o_steps[$this->i_current -1]->is_enabled()){ - $str .= ""; + $str .= ""; }else{ - $str .= ""; + $str .= ""; } $str.= " "; $str .= "";