<form name="studentform" id="studentform" method="post" action="importstudents.php">
-<input type="hidden" name="previoussearch" value="<?php echo $previoussearch ?>">
-<input type="hidden" name="sesskey" value="<?php echo sesskey() ?>">
-<input type="hidden" name="id" value="<?php echo $id?>">
- <table align="center" border="0" cellpadding="5" cellspacing="0">
+<input type="hidden" name="previoussearch" value="<?php echo $previoussearch ?>" />
+<input type="hidden" name="sesskey" value="<?php echo sesskey() ?>" />
+<input type="hidden" name="id" value="<?php echo $id?>" />
+ <table summary="" align="center" border="0" cellpadding="5" cellspacing="0">
<tr>
<td valign="top">
<label for="removeselect"><?php echo count($alreadycourses) . " ". $stralreadycourses ?></label>
- </td>
- <td></td>
- <td valign="top">
- <label for="addselect"><?php echo $numcourses . " " . $strpotentialcourses ?></label>
- </td>
- </tr>
- <tr>
- <td valign="top">
+ <br />
<select name="removeselect[]" size="20" id="removeselect" multiple
onFocus="document.studentform.add.disabled=true;
document.studentform.remove.disabled=false;
?>
</select></td>
<td valign="top">
- <br />
- <input name="add" type="submit" id="add" value="←" />
- <br />
- <input name="remove" type="submit" id="remove" value="→" />
- <br />
+ <?php check_theme_arrows(); ?>
+ <p class="arrow_button">
+ <input name="add" id="add" type="submit" value="<?php echo ' '.$THEME->larrow.' '.get_string('add'); ?>" title="<?php print_string('add'); ?>" />
+ <br />
+ <input name="remove" id="remove" type="submit" value="<?php echo ' '.$THEME->rarrow.' '.get_string('remove'); ?>" title="<?php print_string('remove'); ?>" />
+ </p>
</td>
<td valign="top">
+ <label for="addselect"><?php echo $numcourses . " " . $strpotentialcourses ?></label>
+ <br />
<select name="addselect[]" size="20" id="addselect" multiple
onFocus="document.studentform.add.disabled=false;
document.studentform.remove.disabled=true;
?>
</select>
<br />
- <input type="text" name="searchtext" size="30" value="<?php p($searchtext, true) ?>"
+ <label for="searchtext" class="accesshide"><?php p($strsearch) ?></label>
+ <input type="text" name="searchtext" id="searchtext" size="30" value="<?php p($searchtext, true) ?>"
onFocus ="document.studentform.add.disabled=true;
document.studentform.remove.disabled=true;
document.studentform.removeselect.selectedIndex=-1;
/// Print a help notice about the need to use this page
+ print_heading(get_string('childcourses'));
+
if (!$frm = data_submitted()) {
$note = get_string("importmetacoursenote");
print_simple_box($note, "center", "50%");
}
}
-
print_simple_box_start("center");
include('importstudents.html');