]> git.mjollnir.org Git - s9y.git/commitdiff
Modified generated code for serendipity_plugin_comments.
authoryellowled <yellowled>
Wed, 9 Apr 2008 22:57:42 +0000 (22:57 +0000)
committeryellowled <yellowled>
Wed, 9 Apr 2008 22:57:42 +0000 (22:57 +0000)
plugins/serendipity_plugin_comments/serendipity_plugin_comments.php

index 749dd662a6ce43bddb3775f81e0a3a0ebee450a0..d3173ec17ba349b5e69fe393b3f24a653038c96a 100644 (file)
@@ -222,13 +222,12 @@ class serendipity_plugin_comments extends serendipity_plugin
                 printf(
                   '<div class="plugin_comment_wrap">' . PLUGIN_COMMENTS_ABOUT . '</div>',
 
-                  '<span class="plugin_comment_author">' . $user . '</span>',
+                  '<div class="plugin_comment_subject"><span class="plugin_comment_author">' . $user . '</span>',
                   ' <a class="highlight" href="' . serendipity_archiveURL($row['entry_id'], $row['subject'], 'baseURL', true, array('timestamp' => $row['entrystamp'])) .'#c' . $row['comment_id'] . '" title="' . htmlspecialchars($row['subject']) . '">'
                       . htmlspecialchars($row['subject'])
-                      . '</a><br />' . "\n"
-                      . '<span class="plugin_comment_date">' . htmlspecialchars(serendipity_strftime($dateformat, $row['stamp'])) . '</span><br />' . "\n"
-                      . '<span class="plugin_comment_body">' . strip_tags($entry['comment'], '<br /><img><a>') . '</span>'
-                      . '<br /><br /><br />' . "\n\n"
+                      . '</a></div>' . "\n"
+                      . '<div class="plugin_comment_date">' . htmlspecialchars(serendipity_strftime($dateformat, $row['stamp'])) . '</div>' . "\n"
+                      . '<div class="plugin_comment_body">' . strip_tags($entry['comment'], '<br /><img><a>') . '</div>' . "\n\n"
                 );
             }
         }