string fix and empty lines
This commit is contained in:
@@ -1115,10 +1115,8 @@ function data_print_comment($data, $commentid) {
|
||||
// Print whole message
|
||||
echo format_text($comment->content);
|
||||
|
||||
|
||||
/// Commands
|
||||
|
||||
/// Hack for allow to edit news posts those are not displayed yet until they are displayed
|
||||
echo '<div class="commands">';
|
||||
if (data_isowner($comment->recordid) or isteacher($course->id)) {
|
||||
echo '<a href="'.$CFG->wwwroot.'/mod/data/comment.php?mode=edit&commentid='.$comment->id.'">'.$stredit.'</a>';
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
$strrating = get_string("rating", "data");
|
||||
$strname = get_string("name");
|
||||
|
||||
print_header("$strratings: ".format_string($post->subject));
|
||||
print_header($strratings);
|
||||
|
||||
if (!$ratings = data_get_ratings($record->id, $sort)) {
|
||||
error("No ratings for this record!");
|
||||
|
||||
Reference in New Issue
Block a user