|
From: Jon O. <jon...@us...> - 2005-09-06 18:52:05
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4716/modules/mx_navmenu/admin Modified Files: mx_module_defs.php Log Message: Finalizing core 2.8 ;) Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/admin/mx_module_defs.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_module_defs.php 21 Aug 2005 21:40:51 -0000 1.3 --- mx_module_defs.php 6 Sep 2005 18:51:57 -0000 1.4 *************** *** 32,36 **** // The following flags are class specific options // ! //define('MX_ALL_DATA' , -1); // Flag - write all data class mx_module_defs --- 32,42 ---- // The following flags are class specific options // ! ! // Flow control [...1473 lines suppressed...] ! } ! $i = 10; ! $inc = 10; ! ! while( $row = $db->sql_fetchrow($result) ) ! { ! $sql = "UPDATE $table ! SET $orderfield = $i ! WHERE $idfield = " . $row[$idfield]; ! if( !($db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, "Couldn't update order fields", "", __LINE__, __FILE__, $sql); } ! $i += 10; ! } ! } } ?> \ No newline at end of file |