X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/grade/edit/outcome
home
/
cbholdings
/
pasukulu
/
grade
/
edit
/
outcome
/
📁
..
📄
course.php
(4.99 KB)
📄
course_form.html
(2.88 KB)
📄
edit.php
(6.2 KB)
📄
edit_form.php
(5.53 KB)
📄
export.php
(4.16 KB)
📄
import.php
(10.25 KB)
📄
import_outcomes_form.php
(2.32 KB)
📄
index.php
(9.46 KB)
📄
tabs.php
(1.53 KB)
Editing: course_form.html
<?php $maxlength=70; ?> <form action="course.php" method="post"> <div> <table class="courseoutcomes"> <tr> <td> <label for="removeoutcomes"><?php print_string('outcomescourse', 'grades'); ?></label> <br /> <select id="removeoutcomes" size="20" name="removeoutcomes[]" multiple="multiple" class="form-control input-block-level"> <?php if ($co_standard_notused) { echo '<optgroup label="'.get_string('outcomescoursenotused', 'grades').'">'; foreach ($co_standard_notused as $outcome) { echo '<option value="'.$outcome->id.'">'.shorten_text($outcome->get_name(), $maxlength).'</option>'; } echo '</optgroup>'; } if ($co_standard_used) { echo '<optgroup label="'.get_string('outcomescourseused', 'grades').'">'; foreach ($co_standard_used as $outcome) { echo '<option value="'.$outcome->id.'">'.shorten_text($outcome->get_name(), $maxlength).'</option>'; } echo '</optgroup>'; } if ($co_custom) { echo '<optgroup label="'.get_string('outcomescoursecustom', 'grades').'">'; foreach ($co_custom as $outcome) { echo '<option value="'.$outcome->id.'">'.shorten_text($outcome->get_name(), $maxlength).'</option>'; } echo '</optgroup>'; } ?> </select> </td> <?php if (has_capability('moodle/grade:manageoutcomes', $context)) { ?> <td class="pl-3 pr-3"> <div class="my-3"> <input name="add" class="btn btn-secondary" id="add" type="submit" value="<?php echo $OUTPUT->larrow() . ' ' . get_string('add'); ?>" title="<?php print_string('add'); ?>" /> </div> <div class="my-3"> <input name="remove" class="btn btn-secondary" id="remove" type="submit" value="<?php echo get_string('remove') . ' ' . $OUTPUT->rarrow(); ?>" title="<?php print_string('remove'); ?>" /> </div> </td> <?php } ?> <td> <label for="addoutcomes"><?php print_string('outcomesstandardavailable', 'grades'); ?></label> <br /> <select id="addoutcomes" size="20" name="addoutcomes[]" multiple="multiple" class="form-control input-block-level"> <?php foreach ($standardoutcomes as $outcome) { echo '<option value="'.$outcome->id.'">'.shorten_text($outcome->get_name(), $maxlength).'</option>'; } ?> </select> </td> </tr> </table> <input name="id" type="hidden" value="<?php echo $courseid?>"/> <input type="hidden" name="sesskey" value="<?php echo sesskey() ?>" /> </div> </form>
Upload File
Create Folder