]> git.mjollnir.org Git - s9y.git/commitdiff
add a wrapping div
authorgarvinhicking <garvinhicking>
Mon, 6 Feb 2006 18:17:01 +0000 (18:17 +0000)
committergarvinhicking <garvinhicking>
Mon, 6 Feb 2006 18:17:01 +0000 (18:17 +0000)
plugins/serendipity_plugin_comments/serendipity_plugin_comments.php

index ae4f8d529df88422870f8e943e2aa8575876faa1..8919203747ec86defa40db81e7c87337de189d65 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/Judebert');
-        $propbag->add('version',       '1.6');
+        $propbag->add('version',       '1.7');
         $propbag->add('requirements',  array(
             'serendipity' => '0.8',
             'smarty'      => '2.6.7',
@@ -151,9 +151,6 @@ class serendipity_plugin_comments extends serendipity_plugin
                         ' . $viewtype . '
             ORDER BY    c.timestamp DESC
             LIMIT ' . $max_entries;
-?>
-<div style="margin: 0px; padding: 0px; text-align: left;">
-<?php
         $sql = serendipity_db_query($q);
 
         if ($sql && is_array($sql)) {
@@ -198,7 +195,7 @@ class serendipity_plugin_comments extends serendipity_plugin
                                'email'   => $row['comment_email']);
                 serendipity_plugin_api::hook_event('frontend_display', $entry);
                 printf(
-                  PLUGIN_COMMENTS_ABOUT,
+                  '<div class="plugin_comment_wrap">' . PLUGIN_COMMENTS_ABOUT . '</div>',
 
                   '<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']) . '">'
@@ -217,4 +214,3 @@ class serendipity_plugin_comments extends serendipity_plugin
 }
 
 /* vim: set sts=4 ts=4 expandtab : */
-?>