studentcanpost)) { $form->studentcanpost = $CFG->cnfstudentcanpost; } if (!isset($form->allowduplicatedentries)) { $form->allowduplicatedentries = $CFG->cnfallowdupentries; } if (!isset($form->allowcomments)) { $form->allowcomments = $CFG->cnfallowcomments; } if (!isset($form->usedynalink)) { $form->usedynalink = $CFG->cnflinkglossaries; } if (!isset($form->defaultapproval)) { $form->defaultapproval = $CFG->cnfapprovalstatus; } if (!isset($form->mainglossary)) { $form->mainglossary = 0; } if (!isset($form->displayformat)) { $form->displayformat = 0; } if ( !isset($form->globalglossary) ) { $form->globalglossary = 0; } if (!isset($form->intro)) { $form->intro = ""; } if (!isset($form->name)) { $form->name = ""; } if (!isset($form->showall)) { $form->showall = 1; } if (!isset($form->showalphabet)) { $form->showalphabet = 1; } if (!isset($form->showspecial)) { $form->showspecial = 1; } ?>
globalglossary . '">'; } ?> course); if (!$mainglossary or $mainglossary->id == $form->instance ) { ?> "; } ?>

:

:

"; helpbutton("writing", get_string("helpwriting"), "moodle", true, true); echo "
"; helpbutton("text", get_string("helptext"), "moodle", true, true); ?>

:

globalglossary) ) { if ($form->globalglossary) { $selected = "checked"; } } ?> >

:

:

:

:

:

:


:

dirroot/mod/glossary/formats"); while ($dir = readdir($basedir)) { $firstchar = substr($dir, 0, 1); if ($firstchar == "." or $dir == "CVS" or $dir == "_vti_cnf") { continue; } if (filetype("$CFG->dirroot/mod/glossary/formats/$dir") == "dir") { continue; } if ( $pos = strpos($dir, ".") ) { $dir = substr($dir, 0, $pos ); if ($dir != 0 and $dir != 1) { // excluding basic formats $formats[$dir] = get_string("displayformat$dir", "glossary"); } } } asort($formats); choose_from_menu ($formats, "displayformat", $form->displayformat, ""); ?>

:

:

:

">