From: <w4...@us...> - 2002-09-22 10:37:46
|
Update of /cvsroot/xoops/xoops-current/html/modules/headlines/blocks In directory usw-pr-cvs1:/tmp/cvs-serv16398/html/modules/headlines/blocks Modified Files: headlines.php Log Message: removed the <p></p> for have the xhtml standard Index: headlines.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/headlines/blocks/headlines.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** headlines.php 15 Jul 2002 08:13:17 -0000 1.1.1.1 --- headlines.php 22 Sep 2002 10:37:43 -0000 1.2 *************** *** 31,35 **** while (list($hid, $sitename, $url, $headlinesurl, $status) = $xoopsDB->fetchRow($result)) { $cache_file = "newsheadline-$hid.cache"; ! $block['content'] .= "<p>"; // fsockopen was ok the last time, so do it again if ( $status == 2 ) { --- 31,35 ---- while (list($hid, $sitename, $url, $headlinesurl, $status) = $xoopsDB->fetchRow($result)) { $cache_file = "newsheadline-$hid.cache"; ! $block['content'] .= ""; // fsockopen was ok the last time, so do it again if ( $status == 2 ) { *************** *** 45,49 **** $block['content'] .= $synd->getHtml(true); } ! $block['content'] .= "</p>"; // set status to 2(ok) for headlines that passed fsockopen or used cache $xoopsDB->queryF("UPDATE ".$xoopsDB->prefix("headlines")." SET status=2 WHERE hid=$hid"); --- 45,49 ---- $block['content'] .= $synd->getHtml(true); } ! $block['content'] .= ""; // set status to 2(ok) for headlines that passed fsockopen or used cache $xoopsDB->queryF("UPDATE ".$xoopsDB->prefix("headlines")." SET status=2 WHERE hid=$hid"); |