// Only show "override site defaults" checkbox if editing the course grade letters
if (!$admin) {
$mform->addElement('checkbox', 'override', get_string('overridesitedefaultgradedisplaytype', 'grades'));
- $mform->setHelpButton('override', array(false, get_string('overridesitedefaultgradedisplaytype', 'grades'),
- false, true, false, get_string('overridesitedefaultgradedisplaytypehelp', 'grades')));
+ $mform->setHelpButton('override', array('overridesitedefaultgradedisplaytype', get_string('overridesitedefaultgradedisplaytype')));
}
$gradeletterhelp = get_string('configgradeletter', 'grades');
$mform->addElement('text', $gradelettername, $gradeletter." $i");
if ($i == 1) {
- $mform->setHelpButton($gradelettername, array(false, $gradeletter." $i", false, true, false, $gradeletterhelp));
+ $mform->setHelpButton($gradelettername, array('gradeletter', get_string('gradeletter')));
}
$mform->setType($gradelettername, PARAM_TEXT);
$mform->addElement('select', $gradeboundaryname, $gradeboundary." $i", $percentages);
if ($i == 1) {
- $mform->setHelpButton($gradeboundaryname, array(false, $gradeboundary." $i", false, true, false, $gradeboundaryhelp));
+ $mform->setHelpButton($gradeboundaryname, array('gradeboundary', get_string('boundary')));
}
$mform->setDefault($gradeboundaryname, -1);
$mform->setType($gradeboundaryname, PARAM_INT);
$mform->setType('shortname', PARAM_NOTAGS);
$mform->addElement('advcheckbox', 'standard', get_string('outcomestandard', 'grades'));
- $mform->setHelpButton('standard', array(false, get_string('outcomestandard', 'grades'),
- false, true, false, get_string('outcomestandardhelp', 'grades')));
+ $mform->setHelpButton('standard', array('outcomestandard', get_string('outcomestandard'), 'grade'));
$options = array();
$mform->addElement('select', 'scaleid', get_string('scale'), $options);
- $mform->setHelpButton('scaleid', array(false, get_string('scale'),
- false, true, false, get_string('scaleidhelp', 'grades', get_string('outcome', 'grades'))));
+ $mform->setHelpButton('scaleid', array('scaleid', get_string('scale'), 'grade'));
$mform->addRule('scaleid', get_string('required'), 'required');
$mform->addElement('htmleditor', 'description', get_string('description'), array('cols'=>80, 'rows'=>20));
$mform->setType('name', PARAM_TEXT);
$mform->addElement('advcheckbox', 'standard', get_string('scalestandard'));
- $mform->setHelpButton('standard', array(false, get_string('scalestandard'),
- false, true, false, get_string('scalestandardhelp', 'grades')));
+ $mform->setHelpButton('standard', array('scalestandard', get_string('scalestandard'), 'grade'));
$mform->addElement('static', 'used', get_string('used'));
}
}
$mform->addElement('select', 'aggregationposition', get_string('aggregationposition', 'grades'), $options);
- $mform->setHelpButton('aggregationposition', array(false, get_string('aggregationposition', 'grades'),
- false, true, false, get_string('configaggregationposition', 'grades')));
+ $mform->setHelpButton('aggregationposition', array('aggregationposition', get_string('aggregationposition', 'grades'), 'grade'));
// Grade item settings
$mform->addElement('header', 'grade_item_settings', get_string('gradeitemsettings', 'grades'));
}
}
$mform->addElement('select', 'displaytype', get_string('gradedisplaytype', 'grades'), $options);
- $mform->setHelpButton('displaytype', array(false, get_string('gradedisplaytype', 'grades'),
- false, true, false, get_string('configgradedisplaytype', 'grades')));
+ $mform->setHelpButton('displaytype', array('gradedisplaytype', get_string('gradedisplaytype', 'grades'), 'grade'));
$options = array(-1=> get_string('defaultprev', 'grades', $CFG->grade_decimalpoints), 0=>0, 1=>1, 2=>2, 3=>3, 4=>4, 5=>5);
$mform->addElement('select', 'decimalpoints', get_string('decimalpoints', 'grades'), $options);
- $mform->setHelpButton('decimalpoints', array(false, get_string('decimalpoints', 'grades'),
- false, true, false, get_string('configdecimalpoints', 'grades')));
+ $mform->setHelpButton('decimalpoints', array('decimalpoints', get_string('decimalpoints', 'grades'), 'grade'));
// add setting options for plugins
$types = array('report', 'export', 'import');
}
$mform->addElement('checkbox', 'aggregateonlygraded', get_string('aggregateonlygraded', 'grades'));
- $mform->setHelpButton('aggregateonlygraded', array(false, get_string('aggregateonlygraded', 'grades'),
- false, true, false, get_string('aggregateonlygradedhelp', 'grades')));
+ $mform->setHelpButton('aggregateonlygraded', array('aggregateonlygraded', get_string('aggregateonlygraded', 'grades'),'grade'), true);
$mform->disabledIf('aggregateonlygraded', 'aggregation', 'eq', GRADE_AGGREGATE_SUM);
if ((int)$CFG->grade_aggregateonlygraded_flag & 2) {
$mform->setAdvanced('aggregateonlygraded');
$mform->setType('aggregateoutcomes', PARAM_INT);
} else {
$mform->addElement('checkbox', 'aggregateoutcomes', get_string('aggregateoutcomes', 'grades'));
- $mform->setHelpButton('aggregateoutcomes', array(false, get_string('aggregateoutcomes', 'grades'),
- false, true, false, get_string('aggregateoutcomeshelp', 'grades')));
+ $mform->setHelpButton('aggregateoutcomes', array('aggregateoutcomes', get_string('aggregateoutcomes', 'grades'), 'grade'), true);
$mform->disabledIf('aggregateoutcomes', 'aggregation', 'eq', GRADE_AGGREGATE_SUM);
if ((int)$CFG->grade_aggregateoutcomes_flag & 2) {
$mform->setAdvanced('aggregateoutcomes');
}
$mform->addElement('advcheckbox', 'aggregatesubcats', get_string('aggregatesubcats', 'grades'));
- $mform->setHelpButton('aggregatesubcats', array(false, get_string('aggregatesubcats', 'grades'),
- false, true, false, get_string('aggregatesubcatshelp', 'grades')));
+ $mform->setHelpButton('aggregatesubcats', array('aggregatesubcats', get_string('aggregatesubcats', 'grades'), 'grade'), true);
if ((int)$CFG->grade_aggregatesubcats_flag & 2) {
$mform->setAdvanced('aggregatesubcats');
}
}
$mform->addElement('select', 'keephigh', get_string('keephigh', 'grades'), $options);
- $mform->setHelpButton('keephigh', array(false, get_string('keephigh', 'grades'),
- false, true, false, get_string('keephighhelp', 'grades')));
+ $mform->setHelpButton('keephigh', array('keephigh', get_string('keephigh', 'grades'), 'grade'), true);
if ((int)$CFG->grade_keephigh_flag & 2) {
$mform->setAdvanced('keephigh');
}
$mform->addElement('select', 'droplow', get_string('droplow', 'grades'), $options);
- $mform->setHelpButton('droplow', array(false, get_string('droplow', 'grades'),
- false, true, false, get_string('droplowhelp', 'grades')));
+ $mform->setHelpButton('droplow', array('droplow', get_string('droplow', 'grades'), 'grade'), true);
$mform->disabledIf('droplow', 'keephigh', 'noteq', 0);
if ((int)$CFG->grade_droplow_flag & 2) {
$mform->setAdvanced('droplow');
if ($coefstring !== '') {
$mform->addElement('text', 'aggregationcoef', get_string($coefstring, 'grades'));
- $mform->setHelpButton('aggregationcoef', array(false, get_string($coefstring, 'grades'),
- false, true, false, get_string($coefstring.'help', 'grades')));
+ $mform->setHelpButton('aggregationcoef', array('aggregationcoef', get_string('aggregationcoef', 'grades'), 'grade'), true);
}
/// user preferences
$label = get_string('aggregationview', 'grades') . ' (' . get_string('default', 'grades')
. ': ' . $options[$CFG->grade_report_aggregationview] . ')';
$mform->addElement('select', 'pref_aggregationview', $label, $options);
- $mform->setHelpButton('pref_aggregationview', array(false, get_string('aggregationview', 'grades'),
- false, true, false, get_string('configaggregationview', 'grades')));
+ $mform->setHelpButton('pref_aggregationview', array('aggregationview', get_string('aggregationview', 'grades'), 'grade'), true);
$mform->setDefault('pref_aggregationview', GRADE_REPORT_PREFERENCE_DEFAULT);
$mform->setAdvanced('pref_aggregationview');
}
if ($aggcoef !== '') {
$agg_el->setLabel(get_string($aggcoef, 'grades'));
- $mform->setHelpButton('aggregationcoef', array(false, get_string($aggcoef, 'grades'),
- false, true, false, get_string($aggcoef.'help', 'grades')));
+ $mform->setHelpButton('aggregationcoef', array('aggregationcoef', get_string('aggregationcoef', 'grades'), 'grade'), true);
}
}
}
$mform->addElement('static', 'itemname', get_string('itemname', 'grades'));
$mform->addElement('checkbox', 'overridden', get_string('overridden', 'grades'));
- $mform->setHelpButton('overridden', array(false, get_string('overridden', 'grades'),
- false, true, false, get_string('overriddenhelp', 'grades')));
+ $mform->setHelpButton('overridden', array('overridden', get_string('overridden', 'grades'), 'grade'));
/// actual grade - numeric or scale
if ($grade_item->gradetype == GRADE_TYPE_VALUE) {
// numeric grade
$mform->addElement('text', 'finalgrade', get_string('finalgrade', 'grades'));
- $mform->setHelpButton('finalgrade', array(false, get_string('finalgrade', 'grades'),
- false, true, false, get_string('finalgradehelp', 'grades')));
+ $mform->setHelpButton('finalgrade', array('finalgrade', get_string('finalgrade', 'grades'), 'grade'));
$mform->disabledIf('finalgrade', 'overridden', 'notchecked');
} else if ($grade_item->gradetype == GRADE_TYPE_SCALE) {
}
$mform->addElement('select', 'finalgrade', get_string('finalgrade', 'grades'), $scaleopt);
- $mform->setHelpButton('finalgrade', array(false, get_string('finalgrade', 'grades'),
- false, true, false, get_string('finalgradehelp', 'grades')));
+ $mform->setHelpButton('finalgrade', array('finalgrade', get_string('finalgrade', 'grades'), 'grade'));
$mform->disabledIf('finalgrade', 'overridden', 'notchecked');
}
$mform->addElement('advcheckbox', 'excluded', get_string('excluded', 'grades'));
- $mform->setHelpButton('excluded', array(false, get_string('excluded', 'grades'),
- false, true, false, get_string('excludedhelp', 'grades')));
+ $mform->setHelpButton('excluded', array('excluded', get_string('excluded', 'grades'), 'grade'));
/// hiding
/// advcheckbox is not compatible with disabledIf !!
// Feedback format is automatically converted to html if user has enabled editor
$mform->addElement('htmleditor', 'feedback', get_string('feedback', 'grades'),
array('rows'=>'15', 'course'=>$COURSE->id, 'cols'=>'45'));
- $mform->setHelpButton('feedback', array(false, get_string('feedback', 'grades'),
- false, true, false, get_string('feedbackhelp', 'grades')));
+ $mform->setHelpButton('feedback', array('feedback', get_string('feedback', 'grades'), 'grade'));
$mform->setType('text', PARAM_RAW); // to be cleaned before display, no XSS risk
$mform->addElement('format', 'feedbackformat', get_string('format'));
$mform->setHelpButton('feedbackformat', array('textformat', get_string('helpformatting')));
$mform->addElement('text', 'itemname', get_string('itemname', 'grades'));
$mform->addElement('text', 'iteminfo', get_string('iteminfo', 'grades'));
- $mform->setHelpButton('iteminfo', array(false, get_string('iteminfo', 'grades'),
- false, true, false, get_string('iteminfohelp', 'grades')));
+ $mform->setHelpButton('iteminfo', array('iteminfo', get_string('iteminfo', 'grades'), 'grade'), true);
$mform->addElement('text', 'idnumber', get_string('idnumbermod'));
- $mform->setHelpButton('idnumber', array(false, get_string('idnumbermod'),
- false, true, false, get_string('idnumberhelp', 'grades')));
+ $mform->setHelpButton('idnumber', array('idnumber', get_string('idnumber', 'grades'), 'grade'), true);
$options = array(GRADE_TYPE_NONE=>get_string('typenone', 'grades'),
GRADE_TYPE_VALUE=>get_string('typevalue', 'grades'),
GRADE_TYPE_TEXT=>get_string('typetext', 'grades'));
$mform->addElement('select', 'gradetype', get_string('gradetype', 'grades'), $options);
- $mform->setHelpButton('gradetype', array(false, get_string('gradetype', 'grades'),
- false, true, false, get_string('gradetypehelp', 'grades')));
+ $mform->setHelpButton('gradetype', array('gradetype', get_string('gradetype', 'grades'), 'grade'), true);
$mform->setDefault('gradetype', GRADE_TYPE_VALUE);
//$mform->addElement('text', 'calculation', get_string('calculation', 'grades'));
}
}
$mform->addElement('select', 'scaleid', get_string('scale'), $options);
- $mform->setHelpButton('scaleid', array(false, get_string('scale'),
- false, true, false, get_string('scaleidhelp', 'grades', get_string('gradeitem', 'grades'))));
+ $mform->setHelpButton('scaleid', array('scaleid', get_string('scaleid', 'grades'), 'grade'), true);
$mform->disabledIf('scaleid', 'gradetype', 'noteq', GRADE_TYPE_SCALE);
$mform->addElement('text', 'grademax', get_string('grademax', 'grades'));
- $mform->setHelpButton('grademax', array(false, get_string('grademax', 'grades'),
- false, true, false, get_string('grademaxhelp', 'grades')));
+ $mform->setHelpButton('grademax', array('grademax', get_string('grademax', 'grades'), 'grade'), true);
$mform->disabledIf('grademax', 'gradetype', 'noteq', GRADE_TYPE_VALUE);
$mform->addElement('text', 'grademin', get_string('grademin', 'grades'));
- $mform->setHelpButton('grademin', array(false, get_string('grademin', 'grades'),
- false, true, false, get_string('grademinhelp', 'grades')));
+ $mform->setHelpButton('grademin', array('grademin', get_string('grademin', 'grades'), 'grade'), true);
$mform->disabledIf('grademin', 'gradetype', 'noteq', GRADE_TYPE_VALUE);
$mform->addElement('text', 'gradepass', get_string('gradepass', 'grades'));
- $mform->setHelpButton('gradepass', array(false, get_string('gradepass', 'grades'),
- false, true, false, get_string('gradepasshelp', 'grades')));
+ $mform->setHelpButton('gradepass', array('gradepass', get_string('gradepass', 'grades'), 'grade'), true);
$mform->disabledIf('gradepass', 'gradetype', 'eq', GRADE_TYPE_NONE);
$mform->disabledIf('gradepass', 'gradetype', 'eq', GRADE_TYPE_TEXT);
$mform->addElement('text', 'multfactor', get_string('multfactor', 'grades'));
- $mform->setHelpButton('multfactor', array(false, get_string('multfactor', 'grades'),
- false, true, false, get_string('multfactorhelp', 'grades')));
+ $mform->setHelpButton('multfactor', array('multfactor', get_string('multfactor', 'grades'), 'grade'), true);
$mform->setAdvanced('multfactor');
$mform->disabledIf('multfactor', 'gradetype', 'eq', GRADE_TYPE_NONE);
$mform->disabledIf('multfactor', 'gradetype', 'eq', GRADE_TYPE_TEXT);
$mform->addElement('text', 'plusfactor', get_string('plusfactor', 'grades'));
- $mform->setHelpButton('plusfactor', array(false, get_string('plusfactor', 'grades'),
- false, true, false, get_string('plusfactorhelp', 'grades')));
+ $mform->setHelpButton('plusfactor', array('plusfactor', get_string('plusfactor', 'grades'), 'grade'), true);
$mform->setAdvanced('plusfactor');
$mform->disabledIf('plusfactor', 'gradetype', 'eq', GRADE_TYPE_NONE);
$mform->disabledIf('plusfactor', 'gradetype', 'eq', GRADE_TYPE_TEXT);
}
}
$mform->addElement('select', 'display', get_string('gradedisplaytype', 'grades'), $options);
- $mform->setHelpButton('display', array(false, get_string('gradedisplaytype', 'grades'),
- false, true, false, get_string('configgradedisplaytype', 'grades')));
-
+ $mform->setHelpButton('display', array('gradedisplaytype', get_string('gradedisplaytype', 'grades'), 'grade'), true);
$default_gradedecimals = grade_get_setting($COURSE->id, 'decimalpoints', $CFG->grade_decimalpoints);
$options = array(-1=>get_string('defaultprev', 'grades', $default_gradedecimals), 0=>0, 1=>1, 2=>2, 3=>3, 4=>4, 5=>5);
$mform->addElement('select', 'decimals', get_string('decimalpoints', 'grades'), $options);
- $mform->setHelpButton('decimals', array(false, get_string('decimalpoints', 'grades'),
- false, true, false, get_string('configdecimalpoints', 'grades')));
+ $mform->setHelpButton('decimals', array('decimalpoints', get_string('decimalpoints', 'grades'), 'grade'), true);
$mform->setDefault('decimals', -1);
$mform->disabledIf('decimals', 'display', 'eq', GRADE_DISPLAY_TYPE_LETTER);
if ($default_gradedisplaytype == GRADE_DISPLAY_TYPE_LETTER) {
} else {
$mform->addElement('text', 'aggregationcoef', get_string($coefstring, 'grades'));
}
- $mform->setHelpButton('aggregationcoef', array(false, get_string($coefstring, 'grades'),
- false, true, false, get_string($coefstring.'help', 'grades')));
+ $mform->setHelpButton('aggregationcoef', array('aggregationcoef', get_string('aggregationcoef', 'grades'), 'grade'), true);
}
/// hidden params
if ($aggcoef !== '') {
$agg_el->setLabel(get_string($aggcoef, 'grades'));
- $mform->setHelpButton('aggregationcoef', array(false, get_string($aggcoef, 'grades'),
- false, true, false, get_string($aggcoef.'help', 'grades')));
+ $mform->setHelpButton('aggregationcoef', array('aggregationcoef', get_string('aggregationcoef', 'grades'), 'grade'), true);
}
}
}
$mform->addRule('itemname', get_string('required'), 'required', null, 'client');
$mform->addElement('text', 'iteminfo', get_string('iteminfo', 'grades'));
- $mform->setHelpButton('iteminfo', array(false, get_string('iteminfo', 'grades'),
- false, true, false, get_string('iteminfohelp', 'grades')));
+ $mform->setHelpButton('iteminfo', array('iteminfo', get_string('iteminfo', 'grades'), 'grade'), true);
$mform->addElement('text', 'idnumber', get_string('idnumbermod'));
- $mform->setHelpButton('idnumber', array(false, get_string('idnumbermod'),
- false, true, false, get_string('idnumberhelp', 'grades')));
+ $mform->setHelpButton('idnumber', array('idnumber', get_string('idnumber', 'grades'), 'grade'), true);
// allow setting of outcomes on module items too
$options = array();
}
}
$mform->addElement('select', 'outcomeid', get_string('outcome', 'grades'), $options);
- $mform->setHelpButton('outcomeid', array(false, get_string('outcome', 'grades'),
- false, true, false, get_string('outcomeidhelp', 'grades')));
+ $mform->setHelpButton('outcomeid', array('outcomeid', get_string('outcomeid', 'grades'), 'grade'), true);
$mform->addRule('outcomeid', get_string('required'), 'required');
$options = array(0=>get_string('none'));
}
}
$mform->addElement('select', 'cmid', get_string('linkedactivity', 'grades'), $options);
- $mform->setHelpButton('cmid', array(false, get_string('linkedactivity', 'grades'),
- false, true, false, get_string('linkedactivityhelp', 'grades')));
+ $mform->setHelpButton('cmid', array('linkedactivity', get_string('linkedactivity', 'grades'), 'grade'), true);
$mform->setDefault('cmid', 0);
/*$mform->addElement('text', 'gradepass', get_string('gradepass', 'grades'));
if ($coefstring !== '') {
$mform->addElement('text', 'aggregationcoef', get_string($coefstring, 'grades'));
- $mform->setHelpButton('aggregationcoef', array(false, get_string($coefstring, 'grades'),
- false, true, false, get_string($coefstring.'help', 'grades')));
+ $mform->setHelpButton('aggregationcoef', array('aggregationcoef', get_string('aggregationcoef', 'grades'), 'grade'));
}
/// hidden params
}
if ($aggcoef !== '') {
$agg_el->setLabel(get_string($aggcoef, 'grades'));
- $mform->setHelpButton('aggregationcoef', array(false, get_string($aggcoef, 'grades'),
- false, true, false, get_string($aggcoef.'help', 'grades')));
+ $mform->setHelpButton('aggregationcoef', array('aggregationcoef', get_string('aggregationcoef', 'grades'), 'grade'));
}
}
}
}
}
$mform->addElement('select', 'key', get_string('userkey', 'userkey'), $options);
- $mform->setHelpButton('key', array(false, get_string('userkey', 'userkey'),
- false, true, false, get_string("userkeyhelp", 'grades')));
+ $mform->setHelpButton('key', array('userkey', get_string('userkey', 'userkey'), 'grade'));
$mform->addElement('static', 'keymanagerlink', get_string('keymanager', 'userkey'),
'<a href="'.$CFG->wwwroot.'/grade/export/keymanager.php?id='.$COURSE->id.'">'.get_string('keymanager', 'userkey').'</a>');
$mform->addElement('text', 'iprestriction', get_string('keyiprestriction', 'userkey'), array('size'=>80));
- $mform->setHelpButton('iprestriction', array(false, get_string('keyiprestriction', 'userkey'),
- false, true, false, get_string("keyiprestrictionhelp", 'userkey')));
+ $mform->setHelpButton('iprestriction', array('keyiprestriction', get_string('keyiprestriction', 'userkey'), 'userkey'));
$mform->setDefault('iprestriction', getremoteaddr()); // own IP - just in case somebody does not know what user key is
$mform->addElement('date_time_selector', 'validuntil', get_string('keyvaliduntil', 'userkey'), array('optional'=>true));
- $mform->setHelpButton('validuntil', array(false, get_string('keyvaliduntil', 'userkey'),
- false, true, false, get_string("keyvaliduntilhelp", 'userkey')));
+ $mform->setHelpButton('validuntil', array('keyvaliduntil', get_string('keyvaliduntil', 'userkey'), 'userkey'));
$mform->setDefault('validuntil', time()+3600*24*7); // only 1 week default duration - just in case somebody does not know what user key is
$mform->disabledIf('iprestriction', 'key', 'noteq', 1);
$mform->addElement('text', 'iprestriction', get_string('keyiprestriction', 'userkey'), array('size'=>80));
$mform->addElement('date_time_selector', 'validuntil', get_string('keyvaliduntil', 'userkey'), array('optional'=>true));
- $mform->setHelpButton('iprestriction', array(false, get_string('keyiprestriction', 'userkey'),
- false, true, false, get_string("keyiprestrictionhelp", 'userkey')));
- $mform->setHelpButton('validuntil', array(false, get_string('keyvaliduntil', 'userkey'), false, true, false, get_string("keyvaliduntilhelp", 'userkey')));
+ $mform->setHelpButton('iprestriction', array('keyiprestriction', get_string('keyiprestriction', 'userkey'), 'userkey'));
+ $mform->setHelpButton('validuntil', array('keyvaliduntil', get_string('keyvaliduntil', 'userkey'), 'userkey'));
$mform->addElement('hidden','id');
$mform->setType('id', PARAM_INT);
$mform->addElement('text', 'iprestriction', get_string('keyiprestriction', 'userkey'), array('size'=>80));
$mform->addElement('date_time_selector', 'validuntil', get_string('keyvaliduntil', 'userkey'), array('optional'=>true));
- $mform->setHelpButton('iprestriction', array(false, get_string('keyiprestriction', 'userkey'),
- false, true, false, get_string("keyiprestrictionhelp", 'userkey')));
- $mform->setHelpButton('validuntil', array(false, get_string('keyvaliduntil', 'userkey'), false, true, false, get_string("keyvaliduntilhelp", 'userkey')));
+ $mform->setHelpButton('iprestriction', array('keyiprestriction', get_string('keyiprestriction', 'userkey'), 'userkey'));
+ $mform->setHelpButton('validuntil', array('keyvaliduntil', get_string('keyvaliduntil', 'userkey'), 'userkey'));
$mform->addElement('hidden','id');
$mform->setType('id', PARAM_INT);
$mform->addElement($type, $full_pref, $label, $options);
if ($lang_string != 'showuserimage') {
- $mform->setHelpButton($full_pref, array(false, get_string($lang_string, 'grades'), false, true, false, $help_string));
+ $mform->setHelpButton($full_pref, array($lang_string, get_string($lang_string, 'grades'), 'grade'), true);
}
$mform->setDefault($full_pref, $pref_value);
$mform->setType($full_pref, PARAM_ALPHANUM);
$string['configallowemailaddresses'] = 'If you want to restrict all new email addresses to particular domains, then list them here separated by spaces. All other domains will be rejected. To allow subdomains add the domain with a preceding \'.\'. eg <strong>ourcollege.edu.au .gov.au</strong>';
$string['configallowobjectembed'] = 'As a default security measure, normal users are not allowed to embed multimedia (like Flash) within texts using explicit EMBED and OBJECT tags in their HTML (although it can still be done safely using the mediaplugins filter). If you wish to allow these tags then enable this option.';
$string['configallowoverride'] = 'You can allow people with the roles on the left side to override some of the column roles';
-$string['configallowunenroll'] = 'If this is set \'Yes\', then students are allowed to unenroll themselves from courses whenever they like. Otherwise they are not allowed, and this process will be solely controlled by the teachers and administrators.';
+$string['configallowunenroll'] = 'If this is set \'Yes\', then students are allowed to unenrol themselves from courses whenever they like. Otherwise they are not allowed, and this process will be solely controlled by the teachers and administrators.';
$string['configallowuserblockhiding'] = 'Do you want to allow users to hide/show side blocks throughout this site? This feature uses Javascript and cookies to remember the state of each collapsible block, and only affects the user\'s own view.';
$string['configallowusermailcharset'] = 'Enabling this, every user in the site will be able to specify his own charset for email.';
$string['configallowuserthemes'] = 'If you enable this, then users will be allowed to set their own themes. User themes override site themes (but not course themes)';
$string['configcachetype'] = 'Select a type of cache for Moodle to use. This will only configure the cache, remember to enable rcache so that the cache is used for something. Use <strong>only</strong> if you need to reduce the load on the database system -- otherwise Moodle will actually run slower. Medium-traffic sites may see benefits using \'internal\'. A single webserver with eAccelerator or Turckmmcache installed <em>with the shared memory options enabled</em> should try \'eaccelerator\'. If you have a multiple-server setup, and you have one or more memcached daemons running and the PHP-memcached extension, select \'memcached\' and configure the memached options below. <br /><strong>Note:</strong> make sure you test performance under load and tune accordingly -- the caches can make your site slower. In high-traffic situations, eAccelerator and memcached can yield the most benefits, but have the higher costs in CPU usage on the webserver.';
$string['configclamactlikevirus'] = 'Treat files like viruses';
$string['configclamdonothing'] = 'Treat files as OK';
-$string['configclamfailureonupload'] = 'If you have configured clam to scan uploaded files, but it is configured incorrectly or fails to run for some unknown reason, how should it behave? If you choose \'Treat files like viruses\', they\'ll be moved into the quarantine area, or deleted. If you choose \'Treat files as OK\', the files will be moved to the desination directory like normal. Either way, admins will be alerted that clam has failed. If you choose \'Treat files like viruses\' and for some reason clam fails to run (usually because you have entered an invalid pathtoclam), ALL files that are uploaded will be moved to the given quarantine area, or deleted. Be careful with this setting.';
+$string['configclamfailureonupload'] = 'If you have configured clam to scan uploaded files, but it is configured incorrectly or fails to run for some unknown reason, how should it behave? If you choose \'Treat files like viruses\', they\'ll be moved into the quarantine area, or deleted. If you choose \'Treat files as OK\', the files will be moved to the destination directory like normal. Either way, admins will be alerted that clam has failed. If you choose \'Treat files like viruses\' and for some reason clam fails to run (usually because you have entered an invalid pathtoclam), ALL files that are uploaded will be moved to the given quarantine area, or deleted. Be careful with this setting.';
$string['configcookiehttponly'] = 'Enables new PHP 5.2.0 feature - browsers are instructed to send cookie with real http requests only, cookies should not be accessible by scripting languages. This is not supported in all browsers and it may not be fully compatible with current code. It helps to prevent some types of XSS attacks.';
$string['configcookiesecure'] = 'If server is accepting only https connections it is recommended to enable sending of secure cookies. If enabled please make sure that web server is not accepting http:// or set up permanent redirection to https:// address. When <em>wwwroot</em> address does not start with https:// this setting is turned off automatically.';
$string['configcountry'] = 'If you set a country here, then this country will be selected by default on new user accounts. To force users to choose a country, just leave this unset.';
$string['configcoursemanager'] = 'This setting allows you to control who appears on the course description. Users need to have at least one of these roles in a course to be shown on the course description for that course.';
$string['configcoursesperpage'] = 'Enter the number of courses to be display per page in a course listing.';
-$string['configcreatornewroleid'] = 'This role is automatically assigned to creators in new courses they created. This role is not assigned if creator already has needed capabilitites in parent context.';
+$string['configcreatornewroleid'] = 'This role is automatically assigned to creators in new courses they created. This role is not assigned if creator already has needed capabilities in parent context.';
$string['configdbsessions'] = 'If enabled, this setting will use the database to store information about current sessions. This is especially useful for large/busy sites or sites built on cluster of servers. For most sites this should probably be left disabled so that the server disk is used instead. Note that changing this setting now will log out all current users (including you). If you are using MySQL please make sure that \'max_allowed_packet\' in my.cnf (or my.ini) is at least 4M.';
$string['configdebug'] = 'If you turn this on, then PHP\'s error_reporting will be increased so that more warnings are printed. This is only useful for developers.';
$string['configdebugdisplay'] = 'Set to on, the error reporting will go to the HTML page. This is practical, but breaks XHTML, JS, cookies and HTTP headers in general. Set to off, it will send the output to your server logs, allowing better debugging. The PHP setting error_log controls which log this goes to.';
$string['configenablerssfeedsdisabled'] = 'It is not available because RSS feeds are disabled in all the Site. To enable them, go to the Variables settings under Admin Configuration.';
$string['configenablerssfeedsdisabled2'] = 'RSS feeds are disabled at the server level. You need to enable them first in Server/RSS.';
$string['configenablestats'] = 'If you choose \'yes\' here, Moodle\'s cronjob will process the logs and gather some statistics. Depending on the amount of traffic on your site, this can take awhile. If you enable this, you will be able to see some interesting graphs and statistics about each of your courses, or on a sitewide basis.';
-$string['configenabletrusttext'] = 'By default Moodle will always thoroughly clean text that comes from users to remove any possible bad scripts, media etc that could be a security risk. The Trusted Content system is a way of giving partcular users that you trust the ability to include these advanced features in their content without interference. To enable this system, you need to first enable this setting, and then grant the Trusted Content permission to a specific Moodle role. Texts created or uploaded by such users will be marked as trusted and will not be cleaned before display.';
+$string['configenabletrusttext'] = 'By default Moodle will always thoroughly clean text that comes from users to remove any possible bad scripts, media etc that could be a security risk. The Trusted Content system is a way of giving particular users that you trust the ability to include these advanced features in their content without interference. To enable this system, you need to first enable this setting, and then grant the Trusted Content permission to a specific Moodle role. Texts created or uploaded by such users will be marked as trusted and will not be cleaned before display.';
$string['configenrolmentplugins'] = 'Please choose the enrolment plugins you wish to use. Don\'t forget to configure the settings properly.<br /><br />You have to indicate which plugins are enabled, and <strong>one</strong> plugin can be set as the default plugin for <em>interactive</em> enrolment. To disable interactive enrolment, set \"enrollable\" to \"No\" in required courses.';
$string['configerrorlevel'] = 'Choose the amount of PHP warnings that you want to be displayed. Normal is usually the best choice.';
$string['configextendedusernamechars'] = 'Enable this setting to allow students to use any characters in their usernames (note this does not affect their actual names). The default is \"false\" which restricts usernames to be alphanumeric characters only';
$string['configgradebookroles'] = 'This setting allows you to control who appears on the gradebook. Users need to have at least one of these roles in a course to be shown in the gradebook for that course.';
$string['configgradeexport'] = 'Choose which gradebook export formats are your primary methods for exporting grades. Chosen plugins will then set and use a \"last exported\" field for every grade. For example, this might result in exported records being identified as being \"new\" or \"updated\". If you are not sure about this then leave everything unchecked.';
$string['configguestroleid'] = 'This role is automatically assigned to the guest user. It is also temporarily assigned to not enrolled users when they enter course that allows guests without password. Please verify that the role has moodle/legacy:guest and moodle/course:view capability.';
-$string['confighiddenuserfields'] = 'Select which user infomation fields you wish to hide from other users other than course teachers/admins. This will increase student privacy. Hold CTRL key to select multiple fields.';
+$string['confighiddenuserfields'] = 'Select which user information fields you wish to hide from other users other than course teachers/admins. This will increase student privacy. Hold CTRL key to select multiple fields.';
$string['confighideactivitytypenavlink'] = 'Select from whom to hide the activity type (e.g. Quizzes) link in the navigation displayed for activity modules.';
$string['confightmleditor'] = 'Choose whether or not to allow use of the embedded HTML text editor. Even if you choose allow, this editor will only appear when the user is using a compatible web browser. Users can also choose not to use it.';
$string['configidnumber'] = 'This option specifies whether (a) Users are not be asked for an ID number at all, (b) Users are asked for an ID number but can leave it blank or (c) Users are asked for an ID Number and cannot leave it blank. If given the User\'s ID number is displayed in their Profile.';
$string['configloginhttps'] = 'Turning this on will make Moodle use a secure https connection just for the login page (providing a secure login), and then afterwards revert back to the normal http URL for general speed. CAUTION: this setting REQUIRES https to be specifically enabled on the web server - if it is not then YOU COULD LOCK YOURSELF OUT OF YOUR SITE.';
$string['configloglifetime'] = 'This specifies the length of time you want to keep logs about user activity. Logs that are older than this age are automatically deleted. It is best to keep logs as long as possible, in case you need them, but if you have a very busy server and are experiencing performance problems, then you may want to lower the log lifetime.';
$string['configlongtimenosee'] = 'If students haven\'t logged in for a very long time, then they are automatically unsubscribed from courses. This parameter specifies that time limit.';
-$string['configlookahead'] = 'Days to Lookahead';
+$string['configlookahead'] = 'Days to look ahead';
$string['configmailnewline'] = 'Newline characters used in mail messages. CRLF is required according to RFC 822bis, some mail servers do automatic conversion from LF to CRLF, other mail servers do incorrect conversion from CRLF to CRCRLF, yet others reject mails with bare LF (qmail for example). Try changing this setting if you are having problems with undelivered emails or double newlines.';
-$string['configmaxbytes'] = 'This specifies a maximum size that uploaded files can be throughout the whole site. This setting is limited by the PHP settings post_max_size and upload_max_filesize, as well as the Apache setting LimitRequestBody. In turn, maxbytes limits the range of sizes that can be chosen at course level or module level. If \'Server Limit\' is chosen, the server maxiumum allowed by the server will be used.';
+$string['configmaxbytes'] = 'This specifies a maximum size that uploaded files can be throughout the whole site. This setting is limited by the PHP settings post_max_size and upload_max_filesize, as well as the Apache setting LimitRequestBody. In turn, maxbytes limits the range of sizes that can be chosen at course level or module level. If \'Server Limit\' is chosen, the server maximum allowed by the server will be used.';
$string['configmaxeditingtime'] = 'This specifies the amount of time people have to re-edit forum postings, glossary comments etc. Usually 30 minutes is a good value.';
$string['configmaxevents'] = 'Events to Lookahead';
$string['configmemcachedhosts'] = 'For memcached. Comma-separated list of hosts that are running the memcached daemon. Use IP addresses to avoid DNS latency. memcached does not behave well if you add/remove hosts on a running setup.';
$string['configproxyuser'] = 'Username needed to access internet through proxy if required, empty if none (PHP cURL extension required).';
$string['configproxytype'] = 'Type of web proxy (PHP5 and cURL extension required for SOCKS5 support).';
$string['configquarantinedir'] = 'If you want clam AV to move infected files to a quarantine directory, enter it here. It must be writable by the webserver. If you leave this blank, or if you enter a directory that doesn\'t exist or isn\'t writable, infected files will be deleted. Do not include a trailing slash.';
-$string['configcronclionly'] = 'If this is set, then the cron script can only be run from the commandline instead of via the web. This overrides the cron password setting below.';
+$string['configcronclionly'] = 'If this is set, then the cron script can only be run from the command line instead of via the web. This overrides the cron password setting below.';
$string['configcronremotepassword'] = 'This means that the cron.php script cannot be run from a web browser without supplying the password using the following form of URL:<pre>
http://site.example.com/admin/cron.php?password=opensesame
</pre>If this is left empty, no password is required.';
$string['dbmigrateconnecerror'] = 'Could not connect to the database specified.';
$string['dbmigrateencodingerror'] = 'The database specified has encoding $a rather than required UNICODE/UTF8.<br />Please specify another.';
$string['dbmigratepostgres'] = 'It seems that you are using PostgreSQL as the database server. To continue the migration process you need to manually create a new database with encoding \"UNICODE\"(PostgreSQL 7) or \"UTF8\" (PostgreSQL 8) to store the migrated data. Please enter your new database connection settings below to continue:';
-$string['dbmigratewarning'] = 'Please make sure that you have backed up your moodle database before commencing this procedure. If you are unsure of how to do that, please contact your system admin. Your Moodle site will be put under maintenance mode after you start the migration process';
+$string['dbmigratewarning'] = 'Please make sure that you have backed up your Moodle database before commencing this procedure. If you are unsure of how to do that, please contact your system admin. Your Moodle site will be put under maintenance mode after you start the migration process';
$string['dbmigratewarning2'] = '<b>Warning: You are about to start the database migration process. Please be very sure that your entire Moodle database is backed up.</b>';
$string['dbmigrationdeprecateddb'] = '<font color=\"#ff0000\">This database is migrated to a new UTF8 database and deprecated. Please edit your config.php and use the new database for this moodle.</font>';
$string['dbmigrationdupfailed'] = 'Database duplication failed with possible error:<font color=\"#ff0000\"><pre>$a</pre></font>';
$string['htmleditor'] = 'HTML editor';
$string['http'] = 'HTTP';
$string['httpsecurity'] = 'HTTP security';
-$string['iconvrecommended'] = 'Installing the optional ICONV library is highly recommended in order to improve site performance, particularly if your site is supporting non-latin languages.';
+$string['iconvrecommended'] = 'Installing the optional ICONV library is highly recommended in order to improve site performance, particularly if your site is supporting non-Latin languages.';
$string['importlangreminder'] = 'The database migration process is commencing. You will need to <b>log in again</b> for the upgrade to take effect. Please install unicode language packs as soon as possible from Admin->Lang->Lang Import Utility <b>after</b> the database migration process is completed.';
$string['importtimezones'] = 'Update complete list of timezones';
$string['importtimezonescount'] = '$a->count entries imported from $a->source';
$string['langimportsuccess'] = 'Language pack successfully upgraded';
$string['langlist'] = 'Languages on language menu';
$string['langmenu'] = 'Display language menu';
-$string['langnoeditenglish'] = 'Can\'t overwrite the base english language pack. Please switch lang directory to make local changes';
+$string['langnoeditenglish'] = 'Can\'t overwrite the base English language pack. Please switch lang directory to make local changes';
$string['langpackinstalled'] = 'Language pack $a was successfully installed';
$string['langpackmaintaining'] = 'Language pack maintaining';
$string['langpackremoved'] = 'Language pack was uninstalled';
$string['managelang'] = 'Manage';
$string['maxbytes'] = 'Maximum uploaded file size';
$string['maxeditingtime'] = 'Maximum time to edit posts';
-$string['mbstringrecommended'] = 'Installing the optional MBSTRING library is highly recommended in order to improve site performance, particularly if your site is supporting non-latin languages.';
+$string['mbstringrecommended'] = 'Installing the optional MBSTRING library is highly recommended in order to improve site performance, particularly if your site is supporting non-Latin languages.';
$string['mediapluginavi'] = 'Enable .avi filter';
$string['mediapluginflv'] = 'Enable .flv filter';
$string['mediapluginmov'] = 'Enable .mov filter';
$string['stickyblocks'] = 'Sticky blocks';
$string['stickyblockscourseview'] = 'Course page';
$string['stickyblocksduplicatenotice'] = 'If any block you add here is already present in a particular page, it will result in a duplicate.<br />Only the pinned block will be non-editable, the duplicate will still be editable.';
-$string['stickyblocksmymoodle'] = 'My moodle';
+$string['stickyblocksmymoodle'] = 'My Moodle';
$string['stickyblockspagetype'] = 'Page type to configure';
$string['supportemail'] = 'Support email';
$string['supportname'] = 'Support name';
$string['timezonenotforced'] = 'Users can choose their own timezone';
$string['tokenizerrecommended'] = 'Installing the optional PHP Tokenizer extension is recommended -- it improves Moodle Networking functionality.';
$string['unattendedoperation'] = 'Unattended operation';
-$string['unbookmarkthispage'] = 'unbookmark this page';
+$string['unbookmarkthispage'] = 'Unbookmark this page';
$string['unicodeupgradenotice'] = 'In Moodle 1.6 we have migrated all languages to Unicode. To complete the upgrade for this site, you need to convert all the data in your database to Unicode (UTF-8) using our migration script. <a href=\"utfdbmigrate.php\">Click here to run the migration script now</a>!';
$string['unicoderecommended'] = 'Storing all your data in Unicode (UTF-8) is recommended. New installations should be performed into databases that have their default character set as Unicode. If you are upgrading, you should perform the UTF-8 migration process (see the Admin page).';
$string['unicoderequired'] = 'It is required that you store all your data in Unicode format (UTF-8). New installations must be performed into databases that have their default character set as Unicode. If you are upgrading, you should perform the UTF-8 migration process (see the Admin page).';
$string['upgradelogs'] = 'For full functionality, your old logs need to be upgraded. <a href=\"$a\">More information</a>';
$string['upgradelogsinfo'] = 'Some changes have recently been made in the way logs are stored. To be able to view all of your old logs on a per-activity basis, your old logs need to be upgraded. Depending on your site this can take a long time (eg several hours) and can be quite taxing on the database for large sites. Once you start this process you should let it finish (by keeping the browser window open). Don\'t worry - your site will work fine for other people while the logs are being upgraded.<br /><br />Do you want to upgrade your logs now?';
$string['upgradesettings'] = 'New settings';
-$string['upgradesettingsintro'] = 'The settings shown below were added during your last Moodle upgrade. Make any changes necessary to the defaults and then click "Save settings" at the bottom of this page.';
+$string['upgradesettingsintro'] = 'The settings shown below were added during your last Moodle upgrade. Make any changes necessary to the defaults and then click the "Save changes" button at the bottom of this page.';
$string['upgradesure'] = 'Your Moodle files have been changed, and you are about to automatically upgrade your server to this version: <br /><br />
<strong>$a</strong> <br /><br />
Once you do this you can not go back again. <br /><br />
$string['aggregatemax'] = 'Highest grade';
$string['aggregatemode'] = 'Mode of grades';
$string['aggregateonlygraded'] = 'Aggregate only non-empty grades';
-$string['aggregateonlygradedhelp'] = 'Nonexistent grades are either treated as minimal grades or not included in aggregation.';
$string['aggregateoutcomes'] = 'Include outcomes in aggregation';
-$string['aggregateoutcomeshelp'] = 'Including outcomes in aggregation may not lead to the desired overall grade, so you have the option to include or leave them out.';
$string['aggregatesubcats'] = 'Aggregate including subcategories';
-$string['aggregatesubcatshelp'] = 'The aggregation is usually done only with immediate children, it is also possible to aggregate grades in all subcategories excluding other aggregated grades.';
$string['aggregatesum'] = 'Sum of grades';
$string['aggregatesonly'] = 'Aggregates only';
$string['aggregateweightedmean'] = 'Weighted mean of grades';
$string['aggregation'] = 'Aggregation';
$string['aggregationcoef'] = 'Aggregation coefficient';
$string['aggregationcoefextra'] = 'Extra credit';
-$string['aggregationcoefextrahelp'] = 'Extra credit for this grade item during aggregation.';
$string['aggregationcoefextrasum'] = 'Extra credit';
-$string['aggregationcoefextrasumhelp'] = 'Extra credit for this grade item during aggregation.';
$string['aggregationcoefweight'] = 'Item weight';
-$string['aggregationcoefweighthelp'] = 'Weight applied to all grades in this grade item during aggregation with other grade items.';
-$string['aggregationhelp'] = 'Strategy used to aggregate grades across all students in a course.';
$string['aggregationposition'] = 'Aggregation position';
$string['aggregationview'] = 'Aggregation view';
$string['allgrades'] = 'All grades by category';
$string['configaggregationview'] = 'Each category can be displayed in three ways: Full mode (aggregated column and grade item columns), the aggregated column only, or the grade items alone.';
$string['configaveragesdecimalpoints'] = 'Specifies the number of decimal points to display for each column mean. If Inherit is selected, the display type for each column is used.';
$string['configaveragesdisplaytype'] = 'Specifies how to display the mean for each column. If Inherit is selected, the display type for each column is used.';
-$string['configbulkcheckboxes'] = 'Checkboxes near each grade for Bulk grade operations.';
$string['configcoursegradedisplaytype'] = 'Select the default display type of grades for this course. You can also select the site default value. Grades can be shown as real grades, as percentages (in reference to the minimum and maximum grades) or as letters (A, B, C etc..). Selecting Letters will allow you to define your own grade letters and boundaries.';
$string['configdecimalpoints'] = 'Specifies the number of decimal points to display for each grade. This setting may be overridden per grading item.';
$string['configenableajax'] = 'Adds a layer of AJAX functionality to the grader report, simplifying and speeding up common operations. Depends on Javascript being switched on at the user\'s browser level.';
$string['displaypoints'] = 'Display points';
$string['displayweighted'] = 'Display weighted grades';
$string['droplow'] = 'Drop the lowest';
-$string['droplowhelp'] = 'If set, this option will drop the X lowest grades, X being the selected value for this option.';
$string['dropped'] = 'Dropped';
$string['dropxlowest'] = 'Drop X lowest';
$string['dropxlowestwarning'] = 'Note: If you use drop x lowest the grading assumes that all items in the category have the same point value. If point values differ results will be unpredictable';
$string['errorreprintheadersnonnumeric'] = 'Received non-numeric value for reprint-headers';
$string['exceptions'] = 'Exceptions';
$string['excluded'] = 'Excluded';
-$string['excludedhelp'] = 'If -excluded- is switched on, this grade will be excluded from any aggregation performed by any parent grade item or category.';
$string['expand'] = 'Expand Category';
$string['export'] = 'Export';
$string['exportfeedback'] = 'Include feedback in export';
$string['extracredit'] = 'Extra Credit';
$string['extracreditwarning'] = 'Note: Setting all items for a category to extra credit will effectively remove them from the grade calculation. Since there will be no point total';
$string['feedback'] = 'Feedback';
-$string['feedbackhelp'] = 'Notes added to the grade by the teacher. They can be extensive, personalised feedback or a simple code that refers to an internal system of feedback.';
$string['feedbackadd'] = 'Add feedback';
$string['feedbackedit'] = 'Edit feedback';
$string['feedbackview'] = 'View feedback';
$string['feedbacksaved'] = 'Feedback saved';
$string['finalgrade'] = 'Final grade';
-$string['finalgradehelp'] = 'The final grade (cached) after all calculations are performed.';
$string['forceoff'] = 'Force: Off';
$string['forceon'] = 'Force: On';
$string['forelementtypes'] = ' for the selected $a';
$string['gradeboundary'] = 'Letter grade boundary';
$string['gradecategories'] = 'Grade categories';
$string['gradecategory'] = 'Grade category';
-$string['gradecategoryhelp'] = 'Grade category help';
$string['gradecategorysettings'] = 'Grade category settings';
$string['gradedon'] = 'Graded: $a';
$string['gradedisplay'] = 'Grade display';
$string['gradedisplaytype'] = 'Grade display type';
$string['gradeexceptions'] = 'Grade exceptions';
-$string['gradeexceptionshelp'] = 'Grade exceptions Help';
$string['gradeexportdisplaytype'] = 'Grade export display type';
$string['gradeexportdecimalpoints'] = 'Grade export decimal points';
-$string['gradehelp'] = 'Grade Help';
$string['gradehistorylifetime'] = 'Grade history lifetime';
$string['gradeitem'] = 'Grade item';
$string['gradeitemadvanced'] = 'Advanced grade item options';
$string['gradeitemsettings'] = 'Grade item settings';
$string['gradeletter'] = 'Grade letter';
$string['gradeletters'] = 'Grade letters';
-$string['gradeletterhelp'] = 'Grade letter Help';
$string['gradeletternote'] = 'To delete a grade letter just empty any of the<br /> three text areas for that letter and click submit.';
$string['gradelocked'] = 'Grade is locked';
$string['gradelong'] = '$a->grade / $a->max';
$string['grademax'] = 'Maximum grade';
-$string['grademaxhelp'] = 'When using the value grade type, a maximum grade can be set. The maximum grade for an activity-based grade item is set on the update activity page.';
$string['grademin'] = 'Minimum grade';
-$string['grademinhelp'] = 'When using the value grade type, a minimum grade can be set.';
$string['gradeoutcomeitem'] = 'Grade outcome item';
$string['gradeoutcomes'] = 'Outcomes';
$string['gradeoutcomescourses'] = 'Course outcomes';
$string['gradepass'] = 'Grade to pass';
-$string['gradepasshelp'] = 'If an item has a grade that users must equal or exceed to pass that item, you can set that here.';
$string['gradepublishing'] = 'Enable publishing';
$string['graderreport'] = 'Grader report';
$string['gradessettings'] = 'Grade settings';
$string['gradepreferences'] = 'Grade preferences';
-$string['gradepreferenceshelp'] = 'Grade preferences Help';
$string['grades'] = 'Grades';
$string['gradesonly'] = 'Grades only';
$string['gradetype'] = 'Grade type';
-$string['gradetypehelp'] = 'Specifies the type of grade used: none (no grading possible), value (enables the maximum and minimum grade settings), scale (enables the scale setting) or text (feedback only). Only value and scale grade types may be aggregated. The grade type for an activity-based grade item is set on the update activity page.';
$string['gradeview'] = 'View Grade';
-$string['gradeweighthelp'] = 'Grade weight Help';
$string['groupavg'] = 'Group average';
$string['hidden'] = 'Hidden';
$string['hiddenasdate'] = 'Show submitted date for hidden grades';
$string['highgradedescending'] = 'Sort by high grade descending';
$string['highgradeletter'] = 'High';
$string['hidequickfeedback'] = 'Hide Quick Feedback';
-$string['idnumberhelp'] = 'Setting an ID number provides a way of identifying the activity for grade calculation purposes. If the activity is not included in any grade calculation then the ID number field can be left blank. The ID number for an activity-based grade item may be set on the update activity page.';
$string['idnumbers'] = 'Id numbers';
$string['identifier'] = 'Identify user by';
$string['import'] = 'Import';
$string['inherit'] = 'Inherit';
$string['item'] = 'Item';
$string['iteminfo'] = 'Item info';
-$string['iteminfohelp'] = 'A space for entering information about the item. Text entered does not appear anywhere else.';
$string['itemname'] = 'Item name';
-$string['itemnamehelp'] = 'The name of this item, pushed in by the module.';
$string['items'] = 'Items';
$string['itemsedit'] = 'Edit grade item';
$string['keephigh'] = 'Keep the highest';
-$string['keephighhelp'] = 'If set, this option will only keep the X highest grades, X being the selected value for this option.';
$string['keymanager'] = 'Key manager';
$string['lessthanmin'] = 'The grade entered for $a->itemname for $a->username is less than the minimum allowed';
$string['lettergrade'] = 'Letter grade';
$string['letter'] = 'Letter';
$string['letters'] = 'Letters';
$string['linkedactivity'] = 'Linked activity';
-$string['linkedactivityhelp'] = 'Specifies an optional activity to which this outcome item is linked. This is used to measure student performance on criteria not assessed by the activity grade.';
$string['lock'] = 'Lock';
$string['locked'] = 'Locked';
$string['locktime'] = 'Lock after';
$string['morethanmax'] = 'The grade entered for $a->itemname for $a->username is more than the maximum allowed';
$string['movingelement'] = 'Moving $a';
$string['multfactor'] = 'Multiplicator';
-$string['multfactorhelp'] = 'Factor by which all grades for this grade item will be multiplied.';
$string['myreportpreferences'] = 'My report preferences';
$string['neverdeletehistory'] = 'Never delete history';
$string['newcategory'] = 'New category';
$string['outcomeconfirmdelete'] = 'Are you sure you wish to delete the outcome \"$a\"?';
$string['outcomecreate'] = 'Add a new outcome';
$string['outcomedelete'] = 'Delete Outcome';
-$string['outcomeidhelp'] = 'Specifies the Outcome which this grade item will represent in the gradebook. Only outcomes associated with this course and site-wide outcomes are available';
$string['outcomeitem'] = 'Outcome item';
$string['outcomeitemsedit'] = 'Edit outcome item';
$string['outcomes'] = 'Outcomes';
$string['outcomesstandard'] = 'Standard outcomes';
$string['outcomesstandardavailable'] = 'Available standard outcomes';
$string['outcomestandard'] = 'Standard outcome';
-$string['outcomestandardhelp'] = 'A Standard outcome is available site-wide, for all courses.';
$string['outcomes'] = 'Outcomes';
$string['overallaverage'] = 'Overall average';
$string['overridesitedefaultgradedisplaytype'] = 'Override site defaults';
-$string['overridesitedefaultgradedisplaytypehelp'] = 'Tick this checkbox to enable the overriding of the site defaults for the display of grades in the gradebook. This activates form elements allowing you to define the grade letters and boundaries of your choice.';
$string['overridden'] = 'Overridden';
-$string['overriddenhelp'] = 'When on, the overridden flag prevents any future attempts to automatically adjust the value of the grade. This flag is often set internally by the gradebook, but can be switched on and off manually using this form element.';
$string['overriddennotice'] = 'Your final grade from this activity was manually adjusted.';
$string['courseavg'] = 'Course average';
$string['parentcategory'] = 'Parent category';
$string['percentdescending'] = 'Sort by percent descending';
$string['percentshort'] = '%%';
$string['plusfactor'] = 'Offset';
-$string['plusfactorhelp'] = 'Number that will be added to every grade for this grade item, after the Multiplicator is applied.';
$string['points'] = 'points';
$string['pointsascending'] = 'Sort by points ascending';
$string['pointsdescending'] = 'Sort by points descending';
$string['savechanges'] = 'Save changes';
$string['savepreferences'] = 'Save preferences';
$string['scaledpct'] = 'Scaled %%';
-$string['scaleidhelp'] = 'When using the scale grade type, a scale can be selected. The scale for an activity-based grade item is selected on the update activity page.';
-$string['scalestandardhelp'] = 'A standard scale is one that is available site-wide, for all courses.';
$string['seeallcoursegrades'] = 'See all course grades';
$string['selectdestination'] = 'Select destination of $a';
$string['selectalloroneuser'] = 'Select all or one user';
$string['usenoscale'] = 'Use no scale';
$string['usepercent'] = 'Use percent';
$string['user'] = 'User';
-$string['userkeyhelp'] = 'Select a saved key that will give users access to the data published by this export plugin, without having to log into Moodle. Select `create a new user key` to generate a new key when submitting this form.';
$string['userpreferences'] = 'User preferences';
$string['useweighted'] = 'Use weighted';
$string['viewbygroup'] = 'Group';
--- /dev/null
+<h1>Aggregate only non-empty grades</h1>
+<p>Nonexistent grades are either treated as minimal grades or not included in aggregation.</p>
--- /dev/null
+<h1>Include outcomes in aggregation</h1>
+<p>Including outcomes in aggregation may not lead to the desired overall grade, so you have the option to include or leave them out.</p>
--- /dev/null
+<h1>Aggregate including subcategories</h1>
+<p>The aggregation is usually done only with immediate children, it is also possible to aggregate grades in all subcategories excluding other aggregated grades.</p>
--- /dev/null
+<h1>Aggregation</h1>
+<p>Strategy used to aggregate grades across all students in a course.</p>
--- /dev/null
+<h1>Extra credit</h1>
+<p>Extra credit for this grade item during aggregation.</p>
--- /dev/null
+<h1>Extra credit</h1>
+<p>Extra credit for this grade item during aggregation.</p>
--- /dev/null
+<h1>Item weight</h1>
+<p>Weight applied to all grades in this grade item during aggregation with other grade items.</p>
--- /dev/null
+<h1>Aggregation position</h1>
+<p>Defines the position of the aggregation total column in the report related to the grades being aggregated.</p>
--- /dev/null
+<h1>Aggregation view</h1>
+<p>Each category can be displayed in three ways: Full mode (aggregated column and grade item columns), the aggregated column only, or the grade items alone.</p>
--- /dev/null
+<h1>Decimals in column averages</h1>
+<p>Specifies the number of decimal points to display for each column mean. If Inherit is selected, the display type for each column is used.</p>
--- /dev/null
+<h1>Column averages display type</h1>
+<p>Specifies how to display the mean for each column. If Inherit is selected, the display type for each column is used.</p>
--- /dev/null
+<h1>Overall decimal points</h1>
+<p>Specifies the number of decimal points to display for each grade. This setting may be overridden per grading item.</p>
--- /dev/null
+<h1>Drop low</h1>
+<p>If set, this option will drop the X lowest grades, X being the selected value for this option.</p>
--- /dev/null
+<h1>Enable AJAX</h1>
+<p>Adds a layer of AJAX functionality to the grader report, simplifying and speeding up common operations. Depends on Javascript being switched on at the user\'s browser level.</p>
--- /dev/null
+<h1>Excluded grades</h1>
+<p>If -excluded- is switched on, this grade will be excluded from any aggregation performed by any parent grade item or category.</p>
--- /dev/null
+<h1>Export decimal points</h1>
+<p>The number of decimal points to display for export. This can be overridden during export.</p>
--- /dev/null
+<h1>Feedback</h1>
+<p>Notes added to the grade by the teacher. They can be extensive, personalised feedback or a simple code that refers to an internal system of feedback.</p>
--- /dev/null
+<h1>Final grade</h1>
+<p>The final grade (cached) after all calculations are performed.</p>
--- /dev/null
+<h1>Grades</h1>
+
--- /dev/null
+<h1>Grade boundary</h1>
+<p>A percentage boundary over which grades will be assigned a grade letter (if the Letter grade display type is used). </p>
--- /dev/null
+<h1>Grade categories</h1>
+<p></p>
--- /dev/null
+<h1>Grade display type</h1>
+<p>Specifies how to display grades in the grader and user reports. Grades may be shown as actual grades, as percentages (in reference to the minimum and maximum grades) or as letters.</p>
--- /dev/null
+<h1>Grade exceptions</h1>
+<p></p>
--- /dev/null
+<h1>Grade export display type</h1>
+<p>Grades can be shown as real grades, as percentages (in reference to the minimum and maximum grades) or as letters (A, B, C etc..) during export. This can be overridden during export.</p>
--- /dev/null
+<h1>Grade letters</h1>
+<p>A letter or other symbol used to represent a range of grades.</p>
--- /dev/null
+<h1>Grade letter default</h1>
+<p>A letter or other symbol used to represent a range of grades. Leave this field empty to use the site default (currently $a).</p>
--- /dev/null
+<h1>Maximum Grade</h1>
+<p>When using the value grade type, a maximum grade can be set. The maximum grade for an activity-based grade item is set on the update activity page.</p>
--- /dev/null
+<h1>Minimum Grade</h1>
+<p>When using the value grade type, a minimum grade can be set.</p>
--- /dev/null
+<h1>Grade to pass</h1>
+<p>If an item has a grade that users must equal or exceed to pass that item, you can set that here.</p>
--- /dev/null
+<h1>Grade type</h1>
+<p>Specifies the type of grade used: none (no grading possible), value (enables the maximum and minimum grade settings), scale (enables the scale setting) or text (feedback only). Only value and scale grade types may be aggregated. The grade type for an activity-based grade item is set on the update activity page.</p>
--- /dev/null
+<h1>Id numbers</h1>
+<p>Setting an ID number provides a way of identifying the activity for grade calculation purposes. If the activity is not included in any grade calculation then the ID number field can be left blank. The ID number for an activity-based grade item may be set on the update activity page.</p>
--- /dev/null
+<h1>Item info</h1>
+<p>A space for entering information about the item. Text entered does not appear anywhere else.</p>
--- /dev/null
+<h1>Keep the highest</h1>
+<p>If set, this option will only keep the X highest grades, X being the selected value for this option.</p>
--- /dev/null
+<h1>Keep the highest</h1>
+<p>If set, this option will only keep the X highest grades, X being the selected value for this option.</p>
--- /dev/null
+<h1>Linked activity</h1>
+<p>Specifies an optional activity to which this outcome item is linked. This is used to measure student performance on criteria not assessed by the activity grade.</p>
--- /dev/null
+<h1>Grades selected for column averages</h1>
+<p>Whether cells with no grade should be included when calculating the mean for each column.</p>
--- /dev/null
+<h1>Multiplicator</h1>
+<p>Factor by which all grades for this grade item will be multiplied.</p>
--- /dev/null
+<h1>Outcome</h1>
+<p>Specifies the Outcome which this grade item will represent in the gradebook. Only outcomes associated with this course and site-wide outcomes are available</p>
--- /dev/null
+<h1>Standard outcomes</h1>
+<p>A Standard outcome is available site-wide, for all courses.</p>
--- /dev/null
+<h1>Overridden</h1>
+<p>When on, the overridden flag prevents any future attempts to automatically adjust the value of the grade. This flag is often set internally by the gradebook, but can be switched on and off manually using this form element.</p>
--- /dev/null
+<h1>Override site defaults</h1>
+<p>Tick this checkbox to enable the overriding of the site defaults for the display of grades in the gradebook. This activates form elements allowing you to define the grade letters and boundaries of your choice.</p>
--- /dev/null
+<h1>Offset</h1>
+<p>Number that will be added to every grade for this grade item, after the Multiplicator is applied.</p>
--- /dev/null
+<h1>Quick grading</h1>
+<p>Quick Grading adds a text input element in each grade cell on the grader report, allowing you to edit many grades at once. You can then click the Update button to perform all these changes at once, instead of one at a time.</p>
--- /dev/null
+<h1>Decimals shown in ranges</h1>
+<p>Specifies the number of decimal points to display for each range. This setting may be overridden per grading item.</p>
--- /dev/null
+<h1>Range display type</h1>
+<p>Specifies how to display ranges. If Inherit is selected, the display type for each column is used.</p>
--- /dev/null
+<h1>Scale</h1>
+<p>When using the scale grade type, a scale can be selected. The scale for an activity-based grade item is selected on the update activity page.</p>
--- /dev/null
+<h1>Standard scales</h1>
+<p>A standard scale is one that is available site-wide, for all courses.</p>
--- /dev/null
+<h1>Show activity icons</h1>
+<p>Whether to show activity icons next to activity names.</p>
--- /dev/null
+<h1>Show averages</h1>
+<p>Whether to show the mean for each column.</p>
--- /dev/null
+<h1>Show calculations</h1>
+<p>Whether to show calculator icons near each grade item and category, tooltips over calculated items and a visual indicator that a column is calculated.</p>
--- /dev/null
+<h1>Show show/hide icons</h1>
+<p>Whether to show a show/hide icon near each grade (controlling its visibility to the user).</p>
--- /dev/null
+<h1>Show feedback</h1>
+<p>Whether to show a feedback icon (for adding/editing) near each grade.</p>
--- /dev/null
+<h1>Show groups</h1>
+<p>Whether to show the mean for each group.</p>
--- /dev/null
+<h1>Show hidden items</h1>
+<p>Specifies how hidden grade items are shown. If Hide is selected, they are hidden completely. If Show is selected, the hidden grade item row is shown in grey with the grade hidden completely. If \"Only hidden until\" is selected, grade items with a \"hide until\" date set are shown in grey with the grades hidden completely until the set date, after which the whole item is shown.</p>
--- /dev/null
+<h1>Show locks</h1>
+<p>Whether to show a lock/unlock icon near each grade.</p>
--- /dev/null
+<h1>Show number of grades</h1>
+<p>Whether to show the number of grades used when calculating the mean in brackets after each average, for example 45 (34).</p>
--- /dev/null
+<h1>Show quick feedback</h1>
+<p>Quick Feedback adds a text input element in each grade cell on the grader report, allowing you to edit the feedback for many grades at once. You can then click the Update button to perform all these changes at once, instead of one at a time.</p>
--- /dev/null
+<h1>Quick grading</h1>
+<p>Quick Grading adds a text input element in each grade cell on the grader report, allowing you to edit many grades at once. You can then click the Update button to perform all these changes at once, instead of one at a time.</p>
--- /dev/null
+<h1>Show ranges</h1>
+<p>Whether to show the range of grades for each column in an additional row.</p>
--- /dev/null
+<h1>Show rank</h1>
+<p>Whether to show the position of the user in relation to the rest of the class, for each grade item.</p>
--- /dev/null
+<h1>Show user Id numbers</h1>
+<p>Whether to show user id numbers in an additional column.</p>
--- /dev/null
+<h1>Students per page</h1>
+<p>The number of students to display per page in the grader report.</p>
--- /dev/null
+<h1>User key</h1>
+<p>Grade publishing is a way of exporting grades via a URL without being logged in to Moodle. A user key is a randomly generated series of characters which is appended to the URL for security purposes.</p>
+
+<p>To publish grades, select "Create a new user key". When the form is submitted, a new user key is created. Alternatively, a key which was created previously may be selected.
+</p>
--- /dev/null
+<h1>Key IP restriction</h1>
+<p>Enter a specific IP address, or a range of IP addresses that will be the only IP addresses allowed to access this data. Enter nothing to disable IP restriction (not recommended).</p>
--- /dev/null
+<h1>Key valid until</h1>
+<p>Select an optional date after which the key will no longer be valid (recommended for added security).</p>
$string['deletekeyconfirm'] = 'Do you really want to delete this user key?';
$string['edituserkey'] = 'Edit user key';
$string['keyiprestriction'] = 'Key IP restriction';
-$string['keyiprestrictionhelp'] = 'Enter a specific IP address, or a range of IP addresses that will be the only IP addresses allowed to access this data. Enter nothing to disable IP restriction (not recommended).';
$string['keymanager'] = 'Key manager';
$string['keyvaliduntil'] = 'Key valid until';
-$string['keyvaliduntilhelp'] = 'Select an optional date after which the key will no longer be valid (recommended for added security).';
$string['keyvalue'] = 'Key value';
$string['newuserkey'] = 'New user key';
$string['userkey'] = 'User key';
-$string['userkeys'] = 'User keys';
-
+$string['userkeys'] = 'User keys';
?>