moduletitle = 'Startseite'; $this->revision = '$Revision$'; $this->date = '$Date$'; } /** * @brief Should this module be executed? * * To be called by base page (index.php) as all other modules to activate by matching HTTP GET param AND on empty * @param $monitord_webfrontend_modules An array holding all available/loaded modules * @author Martin Diedrich (mdiedrich) */ protected function decide_to_be_called() { if((isset($_GET['module']) && $_GET['module'] == $this->modulename) || !sizeof($_GET)) { if($this->module_ini['main']['enable'] == '1') { return true; } else { throw new exception('Module disabled.', '308'); } } return false; } /** * @brief The module's main output method * * Generates some nice output to be seen as first screen * @param $monitord_webfrontend_modules An array holding all available/loaded modules * @author Martin Diedrich (mdiedrich) */ protected function output_content($monitord_webfrontend_modules) { echo '