/** * The main method of the Plugin. * * @param string $content The Plugin content * @param array $conf The Plugin configuration * @return string The content that is displayed on the website */ public function main($content, array $conf) { $this->conf = $conf; $this->pi_setPiVarDefaults(); $this->pi_loadLL(); $content = ''; // Login require_once('fileadmin/php/class.LOGIN.php'); $login = new LOGIN(); $content .= $login->getCONTENT(); // Links require_once('fileadmin/php/class.LINKS.php'); $links = new LINKS(); $content .= $links->getCONTENT(); return $this->pi_wrapInBaseClass($content); }