dirroot.'/mod/data/lib.php'); if (!isset($form->name)) { $form->name = ''; } if (!isset($form->intro)) { $form->intro = ''; } if (!isset($form->keepdays)) { $form->keepdays = 30; } if (!isset($form->studentlogs)) { $form->studentlogs = 0; } if (!isset($form->timeavailablefrom)) { $form->timeavailablefrom = 0; } if (!isset($form->timeavailableto)) { $form->timeavailableto = 0; } if (!isset($form->timeviewfrom)) { $form->timeviewfrom = 0; } if (!isset($form->timeviewto)) { $form->timeviewto = 0; } if (!isset($form->schedule)) { $form->schedule = 0; } if (!isset($form->participants)) { $form->participants = PARTICIPANTS_TS; } if (!isset($form->requiredentries)) { $form->requiredentries = 0; } if (!isset($form->requiredentriestoview)) { $form->requiredentriestoview = 0; } if (!isset($form->maxentries)) { $form->maxentries = 0; } if (!isset($form->rssarticles)) { $form->rssarticles = 0; } if (!isset($form->comments)) { $form->comments = 0; } if (!isset($form->ratings)) { $form->ratings = 0; } ?>
data_enablerssfeeds) and !empty($CFG->enablerssfeeds)) { ?>
:
:

'; helpbutton('questions', get_string('helpquestions'), 'moodle', true, true); echo '
'; emoticonhelpbutton('form', 'intro'); echo '
'; ?>
intro); ?>
: timeavailablefrom) echo 'checked="checked"' ?> /> timeavailablefrom); echo " - "; print_time_selector("availablefromhour", "availablefromminute", $form->timeavailablefrom); ?>
: timeavailableto) echo 'checked="checked"' ?> /> timeavailableto); echo " - "; print_time_selector("availabletohour", "availabletominute", $form->timeavailableto); ?>
: timeviewfrom) echo 'checked="checked"' ?> /> timeviewfrom); echo " - "; print_time_selector("viewfromhour", "viewfromminute", $form->timeviewfrom); ?>
: timeviewto) echo 'checked="checked"' ?> /> timeviewto); echo " - "; print_time_selector("viewtohour", "viewtominute", $form->timeviewto); ?>
: teachers = $course->teachers; $a->students = $course->students; $options = array(PARTICIPANTS_T => $a->teachers, PARTICIPANTS_S => $a->students, PARTICIPANTS_TS => get_string('teachersandstudents', 'data', $a)); choose_from_menu($options, 'participants', $form->participants, ''); ?>
: requiredentries, get_string('none')); ?>
  : requiredentriestoview, get_string('none')) ?>
: maxentries, get_string('nomaximum', 'data')) ?>
: get_string('no'), 1 => get_string('yes')); choose_from_menu($ynoptions, 'comments', $form->comments, ''); ?>
: rssarticles, get_string('none')) ?>