echo $alt_c; ?> > <th><?php echo $mandatory; ?> <label for="edit_extmatch<?php echo $index; ?> "><?php echo $string['stem']; ?> </label></th> <td> <?php echo wysywig_or_non_editable($dis_class, 'edit_extmatch' . $index, 'question_stem' . strval($index), $stem); ?> </td> </tr> <?php if (isset($all_media['filenames'][$index]) and $all_media['filenames'][$index] != '') { $current_media_html = display_media($all_media['filenames'][$index], $all_media['widths'][$index], $all_media['heights'][$index], '', $index, $locked); ?> <tr<?php echo $alt_c; ?> > <th><?php echo $string['current'] . ' ' . $string['media']; ?> </th>
// GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Rogō. If not, see <http://www.gnu.org/licenses/>. /** * * @author Rob Ingram * @version 1.0 * @copyright Copyright (c) 2013 The University of Nottingham * @package */ $mandatory = (isset($mandatory_editor) and $mandatory_editor) ? '<span class="mandatory">*</span> ' : ''; $field_editor = isset($field_editor) ? $field_editor : 'scenario'; $label_editor = isset($label_editor) ? $label_editor : '<label for="' . $field_editor . '">' . $string['scenario'] . '</label><br /><span class="note">' . $string['scenariomsg'] . '</span>'; $value_editor = isset($value_editor) ? $value_editor : $question->get_scenario(); $index_editor = isset($index_editor) ? $index_editor++ : 1; ?> <tr> <th><?php echo $mandatory; echo $label_editor; ?> </th> <td> <?php echo wysywig_or_non_editable($dis_class, 'edit_common' . $index_editor, $field_editor, $value_editor); ?> </td> </tr>
$disp_method_class = 'blank-display'; require_once 'detail_parts/details_presentation.php'; ?> <tr> <th> </th> <td><?php echo $scenario_message; ?> </td> </tr> <tr> <th class="align-top"><span class="mandatory">*</span> <label for="option_text"><?php echo $string['question']; ?> </label></th> <td> <?php echo wysywig_or_non_editable($dis_class, 'edit_common1', 'option_text', $scanario_text, 695, 250); ?> </td> </tr> </tbody> </table> <input name="optionid1" value="<?php echo $option_id; ?> " type="hidden" /> <?php require_once 'detail_parts/details_marking.php'; require_once 'detail_parts/details_general_feedback.php';