/** * Basic initialization of the class * * @return void */ function init() { $this->MCONF = $GLOBALS['MCONF']; $this->menuConfig(); $this->switchUser(t3lib_div::_GP('SwitchUser')); // ************************** // Initializing // ************************** $this->doc = t3lib_div::makeInstance('template'); $this->doc->backPath = $GLOBALS['BACK_PATH']; $this->doc->setModuleTemplate('templates/beuser.html'); $this->doc->form = '<form action="" method="post">'; // JavaScript $this->doc->JScode = $this->doc->wrapScriptTags(' script_ended = 0; function jumpToUrl(URL) { // window.location.href = URL; } ' . $this->doc->redirectUrls()); }