mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 08:11:26 +01:00
1ac87c7397
- Adding a new frame: Browse by Author - A new, friendly way to show entries (asked by Martin): view?id=cm&mode=term&hook=[concept | alias ] - Handling user activies, outline and complete. - Properly showing new entries in recent activity box. - Adding a flag to categories to specify if a category should or should not be automatically linked. - Adding some missing strings and files as well. - Adding a field to each glossary that specify how many entries by pages it should show.
48 lines
1.5 KiB
HTML
48 lines
1.5 KiB
HTML
<?PHP
|
|
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="<?=$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="<?=$cm->id ?>">
|
|
<input type="hidden" name=action value="<?=$action?>">
|
|
<input type="hidden" name=confirm value=1>
|
|
<input type="hidden" name=mode value='cat'>
|
|
<input type="hidden" name=hook value="<?=$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>
|