]> git.mjollnir.org Git - s9y.git/commitdiff
* Fix displaying entry title in the backend section exactly like
authorgarvinhicking <garvinhicking>
Wed, 2 Jan 2008 10:12:57 +0000 (10:12 +0000)
committergarvinhicking <garvinhicking>
Wed, 2 Jan 2008 10:12:57 +0000 (10:12 +0000)
      in the frontend, thanks to Alex (garvinhicking)

docs/NEWS
include/admin/comments.inc.php

index 1de5d462c72a97c7b93eb56e62cf612986536401..1a6f509b48591c92ce225b50072b056960397446 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,9 @@
 Version 1.3 ()
 ------------------------------------------------------------------------
 
+    * Fix displaying entry title in the backend section exactly like
+      in the frontend, thanks to Alex (garvinhicking)
+
     * Added hooks to trackback listing in order to let plugins change 
       it (the avatar plugin in example) (brockhaus)
 
index 5f294d71274582dc88d47adb49e5ca4e2a9aaea6..53050a0f434c9740cefdb5ab50a61fee71ad0fca 100644 (file)
@@ -406,7 +406,7 @@ foreach ($sql as $rs) {
             <img style="width: 22px; height: 22px; border: 0px; padding-right: 4px; vertical-align: middle" src="<?php echo serendipity_getTemplateFile('admin/img/admin_msg_note.png'); ?>" alt="" />
 <?php   }?>
         <a name="c<?php echo $comment['id'] ?>"></a>
-        <?php echo ($comment['type'] == 'NORMAL' ? COMMENT : ($comment['type'] == 'TRACKBACK' ? TRACKBACK : PINGBACK )) . ' #'. $comment['id'] .', '. IN_REPLY_TO .' <strong><a href="' . $comment['entry_url'] . '">'. $comment['title'] .'</a></strong>, '. ON . ' ' . serendipity_mb('ucfirst', serendipity_strftime('%b %e %Y, %H:%M', $comment['timestamp']))?>
+        <?php echo ($comment['type'] == 'NORMAL' ? COMMENT : ($comment['type'] == 'TRACKBACK' ? TRACKBACK : PINGBACK )) . ' #'. $comment['id'] .', '. IN_REPLY_TO .' <strong><a href="' . $comment['entry_url'] . '">'. htmlspecialchars($comment['title']) .'</a></strong>, '. ON . ' ' . serendipity_mb('ucfirst', serendipity_strftime('%b %e %Y, %H:%M', $comment['timestamp']))?>
     </td>
 </tr>
 <tr>