$status = fwrite ($h,glossary_start_tag("INFO",1,true));
fwrite ($h,glossary_full_tag("NAME",2,false,$glossary->name));
fwrite ($h,glossary_full_tag("INTRO",2,false,$glossary->intro));
- fwrite ($h,glossary_full_tag("STUDENTCANentry",2,false,$glossary->studentcanentry));
+ fwrite ($h,glossary_full_tag("STUDENTCANPOST",2,false,$glossary->studentcanpost));
fwrite ($h,glossary_full_tag("ALLOWDUPLICATEDENTRIES",2,false,$glossary->allowduplicatedentries));
fwrite ($h,glossary_full_tag("SHOWSPECIAL",2,false,$glossary->showspecial));
fwrite ($h,glossary_full_tag("SHOWALPHABET",2,false,$glossary->showalphabet));
/// printing header of the current tab
echo '<center>';
glossary_print_tabbed_table_start($data, $tab, $glossary_tCFG);
+
+ if (!isset($category)) {
+ $category = "";
+ }
switch ($tab) {
case GLOSSARY_CATEGORY_VIEW:
/// printing the entries
$entriesshown = 0;
$currentpivot = '';
+ $ratingsmenuused = NULL;
+ $paging = NULL;
$tableisopen = 0;
if ( $hook == 'SPECIAL' ) {
$alphabet = explode(",", get_string("alphabet"));