* @copyright 2006 The SquirrelMail Project Team, Alexandros Vellis * @package plugins * @subpackage devhelper */ /** * Register Plugin * @return void */ function squirrelmail_plugin_init_devhelper() { global $squirrelmail_plugin_hooks; $squirrelmail_plugin_hooks['menuline']['devhelper'] = 'devhelper_menuline'; } /** * Display menuline link * @return void */ function devhelper_menuline() { displayInternalLink('plugins/devhelper/devhelper_variables.php', "Dev::Variables"); echo "  \n"; displayInternalLink('plugins/devhelper/devhelper_unittesting.php', "Dev::UnitTesting"); echo "  \n"; displayInternalLink('plugins/devhelper/devhelper_tests.php', "Dev::Tests"); echo "  \n"; displayInternalLink('plugins/devhelper/devhelper_toolbox.php', "Dev::Toolbox"); echo "  \n"; } /** * Return information about plugin * @return array */ function devhelper_info() { return array( 'version' => '0.1' ); } /** * Return version info about this plugin * @return string */ function devhelper_version() { $info = devhelper_info(); return $info['version']; } ?>