[geeklog-cvs] geeklog: Fix to search page now uses XHTML when set, patch provi...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Wed Nov 4 19:56:15 EST 2009
changeset 7439:57bcdd15e6d4
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/57bcdd15e6d4
user: Sami Barakat <sami at sbarakat.co.uk>
date: Thu Nov 05 00:53:29 2009 +0000
description:
Fix to search page now uses XHTML when set, patch provided by taca (bug #0001022)
diffstat:
system/classes/search.class.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r af60253641ad -r 57bcdd15e6d4 system/classes/search.class.php
--- a/system/classes/search.class.php Thu Nov 05 00:43:55 2009 +0000
+++ b/system/classes/search.class.php Thu Nov 05 00:53:29 2009 +0000
@@ -483,8 +483,8 @@
{
$obj->setStyle('inline');
$obj->setField('', LF_ROW_NUMBER, $show_num, false, '<b>%d.</b>');
- $obj->setField($LANG09[16], 'title', true, true, '%s<br>');
- $obj->setField('', 'description', true, false, '%s<br>');
+ $obj->setField($LANG09[16], 'title', true, true, '%s<br' . XHTML . '>');
+ $obj->setField('', 'description', true, false, '%s<br' . XHTML . '>');
$obj->setField('', '_html', true, false, '<span style="color:green;">');
$obj->setField($LANG09[18], 'uid', $show_user, true, $LANG01[104].' %s ');
$obj->setField($LANG09[17], 'date', true, true, $LANG01[36].' %s');
More information about the geeklog-cvs
mailing list