moodle/mod/glossary/editcategories.html

31 lines
872 B
HTML
Raw Normal View History

<?PHP
global $CFG, $THEME;
require_once("../../config.php");
?>
<FORM name="form" method="post" <?=$onsubmit ?> action="editcategories.php">
<table class=generalbox cellpadding=5 bgcolor="<?php p($THEME->cellheading)?>">
<tr valign=top>
<td align=right><p><b><?php echo get_string("name") ?>:</b></p></td>
<td>
<INPUT type="text" name="name" size=30 value="<?=$name ?>">
</td>
</tr>
<td colspan=2>
<p align=center>
<input type="hidden" name=id value="<?=$cm->id ?>">
<input type="hidden" name=action value="<?=$action?>">
<input type="hidden" name=confirm value=1>
<input type="hidden" name=cat value=<?php p($cat) ?>>
<input type="submit" value="<?php print_string("savechanges") ?>">
<input type="reset" value="<?php print_string("back","glossary") ?>" onclick="javascript:history.go(-1);">
</P>
</td>
</tr>
</table>
</p>
</form>