<br /> <?php echo $row_this["title"]; ?> </div> <?php } ?> <div class="row"> <label for="selected_grade_scale_id"><?php echo _AT('grade_scale'); ?> </label><br /> <?php print_grade_scale_selectbox($row_this['grade_scale_id']); ?> </div> <div class="row"> <?php echo _AT('due_date'); ?> <br /> <?php if ($row_this["type"] == "External") { ?> <input type="radio" name="has_due_date" value="false" id="noduedate" <?php if ($has_due_date == 'false') { echo 'checked="checked"';
?> " /> <input type="hidden" name="action" value="<?php echo $action; ?> " /> <div class="input-form"> <fieldset class="group_form"><legend class="group_form"><?php echo _AT('preset_scales'); ?> </legend> <div class="row"> <?php print_grade_scale_selectbox($_POST["selected_grade_scale_id"]); ?> </div> <div class="row buttons"> <input type="submit" name="preset" value="<?php echo _AT('set_preset'); ?> " class="button" /> </div> </fieldset> <fieldset class="group_form"><legend class="group_form"><?php echo _AT('grade_scale'); ?> </legend>
</div> </form> <form method="post" name="form" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <div class="input-form"> <fieldset class="group_form"><legend class="group_form"><?php echo _AT('add_external_test'); ?></legend> <div class="row"> <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br /> <input type="text" name="title" id="title" size="30" value="<?php echo AT_print($_POST['title'], 'input.title'); ?>" /> </div> <div class="row"> <label for="selected_grade_scale_id1"><?php echo _AT('grade_scale'); ?></label><br /> <?php print_grade_scale_selectbox($_POST["selected_grade_scale_id"], "selected_grade_scale_id1"); ?> </div> <div class="row"> <?php echo _AT('due_date'); ?><br /> <input type="radio" name="has_due_date" value="false" id="noduedate" checked="checked" onfocus="disable_dates (true, '_due');" /> <label for="noduedate" title="<?php echo _AT('due_date'). ': '. _AT('none'); ?>"><?php echo _AT('none'); ?></label><br /> <input type="radio" name="has_due_date" value="true" id="hasduedate" onfocus="disable_dates (false, '_due');" /> <label for="hasduedate" title="<?php echo _AT('due_date') ?>"><?php echo _AT('date'); ?></label> <?php $today = getdate(); $today_day = $today['mday']; $today_mon = $today['mon'];