|
From: Jon O. <jon...@us...> - 2008-03-09 23:39:18
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18258/mx_textblocks Modified Files: mx_textblock_bbcode.php mx_textblock_html.php mx_textblock_multi.php Log Message: Virtual pages See notes is Dev area Index: mx_textblock_html.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/mx_textblock_html.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** mx_textblock_html.php 4 Feb 2008 16:55:12 -0000 1.17 --- mx_textblock_html.php 9 Mar 2008 23:39:14 -0000 1.18 *************** *** 16,19 **** --- 16,35 ---- // + // Virtual Blog Mode + // + if ($mx_page->is_virtual) + { + if ($mx_request_vars->is_request('virtual')) + { + $mx_block->virtual_init($mx_request_vars->get('virtual', MX_TYPE_INT, 0), true); + } + else + { + //$mx_block->show_title = false; + //$mx_block->show_block = false; + } + } + + // // Read Block Settings // Index: mx_textblock_multi.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/mx_textblock_multi.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** mx_textblock_multi.php 9 Feb 2008 12:50:41 -0000 1.23 --- mx_textblock_multi.php 9 Mar 2008 23:39:14 -0000 1.24 *************** *** 16,19 **** --- 16,35 ---- // + // Virtual Blog Mode + // + if ($mx_page->is_virtual) + { + if ($mx_request_vars->is_request('virtual')) + { + $mx_block->virtual_init($mx_request_vars->get('virtual', MX_TYPE_INT, 0), true); + } + else + { + //$mx_block->show_title = false; + //$mx_block->show_block = false; + } + } + + // // Read Block Settings // Index: mx_textblock_bbcode.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/mx_textblock_bbcode.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** mx_textblock_bbcode.php 4 Feb 2008 16:55:12 -0000 1.17 --- mx_textblock_bbcode.php 9 Mar 2008 23:39:14 -0000 1.18 *************** *** 16,19 **** --- 16,35 ---- // + // Virtual Blog Mode + // + if ($mx_page->is_virtual) + { + if ($mx_request_vars->is_request('virtual')) + { + $mx_block->virtual_init($mx_request_vars->get('virtual', MX_TYPE_INT, 0), true); + } + else + { + //$mx_block->show_title = false; + //$mx_block->show_block = false; + } + } + + // // Read Block Settings // |