function notifications()
 {
     require_once XOOPS_LEGACY_PATH . "/class/ActionFrame.class.php";
     $root =& XCube_Root::getSingleton();
     $root->mController->setupModuleContext('legacy');
     //
     // 'Notify' is prefix to guard accessing from misc.php.
     //
     $actionName = isset($_REQUEST['op']) ? trim(xoops_getrequest('op')) : "List";
     if (isset($_REQUEST['delete'])) {
         $actionName = "Delete";
     }
     if (isset($_REQUEST['delete_cancel'])) {
         $actionName = "Cancel";
     }
     $moduleRunner = new Legacy_ActionFrame(false);
     $moduleRunner->setMode(LEGACY_FRAME_MODE_NOTIFY);
     $moduleRunner->setActionName($actionName);
     $root->mController->mExecute->add(array(&$moduleRunner, 'execute'));
     $root->mController->execute();
     $root->mController->executeView();
 }