In modules/plugins, use this code:
<?php // plugin description stuff taken from phpBB2 if (isset($getmodulename)) { $filename = basename(__FILE__); $getmodulename = 'Content Editor (Angebote u. Verleihartikel)'; return; } ?>
To load this description, use these lines:
<?php echo '<ul type="circle">'; $d = opendir('.'); while ($file = readdir($d)) { if (is_file($file) && substr($file, 0, 2) == 'a_') { $getmodulename = '---'; include($file); echo '<li><a href="' . $file . '">' . $getmodulename . '</a></li>'; } } echo '</ul>'; ?>
Note: In phpBB2, the modules/plugins filled an array instead of replacing the contents of one single variable.