moodle/mod/glossary/editcategories.html

51 lines
1.7 KiB
HTML
Raw Normal View History

<?php
2005-05-16 22:22:31 +00:00
global $CFG;
require_once("../../config.php");
?>
<div class="boxaligncenter">
<form id="form" method="post" action="editcategories.php">
<div>
<table class="generalbox" cellpadding="5">
<tr valign="top">
<td align="right"><label for="name"><?php echo get_string("name") ?>:</label></td>
<td>
<input type="text" name="name" id="name" size="30" value="<?php p($name) ?>" />
</td>
</tr>
<tr valign="top">
<td align="right"><label for="usedynalink"><?php echo get_string("linkcategory","glossary") ?>:</label></td>
<td>
<select size="1" id="usedynalink" name="usedynalink">
<option value="1" <?php
if ( $usedynalink ) {
2004-09-14 20:39:28 +00:00
echo "selected=\"selected\"";
}
?>><?php echo get_string("yes") ?></option>
<option value="0" <?php
if ( !$usedynalink ) {
2004-09-14 20:39:28 +00:00
echo "selected=\"selected\"";
}
?>><?php echo get_string("no") ?>
</option>
MDL-21695 Glossary module now uses new help strings AMOS BEGIN HLP glossary/aliases2.html,[aliases_help,mod_glossary] HLP glossary/allowcomments.html,[allowcomments_help,mod_glossary] HLP glossary/allowduplicatedentries.html,[allowduplicatedentries_help,mod_glossary] HLP glossary/allowprintview.html,[allowprintview_help,mod_glossary] HLP glossary/attachment2.html,[attachment_help,mod_glossary] HLP glossary/attachment.html,[attachment_help,mod_glossary] HLP glossary/casesensitive.html,[casesensitive_help,mod_glossary] HLP glossary/defaultapproval.html,[defaultapproval_help,mod_glossary] HLP glossary/destination.html,[destination_help,mod_glossary] HLP glossary/displayformat.html,[displayformat_help,mod_glossary] HLP glossary/editalways.html,[editalways_help,mod_glossary] HLP glossary/filetoimport.html,[filetoimport_help,mod_glossary] HLP glossary/fullmatch.html,[fullmatch_help,mod_glossary] HLP glossary/globalglossary.html,[isglobal_help,mod_glossary] HLP glossary/linkcategory.html,[linkcategory_help,mod_glossary] HLP glossary/mainglossary.html,[glossarytype_help,mod_glossary] HLP glossary/rssarticles.html,[rssarticles_help,mod_glossary] HLP glossary/rsstype.html,[rsstype_help,mod_glossary] HLP glossary/shows.html,[showspecial_help,mod_glossary] HLP glossary/shows.html,[showalphabet_help,mod_glossary] HLP glossary/shows.html,[showall_help,mod_glossary] HLP glossary/usedynalinkentry.html,[entryusedynalink_help,mod_glossary] HLP glossary/usedynalink.html,[usedynalink_help,mod_glossary] AMOS END
2010-05-03 09:51:47 +00:00
</select> <?php echo $OUTPUT->help_icon('linkcategory', 'glossary') ?>
</td>
</tr>
<tr>
<td colspan="2">
<div class="buttons">
<input type="hidden" name="sesskey" value="<?php echo sesskey(); ?>" />
2005-05-16 22:22:31 +00:00
<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);" />
</div>
</td>
</tr>
</table>
</div>
</form>
</div>