Instead of
<{php}>
if( ! empty( $_SESSION['redirect_message'] ) ) {
if( empty( $this->_tpl_vars['xoops_lblocks'] ) ) $this->_tpl_vars['xoops_lblocks'] = array() ;
array_unshift( $this->_tpl_vars['xoops_lblocks'] , array( 'title' => 'Message' , 'content' => $_SESSION['redirect_message'] , 'weight' => 0 ) ) ;
$this->_tpl_vars['xoops_showlblock'] = 1 ;
unset( $_SESSION['redirect_message'] ) ;
}
<{/php}>
I would suggest simply using the smarty stuff directly - and position the message in its own div or something (matter of taste, I guess)
<{if $smarty.session.redirect_message != ""}>
<div class="message"><{$smarty.session.redirect_message}></div>
<{/if}>
In the left block, I find that it hides too much.
edit: OK, this will take a little more as the redirect_message is never removed from the session variables.
Fair 'nuff, carry on