/** * delete questions confirmation screen */ function deleteQuestionsObject() { global $rbacsystem; if (count($_POST["q_id"]) < 1) { ilUtil::sendInfo($this->lng->txt("qpl_delete_select_none"), true); $this->ctrl->redirect($this, "questions"); } ilUtil::sendQuestion($this->lng->txt("qpl_confirm_delete_questions")); $deleteable_questions =& $this->object->getDeleteableQuestionDetails($_POST["q_id"]); include_once "./Modules/TestQuestionPool/classes/tables/class.ilQuestionBrowserTableGUI.php"; $table_gui = new ilQuestionBrowserTableGUI($this, 'questions', $rbacsystem->checkAccess('write', $_GET['ref_id']) ? true : false, true); $table_gui->setEditable($rbacsystem->checkAccess('write', $_GET['ref_id'])); $table_gui->setData($deleteable_questions); $this->tpl->setVariable('ADM_CONTENT', $table_gui->getHTML()); }