" ); //--> </script> <?php } if ($return) { mosRedirect($return); } else { mosRedirect('index.php'); } } } /** get the information about the current user from the sessions table */ $my = $mainframe->getUser(); /** detect first visit */ $mainframe->detect(); $gid = intval($my->gid); // gets template for page $cur_template = $mainframe->getTemplate(); /** temp fix - this feature is currently disabled */ /** @global A places to store information from processing of the component */ $_MOS_OPTION = array(); // precapture the output of the component require_once $mosConfig_absolute_path . '/editor/editor.php'; ob_start(); if ($path = $mainframe->getPath('front')) { $task = mosGetParam($_REQUEST, 'task', ''); $ret = mosMenuCheck($Itemid, $option, $task, $gid); if ($ret) { require_once $path; } else {