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"><b><?php echo get_string("name") ?>:
</b></td>
12 <input type=
"text" name=
"name" size=
"30" value=
"<?php p($name) ?>" />
16 <td align
="right"><b
><?php
echo get_string("linkcategory","glossary") ?>:
</b></td>
18 <select size=
"1" 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 helpbutton("linkcategory", get_string("linkcategory", "glossary"), "glossary") ?>
35 <p style=
"text-align:center">
37 <input type=
"hidden" name=
"id" value=
"<?php p($cm->id) ?>" />
38 <input type
="hidden" name
="action" value
="<?php p($action) ?>" />
39 <input type
="hidden" name
="confirm" value
="1" />
40 <input type
="hidden" name
="mode" value
='cat' />
41 <input type
="hidden" name
="hook" value
="<?php p($hook) ?>" />
42 <input type
="submit" value
="<?php print_string("savechanges
") ?>" />
43 <input type
="reset" value
="<?php print_string("back
","glossary
") ?>" onclick
="javascript:history.go(-1);" />