Code

Added non breaking space in tab headers
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Nov 2006 05:44:30 +0000 (05:44 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Nov 2006 05:44:30 +0000 (05:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5019 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_tabs.inc

index 864c7e87c3ccfdd59ab50cc18e88f6c9ef6733d0..76101a90f2e3bc767438d53bfc602e90b344075f 100644 (file)
@@ -150,6 +150,8 @@ class tabs
                if (mb_strlen($title, 'UTF-8') > 14){
                        $title= mb_substr($title,0, 12, 'UTF-8')."...";
                }
+
+               $title= preg_replace("/ /", "&nbsp;", $title);
                
                if ($_SESSION['js']==FALSE){    
                        $display.= "<div class=\"$style[$index]\"><input type=\"submit\" name=\"$class\"".