'Demo', 'version' => 'CORE', 'summary' => 'This plugin provides test/sample code for many of the hook points in the SquirrelMail core.', 'details' => 'This plugin provides test/sample code for many of the hook points in the SquirrelMail core.', 'requires_configuration' => 0, 'requires_source_patch' => 0, ); } /** * Returns version info about this plugin * */ function demo_version() { $info = demo_info(); return $info['version']; } /** * Add link to menu at top of content pane * * @return void * */ function demo_page_header_template() { include_once(SM_PATH . 'plugins/demo/functions.php'); return demo_page_header_template_do(); } /** * Inserts an option block in the main SM options page * * @return void * */ function demo_option_link() { include_once(SM_PATH . 'plugins/demo/functions.php'); demo_option_link_do(); } /** * Validate that this plugin is configured correctly * * @return boolean Whether or not there was a * configuration error for this plugin. * */ function demo_check_configuration() { include_once(SM_PATH . 'plugins/demo/functions.php'); return demo_check_configuration_do(); }