Code

Updated styles
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Mar 2010 15:08:53 +0000 (15:08 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Mar 2010 15:08:53 +0000 (15:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15808 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 6ce586a3cc4c0a8f140e1221727484852e3e02e8..9838a3b722ff6d35b50462e9df55b2330fe6a24b 100644 (file)
@@ -88,6 +88,7 @@ img, input[type=image] {
 div.img{
   background-repeat:no-repeat;
   position:relative;
+  float:left;
 }
 
 div.img div {
@@ -527,10 +528,6 @@ fieldset textarea:hover{
   cursor:pointer;
 }
 
-.icon-menu-item div.img{
-  float:left;
-}
-
 .icon-menu-item div.dsc{
   margin-left:55px
 }
index d0b9eab7b568bba5f1659c2f5b265d3880e46a33..5d20269eede72a0dd3f1ca695f45adf1c5461b71 100644 (file)
@@ -186,7 +186,7 @@ class baseSelector {
       $selected= $this->base == $base?" class='treeListSelected'":"";
       $link= "onclick=\"\$('bs_rebase_".$this->pid."').value='".base64_encode($base)."';$('submit_tree_base_".$this->pid."').click();\"";
       $this->tree.= "<li><a$selected $link>".
-                    "<img class='center' src='".$config->department_info[$base]['img']."'>&nbsp;".
+                    image($config->department_info[$base]['img'])."&nbsp;".
                     $this->gennonbreaks($config->department_info[$base]['name']).
                     ($config->department_info[$base]['description']==''?'':'&nbsp;<span class="informal">['.$this->gennonbreaks($config->department_info[$base]['description']).']</span>').
                     "</a>";