MDL-13895 incorrect title and alt on grade edit icon in gradebook reports; merged from MOODLE_19_STABLE

This commit is contained in:
skodak 2008-03-11 23:59:55 +00:00
parent 093c15be54
commit 05aba805bb

View File

@ -933,10 +933,10 @@ class grade_structure {
}
}
static $stredit = null;
static $strfeedback = null;
if (is_null($stredit)) {
$stredit = get_string('edit');
static $streditgrade = null;
if (is_null($streditgrade)) {
$streditgrade = get_string('editgrade', 'grades');
$strfeedback = get_string('feedback');
}
@ -967,6 +967,7 @@ class grade_structure {
break;
case 'grade':
$stredit = $streditgrade;
if (empty($object->id)) {
$url = $CFG->wwwroot.'/grade/edit/tree/grade.php?courseid='.$this->courseid.'&itemid='.$object->itemid.'&userid='.$object->userid;
} else {