/** * 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()); }
" /> <h1>Tips :</h1> <strong>Fichier utilisé :</strong> <?php echo Mudnames::get_info('file_used'); ?> <br/> <strong>Parties utilisées :</strong> <?php print_r(Mudnames::get_info('particles_used')); ?> <br/> <strong>Capacité utilisée :</strong> <?php echo Mudnames::get_info('capability') . (Mudnames::get_info('is_forced') ? ' -- <em>Forcé</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>