qtype description: MDL-16863 Put back edit icon next to descriptions for teachers.
This commit is contained in:
@@ -59,8 +59,9 @@ class description_qtype extends default_questiontype {
|
||||
if (question_has_capability_on($question, 'edit')) {
|
||||
$stredit = get_string('edit');
|
||||
$linktext = '<img src="'.$CFG->pixpath.'/t/edit.gif" alt="'.$stredit.'" />';
|
||||
$editlink = link_to_popup_window('/question/question.php?id='.$question->id.$cmorcourseid,
|
||||
'editquestion', $linktext, 450, 550, $stredit, '', true);
|
||||
$editlink = link_to_popup_window('/question/question.php?inpopup=1&id=' .
|
||||
$question->id . $cmorcourseid, 'editquestion',
|
||||
$linktext, false, false, $stredit, '', true);
|
||||
}
|
||||
|
||||
$questiontext = $this->format_text($question->questiontext, $question->questiontextformat, $cmoptions);
|
||||
|
||||
@@ -2686,11 +2686,12 @@ body.notes .notesgroup {
|
||||
}
|
||||
.que .content {
|
||||
float: left;
|
||||
margin: 0;
|
||||
margin: 0.5em 0;
|
||||
width: 88%;
|
||||
}
|
||||
.que.description .info {
|
||||
display: none;
|
||||
margin: 0.5em 0 0.5em 0.2em;
|
||||
width: 1em;
|
||||
}
|
||||
.que.description .content,
|
||||
.que.description .generalfeedback {
|
||||
|
||||
Reference in New Issue
Block a user