|
From: Jon O. <jon...@us...> - 2008-01-30 09:11:34
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7690/modules/mx_coreblocks Modified Files: mx_blockcp.php mx_site_log.php Log Message: BlockCP - updated what features should be adminCP options only Schemas - no point updating the module INSERTS with full spec Sitelog - updated sitemap and pagination mod_rewrite - exceptions when in need of technical full paths...eg for module editing actions Nav menu - intial fixes while simplifying this module with less parameters and more tpl freedom ...more to come ;) Tinymce updates wherever needed - admin has full interface, users less options. mx_users - bugfix for renaming users Index: mx_site_log.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_site_log.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** mx_site_log.php 9 Sep 2007 16:49:36 -0000 1.16 --- mx_site_log.php 30 Jan 2008 09:10:57 -0000 1.17 *************** *** 95,98 **** --- 95,99 ---- // Find all blocks, sorted by edited_time // + /* $sql = "SELECT blk.block_id FROM " . BLOCK_TABLE . " blk *************** *** 100,103 **** --- 101,110 ---- AND blk.block_time <> '' AND blk.block_editor_id > 0"; + */ + + $sql = "SELECT blk.block_id + FROM " . BLOCK_TABLE . " blk + WHERE blk.block_time <> '' + AND blk.block_editor_id > 0"; if ( $log_time_filter_lo != 'no' && !empty($log_time_filter_lo) ) *************** *** 106,110 **** } ! $sql .= " ORDER BY block_time DESC LIMIT 5"; if ( !$result = $db->sql_query( $sql ) ) --- 113,117 ---- } ! $sql .= " ORDER BY block_time"; if ( !$result = $db->sql_query( $sql ) ) *************** *** 266,270 **** $db->sql_freeresult($result); ! $base_url = mx_this_url(); $template->assign_vars( array( --- 273,277 ---- $db->sql_freeresult($result); ! $base_url = mx_this_url('modrewrite=no'); $template->assign_vars( array( Index: mx_blockcp.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_blockcp.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** mx_blockcp.php 9 Sep 2007 16:49:36 -0000 1.18 --- mx_blockcp.php 30 Jan 2008 09:10:57 -0000 1.19 *************** *** 220,226 **** if ($is_admin) { ! $mx_dynamic_select = new mx_dynamic_select(); ! $mx_dynamic_select->generate($block_id); ! $blockcptemplate->assign_block_vars('dynamic_select', array()); } --- 220,229 ---- if ($is_admin) { ! // ! // Removed from here atm ! // ! // $mx_dynamic_select = new mx_dynamic_select(); ! // $mx_dynamic_select->generate($block_id); ! // $blockcptemplate->assign_block_vars('dynamic_select', array()); } |