]> git.mjollnir.org Git - moodle.git/commitdiff
theme / navbar: MDL-14133 every link in the nav bar was getting class="first"!
authortjhunt <tjhunt>
Tue, 3 Feb 2009 09:32:58 +0000 (09:32 +0000)
committertjhunt <tjhunt>
Tue, 3 Feb 2009 09:32:58 +0000 (09:32 +0000)
lib/weblib.php

index 150483b12cd8f038797d1d37f4153437dd5e4468..fa2241598a11221421fb79e28d3aa081c210dc69 100644 (file)
@@ -3629,9 +3629,9 @@ function print_navigation ($navigation, $separator=0, $return=false) {
             $url   = $navitem['url'];
 
             if (empty($url)) {
-                $output .= '<li class="first">'."$separator $title</li>\n";
+                $output .= '<li>'."$separator $title</li>\n";
             } else {
-                $output .= '<li class="first">'."$separator\n<a ".$CFG->frametarget.' onclick="this.target=\''.$CFG->framename.'\'" href="'
+                $output .= '<li>'."$separator\n<a ".$CFG->frametarget.' onclick="this.target=\''.$CFG->framename.'\'" href="'
                            .$url.'">'."$title</a>\n</li>\n";
             }
         }