|
From: Jon O. <jon...@us...> - 2006-07-05 22:49:23
|
Update of /cvsroot/mxbb/mx_linkdb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv6984/modules/mx_linkdb Modified Files: db_install.php linkdb.php Log Message: massive update Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/db_install.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** db_install.php 3 Jul 2006 20:11:30 -0000 1.12 --- db_install.php 5 Jul 2006 22:49:20 -0000 1.13 *************** *** 38,42 **** if ( MXBB_27x ) { ! include_once( $mx_root_path . 'modules/mx_pafiledb/pafiledb/includes/functions_mx.' . $phpEx ); } --- 38,42 ---- if ( MXBB_27x ) { ! include_once( $mx_root_path . 'modules/mx_linkdb/linkdb/includes/functions_mx.' . $phpEx ); } *************** *** 197,204 **** "INSERT INTO " . $mx_table_prefix . "linkdb_config VALUES ('sort_order', 'DESC')", "INSERT INTO " . $mx_table_prefix . "linkdb_config VALUES ('pagination', '10')", "INSERT INTO " . $mx_table_prefix . "linkdb_config VALUES ('cat_col', '2')", "INSERT INTO " . $mx_table_prefix . "linkdb_config VALUES ('settings_newdays', '1')", - // New -------------------- // Comments --- 197,204 ---- "INSERT INTO " . $mx_table_prefix . "linkdb_config VALUES ('sort_order', 'DESC')", "INSERT INTO " . $mx_table_prefix . "linkdb_config VALUES ('pagination', '10')", + "INSERT INTO " . $mx_table_prefix . "linkdb_config VALUES ('cat_col', '2')", "INSERT INTO " . $mx_table_prefix . "linkdb_config VALUES ('settings_newdays', '1')", // New -------------------- // Comments Index: linkdb.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** linkdb.php 1 Jul 2006 21:32:18 -0000 1.10 --- linkdb.php 5 Jul 2006 22:49:20 -0000 1.11 *************** *** 58,62 **** if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Could not query PafileDB module information", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ); --- 58,62 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Could not query linkdb module information", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ); *************** *** 115,124 **** // if the database disabled give them a nice message // =================================================== ! /* ! if ( intval( $pafiledb_config['module_enable'] ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['pafiledb_disable'] ); } - */ // --- 115,122 ---- // if the database disabled give them a nice message // =================================================== ! if ( intval( $linkdb_config['module_enable'] ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['linkdb_disable'] ); } // *************** *** 144,148 **** $linkdb->modules[$actions[$action]]->main( $action ); ! linkdb_page_header(); // --- 142,146 ---- $linkdb->modules[$actions[$action]]->main( $action ); ! $linkdb_functions->page_header(); // *************** *** 153,157 **** $template->pparse( 'body' ); ! linkdb_page_footer(); if ( !$is_block ) --- 151,155 ---- $template->pparse( 'body' ); ! $linkdb_functions->page_footer(); if ( !$is_block ) |