Ejemplo n.º 1
0
 /**
  * Return an array of all the dictionnaries files
  *
  * @return array
  */
 public static function get_file_list()
 {
     return array_keys(Mudnames::getInstance()->_dictionnaries->get_dictionnaries_list());
 }
Ejemplo n.º 2
0
" />

<h1>Tips :</h1>
<strong>Fichier utilis&eacute; :</strong> <?php 
echo Mudnames::get_info('file_used');
?>
<br/>
<strong>Parties utilis&eacute;es :</strong> <?php 
print_r(Mudnames::get_info('particles_used'));
?>
<br/>
<strong>Capacit&eacute; utilis&eacute;e :</strong> <?php 
echo Mudnames::get_info('capability') . (Mudnames::get_info('is_forced') ? ' -- <em>Forc&eacute;</em>' : '');
?>
<br />
<strong>Toutes les capacités :</strong> <?php 
echo Mudnames::get_info('capability_list');
?>

<h1>Fichiers de noms :</h1>
<ul>
<?php 
foreach (Mudnames::get_file_list() as $namefile) {
    echo '<li><a href="' . $_SERVER['PHP_SELF'] . '?f=' . $namefile . '">' . $namefile . '</a></li>';
}
?>
</ul>
</div>
</body>
</html>