Posted on: 04/17/04 11:04pm
By: Anonymous (grouch)
function COM_showMessage( $msg ) { global $MESSAGE, $_CONF; $retval = ''; if( $msg > 0 ) { $timestamp = strftime( $_CONF['daytime'] ); $retval .= COM_startBlock( $MESSAGE[40] . ' - ' . $timestamp, '', COM_getBlockTemplate( '_msg_block', 'header' )) . '<img src="' . $_CONF['layout_url'] . '/images/sysmessage.gif" border="0" align="top" alt="">' . $MESSAGE[$msg] . '<br><br>' . COM_endBlock( COM_getBlockTemplate( '_msg_block', 'footer' )); } return $retval; }
<!-- sys_msg_header.thtml --> <img srce="{layout_url}/images/sysmessage.gif"><br> <!-- / sys_msg_header.thtml--> <!-- sys_msg_footer.thtml --> <br><br> <!-- sys_msg_footer.thtml -->
Posted on: 04/18/04 12:16am
By: Blaine
Posted on: 04/18/04 12:55am
By: Anonymous (grouch)
$retval .= COM_startBlock( $MESSAGE[40] . ' - ' . $timestamp, '', COM_getBlockTemplate( '_msg_block', 'header' )) . COM_getBlockTemplate( 'sys_msgheader', 'header') . $MESSAGE[$msg] . COM_getBlockTemplate( 'sys_msgfooter', 'footer') . COM_endBlock( COM_getBlockTemplate( '_msg_block', 'footer' ));