2003-09-29 03:06:30 +00:00
|
|
|
<?PHP
|
2003-09-21 17:08:41 +00:00
|
|
|
global $CFG, $THEME;
|
2003-10-22 04:15:08 +00:00
|
|
|
require_once("../../config.php");
|
2003-09-21 17:08:41 +00:00
|
|
|
?>
|
|
|
|
|
2003-11-09 03:26:33 +00:00
|
|
|
<center>
|
2003-10-22 04:15:08 +00:00
|
|
|
<FORM name="form" method="post" action="editcategories.php">
|
2003-09-29 03:06:30 +00:00
|
|
|
<table class=generalbox cellpadding=5 bgcolor="<?php p($THEME->cellheading)?>">
|
2003-09-21 17:08:41 +00:00
|
|
|
<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>
|
2003-11-15 15:55:47 +00:00
|
|
|
<tr valign=top>
|
|
|
|
<td align=right><p><b><?php echo get_string("linkcategory","glossary") ?>:</b></p></td>
|
|
|
|
<td>
|
|
|
|
<select size="1" name="usedynalink">
|
|
|
|
<option value="1" <?php
|
|
|
|
if ( $usedynalink ) {
|
|
|
|
echo "selected";
|
|
|
|
}
|
|
|
|
?>><?php echo get_string("yes") ?></option>
|
|
|
|
<option value="0" <?php
|
|
|
|
if ( !$usedynalink ) {
|
|
|
|
echo "selected";
|
|
|
|
}
|
|
|
|
?>><?php echo get_string("no") ?>
|
|
|
|
</option>
|
|
|
|
</select> <?php helpbutton("linkcategory", get_string("linkcategory", "glossary"), "glossary") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2003-09-21 17:08:41 +00:00
|
|
|
<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>
|
2003-11-15 15:55:47 +00:00
|
|
|
<input type="hidden" name=mode value='cat'>
|
|
|
|
<input type="hidden" name=hook value="<?=$hook?>">
|
2003-09-29 03:06:30 +00:00
|
|
|
<input type="submit" value="<?php print_string("savechanges") ?>">
|
|
|
|
<input type="reset" value="<?php print_string("back","glossary") ?>" onclick="javascript:history.go(-1);">
|
2003-09-21 17:08:41 +00:00
|
|
|
</P>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
2003-11-09 03:26:33 +00:00
|
|
|
</center>
|