Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / mod / glossary / editcategories.html
blob0dd66b12bfd1bfa3b53be4498b6935c443f02d38
1 <?php // $Id$
2 global $CFG;
3 require_once("../../config.php");
4 ?>
5 <div class="boxaligncenter">
6 <form id="form" method="post" action="editcategories.php">
7 <div>
8 <table class="generalbox" cellpadding="5">
9 <tr valign="top">
10 <td align="right"><b><?php echo get_string("name") ?>:</b></td>
11 <td>
12 <input type="text" name="name" size="30" value="<?php p($name) ?>" />
13 </td>
14 </tr>
15 <tr valign="top">
16 <td align="right"><b><?php echo get_string("linkcategory","glossary") ?>:</b></td>
17 <td>
18 <select size="1" name="usedynalink">
19 <option value="1" <?php
20 if ( $usedynalink ) {
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") ?>
29 </option>
30 </select> <?php helpbutton("linkcategory", get_string("linkcategory", "glossary"), "glossary") ?>
31 </td>
32 </tr>
33 <tr>
34 <td colspan="2">
35 <p style="text-align:center">
36 <div>
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);" />
44 </div>
45 </p>
46 </td>
47 </tr>
48 </table>
49 </div>
50 </form>
51 </div>