[geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.667,1.668
Dirk Haun
dhaun at qs1489.pair.com
Sat Dec 29 07:26:51 EST 2007
Update of /cvsroot/geeklog/Geeklog-1.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv35365/public_html
Modified Files:
lib-common.php
Log Message:
Fixed HTML validation error (pointed out by Eric Warren)
Index: lib-common.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v
retrieving revision 1.667
retrieving revision 1.668
diff -C2 -d -r1.667 -r1.668
*** lib-common.php 28 Dec 2007 13:34:18 -0000 1.667
--- lib-common.php 29 Dec 2007 12:26:49 -0000 1.668
***************
*** 4344,4351 ****
*/
! function COM_showMessage($msg, $plugin='') {
global $_CONF, $MESSAGE, $_IMAGE_TYPE;
$retval = '';
$timestamp = strftime( $_CONF['daytime'] );
if($msg > 0) {
--- 4344,4353 ----
*/
! function COM_showMessage($msg, $plugin = '')
! {
global $_CONF, $MESSAGE, $_IMAGE_TYPE;
$retval = '';
+
$timestamp = strftime( $_CONF['daytime'] );
if($msg > 0) {
***************
*** 4368,4375 ****
COM_getBlockTemplate( '_msg_block', 'header' ))
. '<p style="padding:5px"><img src="' . $_CONF['layout_url']
! . '/images/sysmessage.' . $_IMAGE_TYPE . '" border="0" align="left"'
! . ' alt="" style="padding-right:5px; padding-bottom:3px"' . XHTML . '>'
. $message . '</p>'
. COM_endBlock( COM_getBlockTemplate( '_msg_block', 'footer' ));
return $retval;
}
--- 4370,4378 ----
COM_getBlockTemplate( '_msg_block', 'header' ))
. '<p style="padding:5px"><img src="' . $_CONF['layout_url']
! . '/images/sysmessage.' . $_IMAGE_TYPE . '" alt="" '
! . 'style="padding-right:5px; padding-bottom:3px; border:none; float:left;"' . XHTML . '>'
. $message . '</p>'
. COM_endBlock( COM_getBlockTemplate( '_msg_block', 'footer' ));
+
return $retval;
}
More information about the geeklog-cvs
mailing list