<?php // $Id: editquestion.php,v 1.2 2006/04/28 09:44:14 gustav_delius Exp $
    if (!empty($question->id)) {
        $options = get_record("question_randomsamatch", "question", $question->id);
    } else {
        $options->choose = "";
    }
    $saquestions = $QTYPES['randomsamatch']->get_sa_candidates($category->id);
    $numberavailable = count($saquestions);
    unset($saquestions);

    $yesnooptions = array();
    $yesnooptions[0] = get_string("no");
    $yesnooptions[1] = get_string("yes");

    print_heading_with_help(get_string("editingrandomsamatch", "quiz"), "randomsamatch", "quiz");
    require("$CFG->dirroot/question/type/randomsamatch/editquestion.html");

?>
