mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
string fix and empty lines
This commit is contained in:
parent
e5689267df
commit
8b034b6ddb
2 changed files with 1 additions and 3 deletions
|
@ -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>';
|
||||
|
|
|
@ -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!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue