Code

Made buttons w3c conform
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 31 Jan 2007 08:08:30 +0000 (08:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 31 Jan 2007 08:08:30 +0000 (08:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5669 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/class_setup.inc
setup/setup_frame.tpl

index 21b0374d06a7e3ec72bfd19470f154edfe3c4dbc..792dec9a979bfbdeea7b0bfbce37f2627770edc0 100644 (file)
@@ -93,15 +93,17 @@ class setup extends plugin
       $b_active   = $step -> is_active();
       $b_enabled  = $step -> is_enabled();
 
+      $str .="<div >";
       if($b_enabled){
         if($b_active){
           $str .= "<a href='?step=".$key."' class='navigation_element_active'>";
-          $str .= "<div class='navigation_title_active'>".$s_title."</div>";
-          $str .= "<div class='navigation_info'>".$s_info."</div>";
+          $str .= "<span class='navigation_title_active'>".$s_title."</span>";
+          $str .= "<br>";
+          $str .= "<span class='navigation_info'>".$s_info."</span>";
           $str .= "</a><br>\n";
         }else{
           $str .= "<a href='?step=".$key."' class='navigation_element'>";
-          $str .= "<div class='navigation_title_inactive'>".$s_title."</div>";
+          $str .= "<span class='navigation_title_inactive'>".$s_title."</span>";
           $str .= "</a><br>\n";
         }
       }else{
@@ -109,6 +111,7 @@ class setup extends plugin
         $str .= "<div class='navigation_title_disabled'>".$s_title."</div>";
         $str .= "</div>";
       }
+      $str .= "</div>" ;
     }
     return($str);
   }
@@ -117,7 +120,7 @@ class setup extends plugin
   /* Create header entry */
   function get_header_html()
   {
-    $str ="<font style='font-size:20px;' color='darkblue'>";
+    $str ="<font style='font-size:20px;'>";
     $str.=   $this->o_steps[$this->i_current]->get_long_title();
     $str.="</font>";
     return ($str);
index 3c3275cfefeeb0b185ed496db311c0220ae50c21..5b2ffc6f89282a4fdc09259cf4613a3950da038a 100644 (file)
@@ -5,12 +5,12 @@
 <!-- All over div -->
 <div class='setup_dialog'>
 
-       <!-- Basic header  -->
+       <!-- Basic header -->
        <div class='setup_header'>
                {t}GOsa - GOnicus System Administrator Setup{/t}
        </div>
 
-       <!-- Navigation div   -->
+       <!-- Navigation div -->
        <div class='setup_navigation'>
                <div class='setup_navigation_border' >
                        <div class='setup_navigation_title'>