diff --git a/view.php b/view.php index e79336d..9702284 100644 --- a/view.php +++ b/view.php @@ -106,7 +106,6 @@ $output->init($hq); // 20230522 Changed to $canask. Process submitted question. -//if (has_capability('mod/hotquestion:ask', $context)) { if ($canask) { $mform = new hotquestion_form(null, array($hq->instance->anonymouspost, $hq->cm)); // 20230520 Needed isset so changing unapproved question views do not cause an error. @@ -144,9 +143,6 @@ } } -// 20230519 Added for preference selector. -//echo '
'; - // Handle priority, vote, newround, removeround, remove question, download questions, and approve question. if (!empty($action)) { switch ($action) { @@ -280,6 +276,7 @@ ': '.date("l, d M Y, G:i A", $hotquestion->timeclose).'
'; } + // 20230522 Added a single row table to make both group and viewunapproved preference drop down menus work. echo '
'; // Print group information (A drop down box will be displayed if the user @@ -307,10 +304,11 @@ .'