2
<{$block.online_total}><br /><br /><{$block.lang_members}>: <{$block.online_members}><br /><{$block.lang_guests}>: <{$block.online_guests}><br /><br /><{$block.online_names}> <a href="javascript:openWithSelfMain('<{$xoops_url}>/misc.php?action=showpopups&type=online','Online',420,350);"><{$block.lang_more}></a>
This is the code for the who's online block template. As you can see, the Smarty Tag <{$block.online_total}> displays the text you want to change. This means that we have to dive into the block generation file and change it there.
The who's online block is generated inthe /modules/system/blocks/system_blocks.php file. There, on line 69, you see the following code:
$block['online_total'] .= ' ('.sprintf(_ONLINEPHRASEX, $mytotal, $xoopsModule->getVar('name')).')';
This code generates the text, starting with the (. You want a linebreak before the opening (, so you'll have to change the code on line 69 to:
$block['online_total'] .= '[color=CC0000]<br />[/color]('.sprintf(_ONLINEPHRASEX, $mytotal, $xoopsModule->getVar('name')).')';
Save the file, reupload to the modules/system/blocks/ folder on your server, and that should do the trick
Herko