Differenze tra le versioni di "MediaWiki:Sidebar"
Da Wiki-Metin3.
Riga 1: | Riga 1: | ||
− | + | <div id="p-navigation"> | |
− | + | <?php foreach ($this->data['sidebar'] as $bar => $cont) { ?> | |
− | + | <ul> | |
− | + | <?php foreach($cont as $key => $val) { ?> | |
− | + | <li id="<?php echo htmlspecialchars($val['id']) ?>" <?php if ( $val['active'] ) { ?> class="active" <?php } ?>> | |
− | + | <a href="<?php echo htmlspecialchars($val['href']) ?>"><?php echo htmlspecialchars($val['text']) ?></a> | |
− | + | </li> | |
+ | <?php } ?> | ||
+ | </ul> | ||
+ | <?php } ?> | ||
+ | </div> |