mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Removed some inline styles
This commit is contained in:
parent
d30867b0bf
commit
039c0ec444
1 changed files with 2 additions and 2 deletions
|
@ -2651,7 +2651,7 @@ function forum_print_posts_threaded($parent, $course, $depth, $ratings, $reply)
|
||||||
if ($posts = forum_get_child_posts($parent)) {
|
if ($posts = forum_get_child_posts($parent)) {
|
||||||
foreach ($posts as $post) {
|
foreach ($posts as $post) {
|
||||||
|
|
||||||
echo '<div style="margin-left:20px">';
|
echo '<div class="forumpostindent">';
|
||||||
if ($depth > 0) {
|
if ($depth > 0) {
|
||||||
$ownpost = ($USER->id == $post->userid);
|
$ownpost = ($USER->id == $post->userid);
|
||||||
if (forum_print_post($post, $course, $ownpost, $reply, $link, $ratings)) {
|
if (forum_print_post($post, $course, $ownpost, $reply, $link, $ratings)) {
|
||||||
|
@ -2690,7 +2690,7 @@ function forum_print_posts_nested($parent, $course, $ratings, $reply) {
|
||||||
$ownpost = ($USER->id == $post->userid);
|
$ownpost = ($USER->id == $post->userid);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<div style="margin-left:20px">';
|
echo '<div class="forumpostindent">';
|
||||||
if (forum_print_post($post, $course, $ownpost, $reply, $link, $ratings)) {
|
if (forum_print_post($post, $course, $ownpost, $reply, $link, $ratings)) {
|
||||||
$ratingsmenuused = true;
|
$ratingsmenuused = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue