]> git.mjollnir.org Git - s9y.git/commitdiff
Add span selectors for Carl :)
authorgarvinhicking <garvinhicking>
Wed, 11 Jan 2006 12:37:10 +0000 (12:37 +0000)
committergarvinhicking <garvinhicking>
Wed, 11 Jan 2006 12:37:10 +0000 (12:37 +0000)
plugins/serendipity_plugin_comments/serendipity_plugin_comments.php

index 72db01b03aba6c51fb55b52f493d5d48689fed23..1691d7b6aa0be9a5293cc7c92a15f598d9ba8bf2 100644 (file)
@@ -22,7 +22,7 @@ class serendipity_plugin_comments extends serendipity_plugin
         $propbag->add('description',   PLUGIN_COMMENTS_BLAHBLAH);
         $propbag->add('stackable',     true);
         $propbag->add('author',        'Garvin Hicking/Tadashi Jokagi');
-        $propbag->add('version',       '1.4');
+        $propbag->add('version',       '1.5');
         $propbag->add('requirements',  array(
             'serendipity' => '0.8',
             'smarty'      => '2.6.7',
@@ -195,12 +195,12 @@ class serendipity_plugin_comments extends serendipity_plugin
                 printf(
                   PLUGIN_COMMENTS_ABOUT,
 
-                  $user,
+                  '<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"
-                      . htmlspecialchars(serendipity_strftime($dateformat, $row['stamp'])) . '<br />' . "\n"
-                      . strip_tags($entry['comment'], '<br /><img>')
+                      . '<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>' . '</span>')
                       . '<br /><br /><br />' . "\n\n"
                 );
             }