Differenze tra le versioni di "MediaWiki:Sidebar"

Da Wiki-Metin3.
Riga 1: Riga 1:
 
+
<div id="p-navigation">
* navigation
+
    <?php foreach ($this->data['sidebar'] as $bar => $cont) { ?>
** Metin3 Wiki|mainpage-description
+
          <ul>
** Eventi in Corso|Attualità
+
          <?php foreach($cont as $key => $val) { ?>
** recentchanges-url|recentchanges
+
              <li id="<?php echo htmlspecialchars($val['id']) ?>" <?php if ( $val['active'] ) { ?> class="active" <?php } ?>>
** randompage-url|randompage
+
              <a href="<?php echo htmlspecialchars($val['href']) ?>"><?php echo htmlspecialchars($val['text']) ?></a>
** Aiuto|help
+
              </li>
 +
          <?php } ?>
 +
          </ul>
 +
    <?php } ?>
 +
</div>

Versione delle 09:13, 22 feb 2013

   <?php foreach ($this->data['sidebar'] as $bar => $cont) { ?>
    <?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>
             <?php } ?>
    
    <?php } ?>