MDL-41288 wiki: fix missing .rtl class for deleting comment button and improve page display for deleting comment
This commit is contained in:
committed by
Dan Poltawski
parent
14cdc25731
commit
f7bfb405cb
@@ -1954,7 +1954,8 @@ class page_wiki_deletecomment extends page_wiki {
|
||||
$deleteurl = new moodle_url('/mod/wiki/instancecomments.php', $optionsyes);
|
||||
$return = new moodle_url('/mod/wiki/comments.php', array('pageid'=>$this->page->id));
|
||||
|
||||
echo html_writer::tag('p', $strdeletecheckfull, array('class' => 'bold'));
|
||||
echo $OUTPUT->container_start('wiki-form-center');
|
||||
echo html_writer::tag('p', $strdeletecheckfull);
|
||||
echo $OUTPUT->container_start(false, 'wiki_deletecommentform');
|
||||
echo '<form class="wiki_deletecomment_yes" action="' . $deleteurl . '" method="post" id="deletecomment">';
|
||||
echo '<div><input type="submit" name="confirmdeletecomment" value="' . get_string('yes') . '" /></div>';
|
||||
@@ -1963,6 +1964,7 @@ class page_wiki_deletecomment extends page_wiki {
|
||||
echo '<div><input type="submit" name="norestore" value="' . get_string('no') . '" /></div>';
|
||||
echo '</form>';
|
||||
echo $OUTPUT->container_end();
|
||||
echo $OUTPUT->container_end();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -146,11 +146,11 @@
|
||||
}
|
||||
|
||||
.wiki_restore_yes, .wiki_deletecomment_yes,
|
||||
.dir-rtl .wiki_restore_no, .wiki_deletecomment_no {
|
||||
.dir-rtl .wiki_restore_no, .dir-rtl .wiki_deletecomment_no {
|
||||
float: left;
|
||||
}
|
||||
.wiki_restore_no, .wiki_deletecomment_no,
|
||||
.dir-rtl .wiki_restore_yes, .wiki_deletecomment_yes {
|
||||
.dir-rtl .wiki_restore_yes, .dir-rtl .wiki_deletecomment_yes {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user