Now globalglossary is working!

Bug 2577
(http://moodle.org/bugs/bug.php?op=show&bugid=2577)
This commit is contained in:
stronk7
2005-02-17 19:45:12 +00:00
parent 73e97c3113
commit 4837dd1f46
+4 -6
View File
@@ -107,14 +107,12 @@ if (isadmin() ) {
<td align="right"><b><?php echo get_string("isglobal", "glossary") ?>:</b></td>
<td align="left">
<?php
$selected = "";
if ( isset($form->globalglossary) ) {
if ($form->globalglossary) {
$selected = "checked";
}
$selected = '';
if ($form->globalglossary) {
$selected = 'checked="checked"';
}
?>
<input type="checkbox" name="globalglossary" value="1" selected="<?php p($selected)?>" /> <?php helpbutton("globalglossary", get_string("globalglossary", "glossary"), "glossary") ?>
<input type="checkbox" name="globalglossary" value="1" <?php p($selected)?> /> <?php helpbutton("globalglossary", get_string("globalglossary", "glossary"), "glossary") ?>
</td>
</tr>
<?php