Code

Updated path rendering
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 11:09:49 +0000 (11:09 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 11:09:49 +0000 (11:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16447 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/themes/modern/style.css
gosa-core/include/class_pathNavigator.inc

index 38829cab7d329651b3af3915724b716d1317ace3..a554dda3d480efb0f274649f3cce658db8d17e0a 100644 (file)
@@ -256,14 +256,13 @@ ul.path-navigation {
 ul.path-navigation li {
   display:inline;
   padding:5px;
-  padding-top:8px;
+  padding-top:9px;
   height:19px;
 }
 
 ul.path-navigation li.path-element {
-  font-weight:bold;
   cursor:default;
-  border-right:1px solid #C2C2C2;
+  border-left:1px solid #C2C2C2;
 }
 
 ul.path-navigation li:hover {
@@ -275,6 +274,7 @@ ul.path-navigation li:hover {
 div.nav-home {
   height:14px;
   width:20px;
+  margin-top:-1px;
   background-image:url(images/home.png);
 }
 
index ba263dd18b375072f2f381e6a2618dc8435db07f..b9b37a4046f4d1e30757781c71ab86cd5481d5b0 100644 (file)
@@ -7,7 +7,7 @@ class pathNavigator
   {
     $str = "";
     if($class instanceOf management && isset($class->plHeadline)){
-      $str = "<b>"._($class->plHeadline)."</b>";
+      $str= _($class->plHeadline);
     }elseif($class instanceOf plugin && isset($class->plHeadline)){
 #      $str = _($class->plHeadline);
     }elseif($class instanceOf plugin && !isset($class->plHeadline)){
@@ -21,7 +21,7 @@ class pathNavigator
     if(!empty($str)){
       $cur = session::get('pathNavigator::position');
       if(empty($cur)){
-        $cur.= "<li class='left left-border path-element'>{$str}</li>";
+        $cur.= "<li class='left path-element'>{$str}</li>";
       }else{
         $cur.= "<li class='left path-element'>{$str}</li>";
       }
@@ -33,7 +33,7 @@ class pathNavigator
   {
     $path = session::get('pathNavigator::position');
     if(empty($path)){
-      $path = "<li class='left left-border path-element'>Welcome to GOsa</li>";
+      $path = "<li class='left path-element'>"._("Welcome to GOsa")."</li>";
     }
     return($path);
   }