File: editcategories.html

package info (click to toggle)
moodle 1.4.4.dfsg.1-3sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 57,876 kB
  • ctags: 29,496
  • sloc: php: 271,617; sql: 5,084; xml: 702; perl: 638; sh: 403; java: 283; makefile: 42; pascal: 21
file content (46 lines) | stat: -rw-r--r-- 1,581 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?PHP  // $Id: editcategories.html,v 1.8 2004/05/20 23:04:23 stronk7 Exp $
	global $CFG, $THEME;
    require_once("../../config.php");
?>
<center>
<FORM name="form" method="post" action="editcategories.php">
<table  class=generalbox cellpadding=5 bgcolor="<?php p($THEME->cellheading)?>">
<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="<?php p($name) ?>">
    </td>
</tr>
<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>
<td colspan=2>
	<p align=center>
	<input type="hidden" name=id value="<?php p($cm->id) ?>">
	<input type="hidden" name=action value="<?php p($action) ?>">
	<input type="hidden" name=confirm value=1>
	<input type="hidden" name=mode value='cat'>
	<input type="hidden" name=hook value="<?php p($hook) ?>">
	<input type="submit" value="<?php print_string("savechanges") ?>">
	<input type="reset" value="<?php print_string("back","glossary") ?>"  onclick="javascript:history.go(-1);">
	</P>
</td>
</tr>
</table>
</form>
</center>