|
From: Jon O. <jon...@us...> - 2005-12-17 00:31:52
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14206/modules/mx_coreblocks Modified Files: mx_includex.php Log Message: lots of updates, all covered in http://www.mx-system.com/forum/viewtopic.php?t=7945 Index: mx_includex.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_includex.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mx_includex.php 23 Oct 2005 18:48:21 -0000 1.7 --- mx_includex.php 17 Dec 2005 00:31:43 -0000 1.8 *************** *** 29,35 **** $title = $mx_block->block_info['block_title']; ! $select_row = array('x_listen', 'x_iframe', 'x_textfile', 'x_multimedia', 'x_pic', 'x_format'); ! ! $iframe_mode = $select_row[$mx_block->get_parameters( 'x_mode' )]; $x_mode = ( $iframe_mode == 'x_listen' && !empty($HTTP_GET_VARS['x_mode']) ? $HTTP_GET_VARS['x_mode'] : $iframe_mode ); --- 29,33 ---- $title = $mx_block->block_info['block_title']; ! $iframe_mode = $mx_block->get_parameters( 'x_mode' ); $x_mode = ( $iframe_mode == 'x_listen' && !empty($HTTP_GET_VARS['x_mode']) ? $HTTP_GET_VARS['x_mode'] : $iframe_mode ); |