Automatic installer.php lang files by installer_builder (20070313)
[moodle.git] / mod / glossary / editcategories.html
blob60efd60c29c0b0ea7ea6681bcc5c88e7cb3c6ff9
1 <?php // $Id$
2 global $CFG;
3 require_once("../../config.php");
4 ?>
5 <center>
6 <form name="form" method="post" action="editcategories.php">
7 <table class="generalbox" cellpadding="5">
8 <tr valign="top">
9 <td align="right"><b><?php echo get_string("name") ?>:</b></td>
10 <td>
11 <input type="text" name="name" size="30" value="<?php p($name) ?>" />
12 </td>
13 </tr>
14 <tr valign="top">
15 <td align="right"><b><?php echo get_string("linkcategory","glossary") ?>:</b></td>
16 <td>
17 <select size="1" name="usedynalink">
18 <option value="1" <?php
19 if ( $usedynalink ) {
20 echo "selected=\"selected\"";
22 ?>><?php echo get_string("yes") ?></option>
23 <option value="0" <?php
24 if ( !$usedynalink ) {
25 echo "selected=\"selected\"";
27 ?>><?php echo get_string("no") ?>
28 </option>
29 </select> <?php helpbutton("linkcategory", get_string("linkcategory", "glossary"), "glossary") ?>
30 </td>
31 </tr>
32 <td colspan="2">
33 <p align="center">
34 <input type="hidden" name="id" value="<?php p($cm->id) ?>" />
35 <input type="hidden" name="action" value="<?php p($action) ?>" />
36 <input type="hidden" name="confirm" value="1" />
37 <input type="hidden" name="mode" value='cat' />
38 <input type="hidden" name="hook" value="<?php p($hook) ?>" />
39 <input type="submit" value="<?php print_string("savechanges") ?>" />
40 <input type="reset" value="<?php print_string("back","glossary") ?>" onclick="javascript:history.go(-1);" />
41 </p>
42 </td>
43 </tr>
44 </table>
45 </form>
46 </center>