comments MDL-19118 Fixed XML strict errors

This commit is contained in:
Sam Hemelryk 2010-01-28 05:32:15 +00:00
parent 505575293e
commit 8b5f5e8181
2 changed files with 2 additions and 2 deletions

View File

@ -76,6 +76,6 @@ if (empty($action)) {
$manager->print_comments($page);
echo '<div class="mdl-align">';
echo '<button id="comments_delete">'.get_string('delete').'</button>';
echo '<div>';
echo '</div>';
}
echo $OUTPUT->footer();

View File

@ -83,7 +83,7 @@ class comment_manager {
$count = $DB->count_records_sql('SELECT COUNT(*) FROM {comments} c');
$comments = $this->get_comments($page);
$table = new html_table();
$table->head = array ('<input type="checkbox" id="comment_select_all"/>', 'author', 'content', 'action');
$table->head = array ('<input type="checkbox" id="comment_select_all" />', 'author', 'content', 'action');
$table->align = array ('left', 'left', 'left', 'left');
$table->width = "95%";
$table->data = array();