Esempio n. 1
0
echo $string['oeditsummary'];
?>
">
          <tbody>
            <tr>
              <th><?php 
echo $string['type'];
?>
</th>
              <td>
                <select id="display_method" name="display_method" class="sct-type"<?php 
echo $disabled;
?>
>
<?php 
echo ViewHelper::render_options($question->get_display_methods(), $question->get_display_method(), 3);
?>
                </select>
              </td>
              <th class="small"><?php 
echo $string['experts'];
?>
</th>
            </tr>
<?php 
$experts = range(0, 40);
$index = 1;
foreach ($question->options as $o_id => $option) {
    include 'options/opt_sct.php';
    $index++;
}
Esempio n. 2
0
require_once 'details_common.php';
$disp_method_class = 'dichotomous-display';
require_once 'detail_parts/details_presentation.php';
?>
            <tr>
              <th><label for="option_order"><?php 
echo $string['optionorder'];
?>
</label></th>
              <td>
                <select id="option_order" name="option_order"<?php 
echo $disabled;
?>
>
<?php 
echo ViewHelper::render_options($question->get_option_orders(), $question->get_option_order(), 3);
?>
                </select>
              </td>
            </tr>
					</tbody>
				</table>

<?php 
require_once 'detail_parts/details_marking.php';
require_once 'detail_parts/details_general_feedback.php';
?>

        <div class="form">
          <h2 class="midblue_header"><?php 
echo $string['options'];
Esempio n. 3
0
<?php 
    echo ViewHelper::render_options($marks_partial, $mark_partial, 3);
    ?>
                  </select>
                </span>
<?php 
}
if ($allow_neg or $mark_incorrect != 0) {
    ?>
                <label for="option_marks_incorrect" class="heavy"><?php 
    echo $string['marksincorrect'];
    ?>
</label>
                <select id="option_marks_incorrect" name="option_marks_incorrect">
<?php 
    echo ViewHelper::render_options($marks_negative, $mark_incorrect, 3);
    ?>
                </select>
<?php 
} else {
    ?>
                <input type="hidden" id="option_marks_incorrect" name="option_marks_incorrect" value="<?php 
    echo $mark_incorrect;
    ?>
" />
<?php 
}
?>
              </td>
            </tr>
          </tbody>
Esempio n. 4
0
?>
>
<?php 
echo ViewHelper::render_options($rows, $question->get_rows(), 3, false, '', '', " {$string['rows']}");
?>
                </select>
                <label for="editor" class="heavy"><?php 
echo $string['editor'];
?>
</label>
                <select id="editor" name="editor"<?php 
echo $disabled;
?>
>
<?php 
echo ViewHelper::render_options($editors, $editor, 3);
?>
                </select>
              </td>
            </tr>
<?php 
require_once 'detail_parts/details_marking.php';
?>
					</tbody>
				</table>

        <table id="q-options" class="form" summary="<?php 
echo $string['reminders'];
?>
">
<?php 
Esempio n. 5
0
?>
" type="hidden" />
              </td>
              <td class="small align-right">
                <select id="option_correct<?php 
echo $index;
?>
" name="option_correct<?php 
echo $index;
?>
"<?php 
echo $disabled;
?>
>
<?php 
echo ViewHelper::render_options($experts, $option->get_correct(), 3);
?>
                </select>
              </td>
            </tr>
            <tr<?php 
echo $alt_c;
?>
>
              <th class="spaced-bottom"><label for="option_correct_fback<?php 
echo $index;
?>
"><?php 
echo $string['feedback'];
?>
</label></th>
Esempio n. 6
0
"<?php 
echo $dis_readonly;
?>
 />
                <input name="optionid<?php 
echo $index;
?>
" value="<?php 
echo $option->id;
?>
" type="hidden" />
              </td>
              <td class="small align-centre spaced-bottom<?php 
echo $spaced;
?>
">
                <select id="option_correct<?php 
echo $index;
?>
" name="option_correct<?php 
echo $index;
?>
">
<?php 
echo ViewHelper::render_options($correct_vals, $option->get_correct(), 3);
?>
                </select>
              </td>
            </tr>
          </tbody>
Esempio n. 7
0
 <?php 
echo $string['decimals'];
?>
</label>
                <select id="option_decimals<?php 
echo $index;
?>
" name="option_decimals<?php 
echo $index;
?>
"<?php 
echo $disabled;
?>
>
<?php 
echo ViewHelper::render_options($decimals, $variable->get_decimals(), 3);
?>
                </select>
              </td>
              <td class=" align-left<?php 
echo $spaced;
?>
">
                <label for="option_increment<?php 
echo $index;
?>
" class="hide"><?php 
echo $string['option'];
?>
 <?php 
echo $index;
Esempio n. 8
0
echo $alt_c;
?>
>
              <th><label for="option_correct<?php 
echo $index;
?>
"><?php 
echo $string['correctanswers'];
?>
</label><br /><span class="note"><?php 
echo $string['correctanswersmsg'];
?>
</span></th>
              <td>
                <select id="option_correct<?php 
echo $index;
?>
" name="option_correct<?php 
echo $index;
?>
[]" multiple="multiple" size="<?php 
echo $select_size;
?>
" class="extmatch-correct">
<?php 
echo ViewHelper::render_options($option_texts, $selected, 3);
?>
                </select>
              </td>
            </tr>
            
Esempio n. 9
0
                  <optgroup label="<?php 
echo $string['decimals'];
?>
">
<?php 
echo ViewHelper::render_options($decimal_opts, $question->get_answer_precision(), 4);
?>
                  </optgroup>
                  <optgroup label="<?php 
echo $string['decimals'] . ' ' . $string['withzeros'];
?>
">
<?php 
echo ViewHelper::render_options($decimal_opts_zero, $question->get_answer_precision(), 4);
?>
                  </optgroup>
                  <optgroup label="<?php 
echo $string['sigfigures'];
?>
">
<?php 
echo ViewHelper::render_options($sf_opts, $question->get_answer_precision(), 4);
?>
                  </optgroup>
                </select>
              </td>
            </tr>
          </tbody>
        </table>