Index: trunk/phase3/skins/MonoBook.php |
— | — | @@ -48,7 +48,6 @@ |
49 | 49 | */ |
50 | 50 | function execute() { |
51 | 51 | // Suppress warnings to prevent notices about missing indexes in $this->data |
52 | | - global $action; |
53 | 52 | wfSuppressWarnings(); |
54 | 53 | |
55 | 54 | ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
— | — | @@ -132,7 +131,9 @@ |
133 | 132 | <div class='pBody'> |
134 | 133 | <ul> |
135 | 134 | <?php foreach($cont as $key => $val) { |
136 | | - echo '<li id="' . htmlspecialchars($val['id']) . '">'; |
| 135 | + echo '<li id="' . htmlspecialchars($val['id']) . '"'; |
| 136 | + if ( $val['active'] ) echo ' class="active"'; |
| 137 | + echo '>'; |
137 | 138 | if ( $val['active'] ) echo '<strong>'; |
138 | 139 | if ( $val['dolink'] ) echo '<a href="' . htmlspecialchars($val['href']) . '">'; |
139 | 140 | echo htmlspecialchars($val['text']); |