3 require_once("../../config.php");
5 <div class=
"boxaligncenter">
6 <form id=
"form" method=
"post" action=
"editcategories.php">
8 <table class=
"generalbox" cellpadding=
"5">
10 <td align=
"right"><label for=
"name"><?php echo get_string("name") ?>:
</label></td>
12 <input type=
"text" name=
"name" id=
"name" size=
"30" value=
"<?php p($name) ?>" />
16 <td align
="right"><label
for="usedynalink"><?php
echo get_string("linkcategory","glossary") ?>:
</label></td>
18 <select size=
"1" id=
"usedynalink" name=
"usedynalink">
19 <option value=
"1" <?php
21 echo "selected=\"selected\"";
23 ?>><?php echo get_string(
"yes")
?></option>
24 <option value=
"0" <?php
25 if ( !$usedynalink ) {
26 echo "selected=\"selected\"";
28 ?>><?php echo get_string(
"no")
?>
30 </select> <?php echo $OUTPUT->help_icon('linkcategory', 'glossary') ?>
36 <input type=
"hidden" name=
"id" value=
"<?php p($cm->id) ?>" />
37 <input type
="hidden" name
="action" value
="<?php p($action) ?>" />
38 <input type
="hidden" name
="confirm" value
="1" />
39 <input type
="hidden" name
="mode" value
='cat' />
40 <input type
="hidden" name
="hook" value
="<?php p($hook) ?>" />
41 <input type
="submit" value
="<?php print_string("savechanges
") ?>" />
42 <input type
="reset" value
="<?php print_string("back
","glossary
") ?>" onclick
="javascript:history.go(-1);" />