You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2005-10-24 20:17:44
|
Update of /cvsroot/mxbb/mx_phpbb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1639/modules/mx_phpbb/admin Modified Files: mx_module_defs.php Log Message: replaced all message_die with mx_message_die Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/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 22 Oct 2005 11:51:36 -0000 1.3 --- mx_module_defs.php 24 Oct 2005 20:17:27 -0000 1.4 *************** *** 106,110 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Couldn't obtain forums information.", "", __LINE__, __FILE__, $sql ); } --- 106,110 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't obtain forums information.", "", __LINE__, __FILE__, $sql ); } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:17:37
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1639/modules/mx_phpbb/includes Modified Files: forum_hack.php Log Message: replaced all message_die with mx_message_die Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** forum_hack.php 23 Oct 2005 18:51:38 -0000 1.6 --- forum_hack.php 24 Oct 2005 20:17:27 -0000 1.7 *************** *** 55,59 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( CRITICAL_ERROR, "Could not query phpbb plugin configuration information", "", __LINE__, __FILE__, $sql ); } else --- 55,59 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query phpbb plugin configuration information", "", __LINE__, __FILE__, $sql ); } else *************** *** 1007,1011 **** if( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql); } --- 1007,1011 ---- if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql); } *************** *** 1086,1090 **** if ( !$db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not update online user record (nr of users)', '', __LINE__, __FILE__, $sql); } --- 1086,1090 ---- if ( !$db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not update online user record (nr of users)', '', __LINE__, __FILE__, $sql); } *************** *** 1094,1098 **** if ( !$db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not update online user record (date)', '', __LINE__, __FILE__, $sql); } } --- 1094,1098 ---- if ( !$db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not update online user record (date)', '', __LINE__, __FILE__, $sql); } } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:17:17
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1468/modules/mx_pafiledb Modified Files: dload.php dload_lists.php dload_quickdl.php Log Message: replaced all message_die with mx_message_die Index: dload_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_lists.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** dload_lists.php 23 Oct 2005 18:51:18 -0000 1.12 --- dload_lists.php 24 Oct 2005 20:16:56 -0000 1.13 *************** *** 73,77 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Could not query PafileDB_toplist module information", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ); --- 73,77 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Could not query PafileDB_toplist module information", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ); Index: dload.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** dload.php 23 Oct 2005 18:51:18 -0000 1.14 --- dload.php 24 Oct 2005 20:16:56 -0000 1.15 *************** *** 73,77 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Could not query PafileDB module information", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ); --- 73,77 ---- 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 ); *************** *** 115,119 **** if ( intval( $pafiledb_config['settings_disable'] ) ) { ! message_die( GENERAL_MESSAGE, $lang['pafiledb_disable'] ); } // =================================================== --- 115,119 ---- if ( intval( $pafiledb_config['settings_disable'] ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['pafiledb_disable'] ); } // =================================================== Index: dload_quickdl.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_quickdl.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** dload_quickdl.php 23 Oct 2005 18:51:18 -0000 1.4 --- dload_quickdl.php 24 Oct 2005 20:16:56 -0000 1.5 *************** *** 39,43 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Could not query PafileDB module information", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ); --- 39,43 ---- 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 ); *************** *** 87,91 **** if ( intval( $pafiledb_config['settings_disable'] ) ) { ! message_die( GENERAL_MESSAGE, $lang['pafiledb_disable'] ); } // =================================================== --- 87,91 ---- if ( intval( $pafiledb_config['settings_disable'] ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['pafiledb_disable'] ); } // =================================================== |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:17:16
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1468/modules/mx_pafiledb/pafiledb/modules Modified Files: pa_category.php pa_download.php pa_email.php pa_file.php pa_license.php pa_mcp.php pa_post_comment.php pa_quickdl.php pa_rate.php pa_search.php pa_stats.php pa_toplist.php pa_user_upload.php pa_viewall.php Log Message: replaced all message_die with mx_message_die Index: pa_viewall.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_viewall.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** pa_viewall.php 1 Oct 2005 14:15:20 -0000 1.10 --- pa_viewall.php 24 Oct 2005 20:16:56 -0000 1.11 *************** *** 86,90 **** if ( !$pafiledb_config['settings_viewall'] ) { ! message_die( GENERAL_MESSAGE, $lang['viewall_disabled'] ); } elseif ( !$this->auth_global['auth_viewall'] ) --- 86,90 ---- if ( !$pafiledb_config['settings_viewall'] ) { ! mx_message_die( GENERAL_MESSAGE, $lang['viewall_disabled'] ); } elseif ( !$this->auth_global['auth_viewall'] ) *************** *** 96,100 **** $message = sprintf( $lang['Sorry_auth_viewall'], $this->auth_global['auth_viewall_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } --- 96,100 ---- $message = sprintf( $lang['Sorry_auth_viewall'], $this->auth_global['auth_viewall_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } Index: pa_download.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_download.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** pa_download.php 1 Oct 2005 14:15:20 -0000 1.11 --- pa_download.php 24 Oct 2005 20:16:56 -0000 1.12 *************** *** 44,48 **** else { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } --- 44,48 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } *************** *** 55,59 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt select download', '', __LINE__, __FILE__, $sql ); } // ========================================================================= --- 55,59 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt select download', '', __LINE__, __FILE__, $sql ); } // ========================================================================= *************** *** 62,66 **** if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } --- 62,66 ---- if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } *************** *** 81,85 **** $message = sprintf( $lang['Sorry_auth_download'], $this->auth[$file_data['file_catid']]['auth_download_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } // ========================================================================= --- 81,85 ---- $message = sprintf( $lang['Sorry_auth_download'], $this->auth[$file_data['file_catid']]['auth_download_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } // ========================================================================= *************** *** 125,129 **** if ( $errored ) { ! message_die( GENERAL_MESSAGE, $lang['Directly_linked'] ); } } --- 125,129 ---- if ( $errored ) { ! mx_message_die( GENERAL_MESSAGE, $lang['Directly_linked'] ); } } *************** *** 136,140 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt select download', '', __LINE__, __FILE__, $sql ); } --- 136,140 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt select download', '', __LINE__, __FILE__, $sql ); } *************** *** 223,227 **** else { ! message_die( GENERAL_MESSAGE, 'Mirror doesn\'t exist' ); } // ========================================================================= --- 223,227 ---- else { ! mx_message_die( GENERAL_MESSAGE, 'Mirror doesn\'t exist' ); } // ========================================================================= *************** *** 236,240 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Update Files table', '', __LINE__, __FILE__, $sql ); } // ========================================================================= --- 236,240 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Update Files table', '', __LINE__, __FILE__, $sql ); } // ========================================================================= *************** *** 264,268 **** if(!send_file_to_browser($real_filename, $mimetype, $physical_filename, $module_root_path . $upload_dir)) { ! message_die(GENERAL_ERROR, $lang['Error_no_download'] . '<br /><br /><b>404 File Not Found:</b> The File <i>' . $real_filename . '</i> does not exist.'); } } --- 264,268 ---- if(!send_file_to_browser($real_filename, $mimetype, $physical_filename, $module_root_path . $upload_dir)) { ! mx_message_die(GENERAL_ERROR, $lang['Error_no_download'] . '<br /><br /><b>404 File Not Found:</b> The File <i>' . $real_filename . '</i> does not exist.'); } } *************** *** 289,293 **** if ( @!file_exists( @$pafiledb_functions->pafiledb_realpath( $filename ) ) ) { ! message_die( GENERAL_ERROR, $lang['Error_no_download'] . '<br /><br /><b>404 File Not Found:</b> The File <i>' . $filename . '</i> does not exist.' ); } else --- 289,293 ---- if ( @!file_exists( @$pafiledb_functions->pafiledb_realpath( $filename ) ) ) { ! mx_message_die( GENERAL_ERROR, $lang['Error_no_download'] . '<br /><br /><b>404 File Not Found:</b> The File <i>' . $filename . '</i> does not exist.' ); } else Index: pa_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_post_comment.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** pa_post_comment.php 1 Oct 2005 14:15:20 -0000 1.10 --- pa_post_comment.php 24 Oct 2005 20:16:56 -0000 1.11 *************** *** 43,47 **** else { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } --- 43,47 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } *************** *** 65,74 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt select download', '', __LINE__, __FILE__, $sql ); } if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } --- 65,74 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt select download', '', __LINE__, __FILE__, $sql ); } if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } *************** *** 87,91 **** $message = sprintf( $lang['Sorry_auth_download'], $this->auth[$file_data['file_catid']]['auth_post_comment_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } --- 87,91 ---- $message = sprintf( $lang['Sorry_auth_download'], $this->auth[$file_data['file_catid']]['auth_post_comment_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 103,107 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } $file_info = $db->sql_fetchrow( $result ); --- 103,107 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } $file_info = $db->sql_fetchrow( $result ); *************** *** 114,128 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt delete comment', '', __LINE__, __FILE__, $sql ); } $this->_pafiledb(); $message = $lang['Comment_deleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( pa_this_mxurl( "action=file&file_id=$file_id" ) ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } else { $message = sprintf( $lang['Sorry_auth_delete'], $this->auth[$cat_id]['auth_upload_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } } --- 114,128 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt delete comment', '', __LINE__, __FILE__, $sql ); } $this->_pafiledb(); $message = $lang['Comment_deleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( pa_this_mxurl( "action=file&file_id=$file_id" ) ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } else { $message = sprintf( $lang['Sorry_auth_delete'], $this->auth[$cat_id]['auth_upload_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } } *************** *** 307,311 **** if ( $length > $pafiledb_config['max_comment_chars'] ) { ! message_die( GENERAL_ERROR, 'Your comment is too long!<br/>The maximum length allowed in characters is ' . $pafiledb_config['max_comment_chars'] . '' ); } --- 307,311 ---- if ( $length > $pafiledb_config['max_comment_chars'] ) { ! mx_message_die( GENERAL_ERROR, 'Your comment is too long!<br/>The maximum length allowed in characters is ' . $pafiledb_config['max_comment_chars'] . '' ); } *************** *** 314,318 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt insert comments', '', __LINE__, __FILE__, $sql ); } --- 314,318 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt insert comments', '', __LINE__, __FILE__, $sql ); } *************** *** 322,326 **** // MX $message = $lang['Comment_posted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( pa_this_mxurl( 'action=file&file_id=' . $file_id ) ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } $this->display( $lang['Download'], 'pa_comment_posting.tpl' ); --- 322,326 ---- // MX $message = $lang['Comment_posted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( pa_this_mxurl( 'action=file&file_id=' . $file_id ) ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } $this->display( $lang['Download'], 'pa_comment_posting.tpl' ); Index: pa_user_upload.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_user_upload.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** pa_user_upload.php 1 Oct 2005 14:15:20 -0000 1.12 --- pa_user_upload.php 24 Oct 2005 20:16:56 -0000 1.13 *************** *** 70,74 **** $message = sprintf( $lang['Sorry_auth_upload'], $this->auth[$cat_id]['auth_upload_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } } --- 70,74 ---- $message = sprintf( $lang['Sorry_auth_upload'], $this->auth[$cat_id]['auth_upload_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } } *************** *** 87,91 **** $message = sprintf( $lang['Sorry_auth_upload'], $this->auth[$cat_id]['auth_upload_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } } --- 87,91 ---- $message = sprintf( $lang['Sorry_auth_upload'], $this->auth[$cat_id]['auth_upload_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } } *************** *** 100,104 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } $file_info = $db->sql_fetchrow( $result ); --- 100,104 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } $file_info = $db->sql_fetchrow( $result ); *************** *** 109,118 **** $this->_pafiledb(); $message = $lang['Filedeleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( pa_this_mxurl( "" ) ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } else { $message = sprintf( $lang['Sorry_auth_delete'], $this->auth[$cat_id]['auth_upload_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } } --- 109,118 ---- $this->_pafiledb(); $message = $lang['Filedeleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( pa_this_mxurl( "" ) ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } else { $message = sprintf( $lang['Sorry_auth_delete'], $this->auth[$cat_id]['auth_upload_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } } *************** *** 187,191 **** */ // MX ! message_die( GENERAL_MESSAGE, $message ); } else --- 187,191 ---- */ // MX ! mx_message_die( GENERAL_MESSAGE, $message ); } else *************** *** 225,229 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } $file_info = $db->sql_fetchrow( $result ); --- 225,229 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } $file_info = $db->sql_fetchrow( $result ); *************** *** 233,237 **** { $message = sprintf( $lang['Sorry_auth_edit'], $this->auth[$cat_id]['auth_upload_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } --- 233,237 ---- { $message = sprintf( $lang['Sorry_auth_edit'], $this->auth[$cat_id]['auth_upload_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } Index: pa_file.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_file.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** pa_file.php 1 Oct 2005 14:15:20 -0000 1.13 --- pa_file.php 24 Oct 2005 20:16:56 -0000 1.14 *************** *** 43,47 **** else { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } // ======================================================= --- 43,47 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } // ======================================================= *************** *** 77,81 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query file info', '', __LINE__, __FILE__, $sql ); } // =================================================== --- 77,81 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query file info', '', __LINE__, __FILE__, $sql ); } // =================================================== *************** *** 84,88 **** if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } $db->sql_freeresult( $result ); --- 84,88 ---- if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } $db->sql_freeresult( $result ); *************** *** 101,105 **** // } $message = sprintf( $lang['Sorry_auth_view'], $this->auth[$file_data['file_catid']]['auth_view_file_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } --- 101,105 ---- // } $message = sprintf( $lang['Sorry_auth_view'], $this->auth[$file_data['file_catid']]['auth_view_file_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } Index: pa_license.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_license.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** pa_license.php 1 Oct 2005 14:15:20 -0000 1.11 --- pa_license.php 24 Oct 2005 20:16:56 -0000 1.12 *************** *** 44,48 **** else { ! message_die( GENERAL_MESSAGE, $lang['License_not_exist'] ); } --- 44,48 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['License_not_exist'] ); } *************** *** 53,57 **** else { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } --- 53,57 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } *************** *** 62,71 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query file info', '', __LINE__, __FILE__, $sql ); } if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } --- 62,71 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query file info', '', __LINE__, __FILE__, $sql ); } if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } *************** *** 84,88 **** $message = sprintf( $lang['Sorry_auth_download'], $this->auth[$file_data['file_catid']]['auth_download_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } --- 84,88 ---- $message = sprintf( $lang['Sorry_auth_download'], $this->auth[$file_data['file_catid']]['auth_download_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 93,102 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query license info for this file', '', __LINE__, __FILE__, $sql ); } if ( !$license = $db->sql_fetchrow( $result ) ) { ! message_die( GENERAL_MESSAGE, $lang['License_not_exist'] ); } --- 93,102 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query license info for this file', '', __LINE__, __FILE__, $sql ); } if ( !$license = $db->sql_fetchrow( $result ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['License_not_exist'] ); } Index: pa_mcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_mcp.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** pa_mcp.php 1 Oct 2005 14:15:20 -0000 1.8 --- pa_mcp.php 24 Oct 2005 20:16:56 -0000 1.9 *************** *** 67,71 **** // } $message = sprintf( $lang['Sorry_auth_mcp'], $this->auth[$cat_id]['auth_mod'] ); ! message_die( GENERAL_MESSAGE, $message ); } --- 67,71 ---- // } $message = sprintf( $lang['Sorry_auth_mcp'], $this->auth[$cat_id]['auth_mod'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 209,213 **** { $message = sprintf( $lang['Sorry_auth_approve'], $this->auth[$cat_id]['auth_mod'] ); ! message_die( GENERAL_MESSAGE, $message ); } } --- 209,213 ---- { $message = sprintf( $lang['Sorry_auth_approve'], $this->auth[$cat_id]['auth_mod'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } } *************** *** 249,253 **** if ( ( !$result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } --- 249,253 ---- if ( ( !$result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } *************** *** 257,261 **** if ( !( $result = $pafiledb_functions->sql_query_limit( $sql, $pafiledb_config['settings_file_page'], $start ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } while ( $row = $db->sql_fetchrow( $result ) ) --- 257,261 ---- if ( !( $result = $pafiledb_functions->sql_query_limit( $sql, $pafiledb_config['settings_file_page'], $start ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } while ( $row = $db->sql_fetchrow( $result ) ) *************** *** 290,294 **** if ( ( !$result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } --- 290,294 ---- if ( ( !$result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } *************** *** 298,302 **** if ( !( $result = $pafiledb_functions->sql_query_limit( $sql, $limit, $temp_start ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } --- 298,302 ---- if ( !( $result = $pafiledb_functions->sql_query_limit( $sql, $limit, $temp_start ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } *************** *** 319,323 **** if ( ( !$result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } --- 319,323 ---- if ( ( !$result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } *************** *** 327,331 **** if ( !( $result = $pafiledb_functions->sql_query_limit( $sql, $limit, $temp_start ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } --- 327,331 ---- if ( !( $result = $pafiledb_functions->sql_query_limit( $sql, $limit, $temp_start ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } Index: pa_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_category.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** pa_category.php 1 Oct 2005 14:15:20 -0000 1.9 --- pa_category.php 24 Oct 2005 20:16:56 -0000 1.10 *************** *** 44,48 **** else { ! message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } --- 44,48 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } *************** *** 124,133 **** $message = sprintf( $lang['Sorry_auth_view'], $this->auth[$cat_id]['auth_read_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } if ( !isset( $this->cat_rowset[$cat_id] ) ) { ! message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } --- 124,133 ---- $message = sprintf( $lang['Sorry_auth_view'], $this->auth[$cat_id]['auth_read_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } if ( !isset( $this->cat_rowset[$cat_id] ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } Index: pa_email.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_email.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** pa_email.php 1 Oct 2005 14:15:20 -0000 1.10 --- pa_email.php 24 Oct 2005 20:16:56 -0000 1.11 *************** *** 44,48 **** else { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } --- 44,48 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } *************** *** 53,62 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query file info', '', __LINE__, __FILE__, $sql ); } if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } --- 53,62 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query file info', '', __LINE__, __FILE__, $sql ); } if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } *************** *** 75,79 **** $message = sprintf( $lang['Sorry_auth_email'], $this->auth[$file_data['file_catid']]['auth_email_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } --- 75,79 ---- $message = sprintf( $lang['Sorry_auth_email'], $this->auth[$file_data['file_catid']]['auth_email_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 83,87 **** if ( !isset( $_POST['sid'] ) || $_POST['sid'] != $userdata['session_id'] ) { ! message_die( GENERAL_ERROR, 'Invalid_session' ); } --- 83,87 ---- if ( !isset( $_POST['sid'] ) || $_POST['sid'] != $userdata['session_id'] ) { ! mx_message_die( GENERAL_ERROR, 'Invalid_session' ); } *************** *** 191,200 **** $message = $lang['Econf'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( pa_this_mxurl( 'action=file&id=' . $file_id ) ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_forum'], '<a href="' . append_sid( $mx_root_path . 'index.' . $phpEx ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } if ( $error ) { ! message_die( GENERAL_MESSAGE, $error_msg ); } } --- 191,200 ---- $message = $lang['Econf'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( pa_this_mxurl( 'action=file&id=' . $file_id ) ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_forum'], '<a href="' . append_sid( $mx_root_path . 'index.' . $phpEx ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } if ( $error ) { ! mx_message_die( GENERAL_MESSAGE, $error_msg ); } } Index: pa_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_search.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** pa_search.php 1 Oct 2005 14:15:20 -0000 1.11 --- pa_search.php 24 Oct 2005 20:16:56 -0000 1.12 *************** *** 50,54 **** $message = sprintf( $lang['Sorry_auth_search'], $this->auth_global['auth_search_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } --- 50,54 ---- $message = sprintf( $lang['Sorry_auth_search'], $this->auth_global['auth_search_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 158,162 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Couldn't obtain list of matching users (searching for: $search_author)", "", __LINE__, __FILE__, $sql ); } --- 158,162 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't obtain list of matching users (searching for: $search_author)", "", __LINE__, __FILE__, $sql ); } *************** *** 172,176 **** else { ! message_die( GENERAL_MESSAGE, $lang['No_search_match'] ); } --- 172,176 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['No_search_match'] ); } *************** *** 181,185 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain matched files list', '', __LINE__, __FILE__, $sql ); } --- 181,185 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain matched files list', '', __LINE__, __FILE__, $sql ); } *************** *** 242,246 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain matched files list', '', __LINE__, __FILE__, $sql ); } --- 242,246 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain matched files list', '', __LINE__, __FILE__, $sql ); } *************** *** 285,289 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain matched files list', '', __LINE__, __FILE__, $sql ); } --- 285,289 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain matched files list', '', __LINE__, __FILE__, $sql ); } *************** *** 379,383 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain file ids', '', __LINE__, __FILE__, $sql ); } --- 379,383 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain file ids', '', __LINE__, __FILE__, $sql ); } *************** *** 395,399 **** else { ! message_die( GENERAL_MESSAGE, $lang['No_search_match'] ); } --- 395,399 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['No_search_match'] ); } *************** *** 420,424 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not delete old search id sessions', '', __LINE__, __FILE__, $sql ); } } --- 420,424 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete old search id sessions', '', __LINE__, __FILE__, $sql ); } } *************** *** 451,455 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not insert search results', '', __LINE__, __FILE__, $sql ); } } --- 451,455 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not insert search results', '', __LINE__, __FILE__, $sql ); } } *************** *** 466,470 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain search results', '', __LINE__, __FILE__, $sql ); } --- 466,470 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain search results', '', __LINE__, __FILE__, $sql ); } *************** *** 515,519 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain search results', '', __LINE__, __FILE__, $sql ); } --- 515,519 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain search results', '', __LINE__, __FILE__, $sql ); } *************** *** 643,647 **** else { ! message_die( GENERAL_MESSAGE, $lang['No_search_match'] ); } } --- 643,647 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['No_search_match'] ); } } Index: pa_quickdl.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_quickdl.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pa_quickdl.php 12 Oct 2005 15:40:20 -0000 1.3 --- pa_quickdl.php 24 Oct 2005 20:16:56 -0000 1.4 *************** *** 146,155 **** $message = sprintf( $lang['Sorry_auth_view'], $this->auth[$pa_cat_id]['auth_read_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } if ( !isset( $this->cat_rowset[$pa_cat_id] ) ) { ! message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } // =================================================== --- 146,155 ---- $message = sprintf( $lang['Sorry_auth_view'], $this->auth[$pa_cat_id]['auth_read_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } if ( !isset( $this->cat_rowset[$pa_cat_id] ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } // =================================================== Index: pa_rate.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_rate.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** pa_rate.php 1 Oct 2005 14:15:20 -0000 1.9 --- pa_rate.php 24 Oct 2005 20:16:56 -0000 1.10 *************** *** 44,48 **** else { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } --- 44,48 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } *************** *** 55,64 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query file info', '', __LINE__, __FILE__, $sql ); } if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } --- 55,64 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query file info', '', __LINE__, __FILE__, $sql ); } if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } *************** *** 77,81 **** $message = sprintf( $lang['Sorry_auth_rate'], $this->auth[$file_data['file_catid']]['auth_rate_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } --- 77,81 ---- $message = sprintf( $lang['Sorry_auth_rate'], $this->auth[$file_data['file_catid']]['auth_rate_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 111,115 **** if ( ( $rating <= 0 ) or ( $rating > 10 ) ) { ! message_die( GENERAL_ERROR, 'Bad submited value' ); } --- 111,115 ---- if ( ( $rating <= 0 ) or ( $rating > 10 ) ) { ! mx_message_die( GENERAL_ERROR, 'Bad submited value' ); } *************** *** 131,135 **** // MX $message = $result_msg . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( pa_this_mxurl( 'action=file&file_id=' . $file_id ) ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_forum'], '<a href="' . append_sid( $mx_root_path . 'index.' . $phpEx ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } else --- 131,135 ---- // MX $message = $result_msg . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( pa_this_mxurl( 'action=file&file_id=' . $file_id ) ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_forum'], '<a href="' . append_sid( $mx_root_path . 'index.' . $phpEx ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } else Index: pa_toplist.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_toplist.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** pa_toplist.php 22 Oct 2005 10:56:15 -0000 1.12 --- pa_toplist.php 24 Oct 2005 20:16:56 -0000 1.13 *************** *** 46,50 **** $message = sprintf( $lang['Sorry_auth_toplist'], $this->auth_global['auth_toplist_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } --- 46,50 ---- $message = sprintf( $lang['Sorry_auth_toplist'], $this->auth_global['auth_toplist_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 106,110 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } --- 106,110 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } *************** *** 257,261 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } --- 257,261 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } *************** *** 385,389 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query category info for parent categories', '', __LINE__, __FILE__, $sql ); } --- 385,389 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query category info for parent categories', '', __LINE__, __FILE__, $sql ); } *************** *** 481,485 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query category info for parent categories', '', __LINE__, __FILE__, $sql ); } } --- 481,485 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query category info for parent categories', '', __LINE__, __FILE__, $sql ); } } Index: pa_stats.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_stats.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** pa_stats.php 1 Oct 2005 14:15:20 -0000 1.12 --- pa_stats.php 24 Oct 2005 20:16:56 -0000 1.13 *************** *** 50,54 **** $message = sprintf( $lang['Sorry_auth_stats'], $this->auth_global['auth_stats_type'] ); ! message_die( GENERAL_MESSAGE, $message ); } --- 50,54 ---- $message = sprintf( $lang['Sorry_auth_stats'], $this->auth_global['auth_stats_type'] ); ! mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 61,65 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } --- 61,65 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } *************** *** 74,78 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } --- 74,78 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } *************** *** 87,91 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } --- 87,91 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } *************** *** 102,106 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } $popular = $db->sql_fetchrow( $result ); --- 102,106 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } $popular = $db->sql_fetchrow( $result ); *************** *** 116,120 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } --- 116,120 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } *************** *** 135,139 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } --- 135,139 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } *************** *** 148,152 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } --- 148,152 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } *************** *** 160,164 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } --- 160,164 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query stat info', '', __LINE__, __FILE__, $sql ); } *************** *** 238,242 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain downloads info', '', __LINE__, __FILE__, $sql ); } --- 238,242 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain downloads info', '', __LINE__, __FILE__, $sql ); } *************** *** 292,296 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain downloads info', '', __LINE__, __FILE__, $sql ); } --- 292,296 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain downloads info', '', __LINE__, __FILE__, $sql ); } |
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1468/modules/mx_pafiledb/pafiledb/includes Modified Files: functions.php functions_comment.php functions_field.php functions_mx.php functions_pafiledb.php template.php Log Message: replaced all message_die with mx_message_die Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** functions.php 1 Oct 2005 14:15:19 -0000 1.16 --- functions.php 24 Oct 2005 20:16:56 -0000 1.17 *************** *** 35,39 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Failed to update pafiledb configuration for $config_name", "", __LINE__, __FILE__, $sql ); } // This beats me??? What for?? --- 35,39 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Failed to update pafiledb configuration for $config_name", "", __LINE__, __FILE__, $sql ); } // This beats me??? What for?? *************** *** 45,49 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Failed to update pafiledb configuration for $config_name", "", __LINE__, __FILE__, $sql ); } } --- 45,49 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Failed to update pafiledb configuration for $config_name", "", __LINE__, __FILE__, $sql ); } } *************** *** 127,131 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query info', '', __LINE__, __FILE__, $sql ); } --- 127,131 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query info', '', __LINE__, __FILE__, $sql ); } *************** *** 270,274 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt query Download configuration', '', __LINE__, __FILE__, $sql ); } --- 270,274 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt query Download configuration', '', __LINE__, __FILE__, $sql ); } *************** *** 299,303 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt query Download URL', '', __LINE__, __FILE__, $sql ); } --- 299,303 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt query Download URL', '', __LINE__, __FILE__, $sql ); } *************** *** 376,380 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not update filesize', '', __LINE__, __FILE__, $sql ); } } --- 376,380 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not update filesize', '', __LINE__, __FILE__, $sql ); } } *************** *** 406,410 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt rating info for the giving file', '', __LINE__, __FILE__, $sql ); } --- 406,410 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt rating info for the giving file', '', __LINE__, __FILE__, $sql ); } *************** *** 555,559 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain ranks information.", '', __LINE__, __FILE__, $sql ); } --- 555,559 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain ranks information.", '', __LINE__, __FILE__, $sql ); } *************** *** 896,900 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query User id', '', __LINE__, __FILE__, $sql ); } --- 896,900 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query User id', '', __LINE__, __FILE__, $sql ); } *************** *** 905,909 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Update Downloader Table Info', '', __LINE__, __FILE__, $sql ); } } --- 905,909 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Update Downloader Table Info', '', __LINE__, __FILE__, $sql ); } } *************** *** 926,930 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query User id', '', __LINE__, __FILE__, $sql ); } --- 926,930 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query User id', '', __LINE__, __FILE__, $sql ); } *************** *** 935,944 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Update Votes Table Info', '', __LINE__, __FILE__, $sql ); } } else { ! message_die( GENERAL_MESSAGE, $lang['Rerror'] ); } --- 935,944 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Update Votes Table Info', '', __LINE__, __FILE__, $sql ); } } else { ! mx_message_die( GENERAL_MESSAGE, $lang['Rerror'] ); } *************** *** 1068,1072 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_MESSAGE, $lang['No_such_user']); } --- 1068,1072 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_MESSAGE, $lang['No_such_user']); } *************** *** 1085,1089 **** if ( !$result = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not find oldest privmsgs (inbox)', '', __LINE__, __FILE__, $sql); } $old_privmsgs_id = $db->sql_fetchrow($result); --- 1085,1089 ---- if ( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not find oldest privmsgs (inbox)', '', __LINE__, __FILE__, $sql); } $old_privmsgs_id = $db->sql_fetchrow($result); *************** *** 1094,1098 **** if ( !$db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not delete oldest privmsgs (inbox)'.$sql, '', __LINE__, __FILE__, $sql); } --- 1094,1098 ---- if ( !$db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not delete oldest privmsgs (inbox)'.$sql, '', __LINE__, __FILE__, $sql); } *************** *** 1101,1105 **** if ( !$db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql); } } --- 1101,1105 ---- if ( !$db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql); } } *************** *** 1111,1115 **** if ( !($result = $db->sql_query($sql_info, BEGIN_TRANSACTION)) ) { ! message_die(GENERAL_ERROR, "Could not insert/update private message sent info.", "", __LINE__, __FILE__, $sql_info); } --- 1111,1115 ---- if ( !($result = $db->sql_query($sql_info, BEGIN_TRANSACTION)) ) { ! mx_message_die(GENERAL_ERROR, "Could not insert/update private message sent info.", "", __LINE__, __FILE__, $sql_info); } *************** *** 1121,1125 **** if ( !$db->sql_query($sql, END_TRANSACTION) ) { ! message_die(GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql); } --- 1121,1125 ---- if ( !$db->sql_query($sql, END_TRANSACTION) ) { ! mx_message_die(GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql); } *************** *** 1132,1136 **** if ( !$status = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not update private message new/read status for user', '', __LINE__, __FILE__, $sql); } --- 1132,1136 ---- if ( !$status = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not update private message new/read status for user', '', __LINE__, __FILE__, $sql); } *************** *** 1169,1173 **** $msg = $lang['Message_sent'] . '<br /><br />' . sprintf($lang['Click_return_inbox'], '<a href="' . append_sid("privmsg.$phpEx?folder=inbox") . '">', '</a> ') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); ! message_die(GENERAL_MESSAGE, $msg); } // insert_pm() --- 1169,1173 ---- $msg = $lang['Message_sent'] . '<br /><br />' . sprintf($lang['Click_return_inbox'], '<a href="' . append_sid("privmsg.$phpEx?folder=inbox") . '">', '</a> ') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); ! mx_message_die(GENERAL_MESSAGE, $msg); } // insert_pm() *************** *** 1320,1324 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query file info', '', __LINE__, __FILE__, $sql ); } // =================================================== --- 1320,1324 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query file info', '', __LINE__, __FILE__, $sql ); } // =================================================== *************** *** 1327,1331 **** if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } $db->sql_freeresult( $result ); --- 1327,1331 ---- if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } $db->sql_freeresult( $result ); Index: functions_mx.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_mx.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** functions_mx.php 1 Oct 2005 14:15:19 -0000 1.3 --- functions_mx.php 24 Oct 2005 20:16:56 -0000 1.4 *************** *** 93,97 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not query group rights information", '', '', '', '' ); } --- 93,97 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not query group rights information", '', '', '', '' ); } *************** *** 112,116 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not query group rights information", '', '', '', '' ); } --- 112,116 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not query group rights information", '', '', '', '' ); } Index: functions_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_comment.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** functions_comment.php 1 Oct 2005 14:15:19 -0000 1.13 --- functions_comment.php 24 Oct 2005 20:16:56 -0000 1.14 *************** *** 52,56 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt select comments', '', __LINE__, __FILE__, $sql ); } --- 52,56 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt select comments', '', __LINE__, __FILE__, $sql ); } Index: template.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/template.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** template.php 1 Oct 2005 14:15:20 -0000 1.7 --- template.php 24 Oct 2005 20:16:56 -0000 1.8 *************** *** 111,115 **** if ( empty( $filename ) ) { ! message_die( GENERAL_ERROR, "Template error - Empty filename specified for $handle" ); } --- 111,115 ---- if ( empty( $filename ) ) { ! mx_message_die( GENERAL_ERROR, "Template error - Empty filename specified for $handle" ); } *************** *** 173,177 **** if ( !isset( $this->files[$handle] ) ) { ! message_die( GENERAL_ERROR, "Pafiledb Template->loadfile(): No file specified for handle $handle" ); } --- 173,177 ---- if ( !isset( $this->files[$handle] ) ) { ! mx_message_die( GENERAL_ERROR, "Pafiledb Template->loadfile(): No file specified for handle $handle" ); } *************** *** 180,184 **** if ( !( $fp = @fopen( $this->files[$handle], 'r' ) ) ) { ! message_die( GENERAL_ERROR, "Pafiledb Template->_tpl_load(): File $filename does not exist or is empty" ); } --- 180,184 ---- if ( !( $fp = @fopen( $this->files[$handle], 'r' ) ) ) { ! mx_message_die( GENERAL_ERROR, "Pafiledb Template->_tpl_load(): File $filename does not exist or is empty" ); } Index: functions_field.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_field.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** functions_field.php 1 Oct 2005 14:15:19 -0000 1.5 --- functions_field.php 24 Oct 2005 20:16:56 -0000 1.6 *************** *** 41,45 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Custom field', '', __LINE__, __FILE__, $sql ); } --- 41,45 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Custom field', '', __LINE__, __FILE__, $sql ); } *************** *** 56,60 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Custom field', '', __LINE__, __FILE__, $sql ); } --- 56,60 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Custom field', '', __LINE__, __FILE__, $sql ); } *************** *** 130,134 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not delete custom data', '', __LINE__, __FILE__, $sql ); } } --- 130,134 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete custom data', '', __LINE__, __FILE__, $sql ); } } *************** *** 337,346 **** if ( empty( $field_name ) ) { ! message_die( GENERAL_ERROR, $lang['Missing_field'] ); } if ( ( ( $field_type != INPUT && $field_type != TEXTAREA ) && empty( $data ) ) ) { ! message_die( GENERAL_ERROR, $lang['Missing_field'] ); } --- 337,346 ---- if ( empty( $field_name ) ) { ! mx_message_die( GENERAL_ERROR, $lang['Missing_field'] ); } if ( ( ( $field_type != INPUT && $field_type != TEXTAREA ) && empty( $data ) ) ) { ! mx_message_die( GENERAL_ERROR, $lang['Missing_field'] ); } *************** *** 352,356 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not add the new fields', '', __LINE__, __FILE__, $sql ); } --- 352,356 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not add the new fields', '', __LINE__, __FILE__, $sql ); } *************** *** 363,367 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not set the order for the giving field', '', __LINE__, __FILE__, $sql ); } } --- 363,367 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not set the order for the giving field', '', __LINE__, __FILE__, $sql ); } } *************** *** 374,378 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not update information for the giving field', '', __LINE__, __FILE__, $sql ); } } --- 374,378 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not update information for the giving field', '', __LINE__, __FILE__, $sql ); } } *************** *** 388,392 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not delete custom data', '', __LINE__, __FILE__, $sql ); } --- 388,392 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete custom data', '', __LINE__, __FILE__, $sql ); } *************** *** 396,400 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not delete the selected field', '', __LINE__, __FILE__, $sql ); } } --- 396,400 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete the selected field', '', __LINE__, __FILE__, $sql ); } } *************** *** 446,450 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not delete data from custom data table', '', __LINE__, __FILE__, $sql ); } --- 446,450 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete data from custom data table', '', __LINE__, __FILE__, $sql ); } *************** *** 456,460 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not add additional data', '', __LINE__, __FILE__, $sql ); } } --- 456,460 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not add additional data', '', __LINE__, __FILE__, $sql ); } } Index: functions_pafiledb.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_pafiledb.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** functions_pafiledb.php 22 Oct 2005 10:56:15 -0000 1.20 --- functions_pafiledb.php 24 Oct 2005 20:16:56 -0000 1.21 *************** *** 113,117 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } $cat_rowset = $db->sql_fetchrowset( $result ); --- 113,117 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } $cat_rowset = $db->sql_fetchrowset( $result ); *************** *** 272,276 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } --- 272,276 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } *************** *** 291,295 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } } --- 291,295 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } } *************** *** 320,324 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } } --- 320,324 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } } *************** *** 412,416 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } --- 412,416 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } *************** *** 427,431 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } } --- 427,431 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } } *************** *** 455,459 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } --- 455,459 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } *************** *** 509,513 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Failed obtaining category access control lists', '', __LINE__, __FILE__, $sql ); } --- 509,513 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Failed obtaining category access control lists', '', __LINE__, __FILE__, $sql ); } *************** *** 718,722 **** if ( $this->cat_empty() ) { ! message_die( GENERAL_ERROR, 'Either you are not allowed to view any category, or there is no category in the database' ); } --- 718,722 ---- if ( $this->cat_empty() ) { ! mx_message_die( GENERAL_ERROR, 'Either you are not allowed to view any category, or there is no category in the database' ); } *************** *** 882,886 **** if ( $this->cat_empty() ) { ! message_die( GENERAL_ERROR, 'Either you are not allowed to view any category, or there is no category in the database' ); } --- 882,886 ---- if ( $this->cat_empty() ) { ! mx_message_die( GENERAL_ERROR, 'Either you are not allowed to view any category, or there is no category in the database' ); } *************** *** 1090,1094 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info for this category', '', __LINE__, __FILE__, $sql ); } --- 1090,1094 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info for this category', '', __LINE__, __FILE__, $sql ); } *************** *** 1139,1143 **** if ( !( $result = $pafiledb_functions->sql_query_limit( $sql, $pafiledb_config['settings_file_page'], $start ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info for this category', '', __LINE__, __FILE__, $sql ); } --- 1139,1143 ---- if ( !( $result = $pafiledb_functions->sql_query_limit( $sql, $pafiledb_config['settings_file_page'], $start ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info for this category', '', __LINE__, __FILE__, $sql ); } *************** *** 1160,1164 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get number of file', '', __LINE__, __FILE__, $sql ); } --- 1160,1164 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get number of file', '', __LINE__, __FILE__, $sql ); } *************** *** 1375,1379 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info for this category', '', __LINE__, __FILE__, $sql ); } --- 1375,1379 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info for this category', '', __LINE__, __FILE__, $sql ); } *************** *** 1422,1426 **** if ( !( $result = $pafiledb_functions->sql_query_limit( $sql, $pafiledb_config['settings_file_page'], $start ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info for this category', '', __LINE__, __FILE__, $sql ); } --- 1422,1426 ---- if ( !( $result = $pafiledb_functions->sql_query_limit( $sql, $pafiledb_config['settings_file_page'], $start ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info for this category', '', __LINE__, __FILE__, $sql ); } *************** *** 1443,1447 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get number of file', '', __LINE__, __FILE__, $sql ); } --- 1443,1447 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get number of file', '', __LINE__, __FILE__, $sql ); } *************** *** 1650,1654 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t add a new category', '', __LINE__, __FILE__, $sql ); } } --- 1650,1654 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t add a new category', '', __LINE__, __FILE__, $sql ); } } *************** *** 1661,1665 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t Edit this category', '', __LINE__, __FILE__, $sql ); } --- 1661,1665 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t Edit this category', '', __LINE__, __FILE__, $sql ); } *************** *** 1717,1721 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Info', '', __LINE__, __FILE__, $sql ); } --- 1717,1721 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Info', '', __LINE__, __FILE__, $sql ); } *************** *** 1758,1762 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt select files', '', __LINE__, __FILE__, $sql ); } --- 1758,1762 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt select files', '', __LINE__, __FILE__, $sql ); } *************** *** 1777,1781 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt select files', '', __LINE__, __FILE__, $sql ); } --- 1777,1781 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt select files', '', __LINE__, __FILE__, $sql ); } *************** *** 1792,1796 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt delete files', '', __LINE__, __FILE__, $sql ); } --- 1792,1796 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt delete files', '', __LINE__, __FILE__, $sql ); } *************** *** 1802,1806 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt delete custom data', '', __LINE__, __FILE__, $sql ); } --- 1802,1806 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt delete custom data', '', __LINE__, __FILE__, $sql ); } *************** *** 1810,1814 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt delete mirror for this file', '', __LINE__, __FILE__, $sql ); } --- 1810,1814 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt delete mirror for this file', '', __LINE__, __FILE__, $sql ); } *************** *** 1849,1853 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt move files', '', __LINE__, __FILE__, $sql ); } --- 1849,1853 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt move files', '', __LINE__, __FILE__, $sql ); } *************** *** 1874,1878 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Info', '', __LINE__, __FILE__, $sql ); } --- 1874,1878 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Info', '', __LINE__, __FILE__, $sql ); } *************** *** 1900,1904 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt move Sub Category', '', __LINE__, __FILE__, $sql ); } $this->modified( true ); --- 1900,1904 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt move Sub Category', '', __LINE__, __FILE__, $sql ); } $this->modified( true ); *************** *** 1917,1921 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not get list of Categories', '', __LINE__, __FILE__, $sql ); } --- 1917,1921 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not get list of Categories', '', __LINE__, __FILE__, $sql ); } *************** *** 1930,1934 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not update order fields', '', __LINE__, __FILE__, $sql ); } $i += 10; --- 1930,1934 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not update order fields', '', __LINE__, __FILE__, $sql ); } $i += 10; *************** *** 1949,1953 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not change category order', '', __LINE__, __FILE__, $sql ); } --- 1949,1953 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not change category order', '', __LINE__, __FILE__, $sql ); } *************** *** 1969,1973 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } --- 1969,1973 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } *************** *** 1981,1985 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } if ( $init ) --- 1981,1985 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } if ( $init ) *************** *** 2088,2092 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt query Download URL', '', __LINE__, __FILE__, $sql ); } --- 2088,2092 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt query Download URL', '', __LINE__, __FILE__, $sql ); } *************** *** 2127,2131 **** if ( $file_info['error'] ) { ! message_die( GENERAL_ERROR, $file_info['message'] ); } } --- 2127,2131 ---- if ( $file_info['error'] ) { ! mx_message_die( GENERAL_ERROR, $file_info['message'] ); } } *************** *** 2139,2143 **** if ( $screen_shot_info['error'] ) { ! message_die( GENERAL_ERROR, $screen_shot_info['message'] ); } $screen_shot_url = $screen_shot_info['url']; --- 2139,2143 ---- if ( $screen_shot_info['error'] ) { ! mx_message_die( GENERAL_ERROR, $screen_shot_info['message'] ); } $screen_shot_url = $screen_shot_info['url']; *************** *** 2198,2202 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Add the file information to the database', '', __LINE__, __FILE__, $sql ); } $this->modified( true ); --- 2198,2202 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Add the file information to the database', '', __LINE__, __FILE__, $sql ); } $this->modified( true ); *************** *** 2247,2251 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt query Download URL', '', __LINE__, __FILE__, $sql ); } --- 2247,2251 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt query Download URL', '', __LINE__, __FILE__, $sql ); } *************** *** 2282,2286 **** if ( $file_info['error'] ) { ! message_die( GENERAL_ERROR, $file_info['message'] ); } } --- 2282,2286 ---- if ( $file_info['error'] ) { ! mx_message_die( GENERAL_ERROR, $file_info['message'] ); } } *************** *** 2304,2308 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Add the file information to the database', '', __LINE__, __FILE__, $sql ); } } --- 2304,2308 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Add the file information to the database', '', __LINE__, __FILE__, $sql ); } } *************** *** 2319,2323 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt delete mirror for this file', '', __LINE__, __FILE__, $sql ); } } --- 2319,2323 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt delete mirror for this file', '', __LINE__, __FILE__, $sql ); } } *************** *** 2340,2344 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Add the file information to the database', '', __LINE__, __FILE__, $sql ); } --- 2340,2344 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Add the file information to the database', '', __LINE__, __FILE__, $sql ); } *************** *** 2381,2385 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql ); } // added by snake for extended PM --- 2381,2385 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql ); } // added by snake for extended PM *************** *** 2389,2393 **** if ( !( $article_result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain article data", '', __LINE__, __FILE__, $sql ); } --- 2389,2393 ---- if ( !( $article_result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain article data", '', __LINE__, __FILE__, $sql ); } *************** *** 2462,2466 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not insert private message sent info', '', __LINE__, __FILE__, $sql ); } $privmsg_sent_id = $db->sql_nextid(); --- 2462,2466 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not insert private message sent info', '', __LINE__, __FILE__, $sql ); } $privmsg_sent_id = $db->sql_nextid(); *************** *** 2470,2474 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not insert private message sent text', '', __LINE__, __FILE__, $sql ); } } --- 2470,2474 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not insert private message sent text', '', __LINE__, __FILE__, $sql ); } } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:17:03
|
Update of /cvsroot/mxbb/mx_pafiledb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1468/modules/mx_pafiledb/admin Modified Files: admin_pa_fchecker.php mx_module_defs.php Log Message: replaced all message_die with mx_message_die Index: admin_pa_fchecker.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/admin_pa_fchecker.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** admin_pa_fchecker.php 1 Oct 2005 14:15:19 -0000 1.12 --- admin_pa_fchecker.php 24 Oct 2005 20:16:56 -0000 1.13 *************** *** 130,134 **** if ( !($db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Couldnt Query info', '', __LINE__, __FILE__, $sql); }*/ $template->assign_block_vars( "check.check_step1", array( 'DEL_DURL' => $temp_dlurl ) --- 130,134 ---- if ( !($db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Couldnt Query info', '', __LINE__, __FILE__, $sql); }*/ $template->assign_block_vars( "check.check_step1", array( 'DEL_DURL' => $temp_dlurl ) *************** *** 160,164 **** if ( !($db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Couldnt Query info', '', __LINE__, __FILE__, $sql); }*/ --- 160,164 ---- if ( !($db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Couldnt Query info', '', __LINE__, __FILE__, $sql); }*/ Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/mx_module_defs.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_module_defs.php 22 Oct 2005 10:56:15 -0000 1.2 --- mx_module_defs.php 24 Oct 2005 20:16:56 -0000 1.3 *************** *** 365,369 **** if ( !( $result = $db->sql_query( $sql1 ) ) ) { ! message_die( GENERAL_ERROR, $lang['News_update_error'], "", __LINE__, __FILE__, $sql[$i] ); } --- 365,369 ---- if ( !( $result = $db->sql_query( $sql1 ) ) ) { ! mx_message_die( GENERAL_ERROR, $lang['News_update_error'], "", __LINE__, __FILE__, $sql[$i] ); } *************** *** 404,408 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, $lang['News_update_error'], "", __LINE__, __FILE__, $sql[$i] ); } --- 404,408 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, $lang['News_update_error'], "", __LINE__, __FILE__, $sql[$i] ); } *************** *** 443,447 **** if ( !( $result = $db->sql_query( $sql1 ) ) ) { ! message_die( GENERAL_ERROR, $lang['News_update_error'], "", __LINE__, __FILE__, $sql[$i] ); } } --- 443,447 ---- if ( !( $result = $db->sql_query( $sql1 ) ) ) { ! mx_message_die( GENERAL_ERROR, $lang['News_update_error'], "", __LINE__, __FILE__, $sql[$i] ); } } *************** *** 472,476 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } $cat_rowset_temp = $db->sql_fetchrowset( $result ); --- 472,476 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } $cat_rowset_temp = $db->sql_fetchrowset( $result ); |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:16:30
|
Update of /cvsroot/mxbb/mx_newssuite/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1347/modules/mx_newssuite/admin Modified Files: mx_module_defs.php Log Message: replaced all message_die with mx_message_die Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/admin/mx_module_defs.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mx_module_defs.php 22 Oct 2005 10:55:12 -0000 1.6 --- mx_module_defs.php 24 Oct 2005 20:16:22 -0000 1.7 *************** *** 121,125 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Couldn't obtain forums information.", "", __LINE__, __FILE__, $sql ); } --- 121,125 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't obtain forums information.", "", __LINE__, __FILE__, $sql ); } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:16:14
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1103/modules/mx_linkdb/linkdb/includes Modified Files: functions.php functions_linkdb.php functions_linkdb_field.php Log Message: replaced all message_die with mx_message_die Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** functions.php 1 Oct 2005 14:14:17 -0000 1.3 --- functions.php 24 Oct 2005 20:16:01 -0000 1.4 *************** *** 51,55 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Failed to update linkdb configuration for $config_name", "", __LINE__, __FILE__, $sql ); } --- 51,55 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Failed to update linkdb configuration for $config_name", "", __LINE__, __FILE__, $sql ); } *************** *** 61,65 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Failed to update linkdb configuration for $config_name", "", __LINE__, __FILE__, $sql ); } } --- 61,65 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Failed to update linkdb configuration for $config_name", "", __LINE__, __FILE__, $sql ); } } *************** *** 77,81 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt query linkdb configuration', '', __LINE__, __FILE__, $sql ); } --- 77,81 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt query linkdb configuration', '', __LINE__, __FILE__, $sql ); } *************** *** 111,115 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt rating info for the giving link', '', __LINE__, __FILE__, $sql ); } --- 111,115 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt rating info for the giving link', '', __LINE__, __FILE__, $sql ); } *************** *** 135,139 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query User id', '', __LINE__, __FILE__, $sql ); } --- 135,139 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query User id', '', __LINE__, __FILE__, $sql ); } *************** *** 144,153 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Update Votes Table Info', '', __LINE__, __FILE__, $sql ); } } else { ! message_die( GENERAL_MESSAGE, $lang['Rerror'] ); } --- 144,153 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Update Votes Table Info', '', __LINE__, __FILE__, $sql ); } } else { ! mx_message_die( GENERAL_MESSAGE, $lang['Rerror'] ); } Index: functions_linkdb_field.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions_linkdb_field.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** functions_linkdb_field.php 1 Oct 2005 14:14:17 -0000 1.2 --- functions_linkdb_field.php 24 Oct 2005 20:16:01 -0000 1.3 *************** *** 36,40 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Custom field', '', __LINE__, __FILE__, $sql ); } --- 36,40 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Custom field', '', __LINE__, __FILE__, $sql ); } *************** *** 51,55 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Custom field', '', __LINE__, __FILE__, $sql ); } --- 51,55 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Custom field', '', __LINE__, __FILE__, $sql ); } *************** *** 125,129 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not delete custom data', '', __LINE__, __FILE__, $sql ); } } --- 125,129 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete custom data', '', __LINE__, __FILE__, $sql ); } } *************** *** 332,341 **** if ( empty( $field_name ) ) { ! message_die( GENERAL_ERROR, $lang['Missing_field'] ); } if ( ( ( $field_type != INPUT && $field_type != TEXTAREA ) && empty( $data ) ) ) { ! message_die( GENERAL_ERROR, $lang['Missing_field'] ); } --- 332,341 ---- if ( empty( $field_name ) ) { ! mx_message_die( GENERAL_ERROR, $lang['Missing_field'] ); } if ( ( ( $field_type != INPUT && $field_type != TEXTAREA ) && empty( $data ) ) ) { ! mx_message_die( GENERAL_ERROR, $lang['Missing_field'] ); } *************** *** 347,351 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not add the new fields', '', __LINE__, __FILE__, $sql ); } --- 347,351 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not add the new fields', '', __LINE__, __FILE__, $sql ); } *************** *** 358,362 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not set the order for the giving field', '', __LINE__, __FILE__, $sql ); } } --- 358,362 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not set the order for the giving field', '', __LINE__, __FILE__, $sql ); } } *************** *** 369,373 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not update information for the giving field', '', __LINE__, __FILE__, $sql ); } } --- 369,373 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not update information for the giving field', '', __LINE__, __FILE__, $sql ); } } *************** *** 383,387 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not delete custom data', '', __LINE__, __FILE__, $sql ); } --- 383,387 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete custom data', '', __LINE__, __FILE__, $sql ); } *************** *** 391,395 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not delete the selected field', '', __LINE__, __FILE__, $sql ); } } --- 391,395 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete the selected field', '', __LINE__, __FILE__, $sql ); } } *************** *** 440,444 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not delete data from custom data table', '', __LINE__, __FILE__, $sql ); } --- 440,444 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete data from custom data table', '', __LINE__, __FILE__, $sql ); } *************** *** 450,454 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not add additional data', '', __LINE__, __FILE__, $sql ); } } --- 450,454 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not add additional data', '', __LINE__, __FILE__, $sql ); } } Index: functions_linkdb.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions_linkdb.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** functions_linkdb.php 1 Oct 2005 14:14:17 -0000 1.2 --- functions_linkdb.php 24 Oct 2005 20:16:01 -0000 1.3 *************** *** 128,132 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } $cat_rowset = $db->sql_fetchrowset( $result ); --- 128,132 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } $cat_rowset = $db->sql_fetchrowset( $result ); *************** *** 271,275 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql); } --- 271,275 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql); } *************** *** 290,294 **** if ( !($db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql); } } --- 290,294 ---- if ( !($db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql); } } *************** *** 317,321 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } } --- 317,321 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } } *************** *** 366,370 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } --- 366,370 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } *************** *** 381,385 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } } --- 381,385 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } } *************** *** 421,425 **** redirect( append_sid( "login.$phpEx?redirect=$redirect", true ) ); } ! message_die( GENERAL_ERROR, 'Either you are not allowed to view any category, or there is no category in the database' ); } --- 421,425 ---- redirect( append_sid( "login.$phpEx?redirect=$redirect", true ) ); } ! mx_message_die( GENERAL_ERROR, 'Either you are not allowed to view any category, or there is no category in the database' ); } *************** *** 508,512 **** if ( !( $result = $linkdb_functions->sql_query_limit( $sql, $linkdb_config['settings_link_page'], $start ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info for this category', '', __LINE__, __FILE__, $sql ); } --- 508,512 ---- if ( !( $result = $linkdb_functions->sql_query_limit( $sql, $linkdb_config['settings_link_page'], $start ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info for this category', '', __LINE__, __FILE__, $sql ); } *************** *** 526,530 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get number of file', '', __LINE__, __FILE__, $sql ); } --- 526,530 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get number of file', '', __LINE__, __FILE__, $sql ); } *************** *** 716,720 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t add a new category', '', __LINE__, __FILE__, $sql ); } } --- 716,720 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t add a new category', '', __LINE__, __FILE__, $sql ); } } *************** *** 727,731 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t Edit this category', '', __LINE__, __FILE__, $sql ); } --- 727,731 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t Edit this category', '', __LINE__, __FILE__, $sql ); } *************** *** 783,787 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Info', '', __LINE__, __FILE__, $sql ); } --- 783,787 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Info', '', __LINE__, __FILE__, $sql ); } *************** *** 823,827 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt select files', '', __LINE__, __FILE__, $sql ); } --- 823,827 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt select files', '', __LINE__, __FILE__, $sql ); } *************** *** 842,846 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt select files', '', __LINE__, __FILE__, $sql ); } --- 842,846 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt select files', '', __LINE__, __FILE__, $sql ); } *************** *** 857,861 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt delete files', '', __LINE__, __FILE__, $sql ); } --- 857,861 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt delete files', '', __LINE__, __FILE__, $sql ); } *************** *** 867,871 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt delete custom data', '', __LINE__, __FILE__, $sql ); } --- 867,871 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt delete custom data', '', __LINE__, __FILE__, $sql ); } *************** *** 888,892 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt move files', '', __LINE__, __FILE__, $sql ); } $this->modified( true ); --- 888,892 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt move files', '', __LINE__, __FILE__, $sql ); } $this->modified( true ); *************** *** 908,912 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Info', '', __LINE__, __FILE__, $sql ); } --- 908,912 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Info', '', __LINE__, __FILE__, $sql ); } *************** *** 934,938 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt move Sub Category', '', __LINE__, __FILE__, $sql ); } $this->modified( true ); --- 934,938 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt move Sub Category', '', __LINE__, __FILE__, $sql ); } $this->modified( true ); *************** *** 951,955 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not get list of Categories', '', __LINE__, __FILE__, $sql ); } --- 951,955 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not get list of Categories', '', __LINE__, __FILE__, $sql ); } *************** *** 964,968 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not update order fields', '', __LINE__, __FILE__, $sql ); } $i += 10; --- 964,968 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not update order fields', '', __LINE__, __FILE__, $sql ); } $i += 10; *************** *** 983,987 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not change category order', '', __LINE__, __FILE__, $sql ); } --- 983,987 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not change category order', '', __LINE__, __FILE__, $sql ); } *************** *** 1003,1007 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } --- 1003,1007 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query categories info', '', __LINE__, __FILE__, $sql ); } *************** *** 1012,1016 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } if ( $init ) --- 1012,1016 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Files info', '', __LINE__, __FILE__, $sql ); } if ( $init ) *************** *** 1096,1100 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Add the file information to the database', '', __LINE__, __FILE__, $sql ); } --- 1096,1100 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Add the file information to the database', '', __LINE__, __FILE__, $sql ); } *************** *** 1123,1127 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Add the file information to the database', '', __LINE__, __FILE__, $sql ); } $this->modified( true ); --- 1123,1127 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Add the file information to the database', '', __LINE__, __FILE__, $sql ); } $this->modified( true ); |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:16:14
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1103/modules/mx_linkdb/linkdb/modules Modified Files: link_category.php link_link.php link_rate.php link_search.php link_user_upload.php Log Message: replaced all message_die with mx_message_die Index: link_user_upload.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_user_upload.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** link_user_upload.php 1 Oct 2005 14:14:17 -0000 1.2 --- link_user_upload.php 24 Oct 2005 20:16:01 -0000 1.3 *************** *** 60,64 **** ) ); ! message_die( GENERAL_MESSAGE, $message ); } --- 60,64 ---- ) ); ! mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 113,117 **** if ( !$admin_result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Could not query users table", "", __LINE__, __FILE__, $sql ); } --- 113,117 ---- if ( !$admin_result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Could not query users table", "", __LINE__, __FILE__, $sql ); } *************** *** 165,169 **** ) ); ! message_die( GENERAL_MESSAGE, $message ); } --- 165,169 ---- ) ); ! mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 206,210 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } $link_info = $db->sql_fetchrow( $result ); --- 206,210 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } $link_info = $db->sql_fetchrow( $result ); *************** *** 242,246 **** else { ! message_die( GENERAL_MESSAGE, 'Not allowed' ); } } --- 242,246 ---- else { ! mx_message_die( GENERAL_MESSAGE, 'Not allowed' ); } } *************** *** 316,320 **** if ( !$admin_result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Could not query users table", "", __LINE__, __FILE__, $sql ); } --- 316,320 ---- if ( !$admin_result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Could not query users table", "", __LINE__, __FILE__, $sql ); } *************** *** 339,343 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_MESSAGE, $lang['No_such_user'] ); } --- 339,343 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['No_such_user'] ); } *************** *** 356,360 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not find oldest privmsgs (inbox)', '', __LINE__, __FILE__, $sql ); } $old_privmsgs_id = $db->sql_fetchrow( $result ); --- 356,360 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not find oldest privmsgs (inbox)', '', __LINE__, __FILE__, $sql ); } $old_privmsgs_id = $db->sql_fetchrow( $result ); *************** *** 365,369 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs (inbox)' . $sql, '', __LINE__, __FILE__, $sql ); } --- 365,369 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs (inbox)' . $sql, '', __LINE__, __FILE__, $sql ); } *************** *** 372,376 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql ); } } --- 372,376 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql ); } } *************** *** 383,387 **** if ( !( $result = $db->sql_query( $sql_info, BEGIN_TRANSACTION ) ) ) { ! message_die( GENERAL_ERROR, "Could not insert/update private message sent info.", "", __LINE__, __FILE__, $sql_info ); } --- 383,387 ---- if ( !( $result = $db->sql_query( $sql_info, BEGIN_TRANSACTION ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not insert/update private message sent info.", "", __LINE__, __FILE__, $sql_info ); } *************** *** 395,399 **** if ( !$db->sql_query( $sql, END_TRANSACTION ) ) { ! message_die( GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql_info ); } --- 395,399 ---- if ( !$db->sql_query( $sql, END_TRANSACTION ) ) { ! mx_message_die( GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql_info ); } *************** *** 405,409 **** if ( !$status = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not update private message new/read status for user', '', __LINE__, __FILE__, $sql ); } } --- 405,409 ---- if ( !$status = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not update private message new/read status for user', '', __LINE__, __FILE__, $sql ); } } Index: link_link.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_link.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** link_link.php 1 Oct 2005 14:14:17 -0000 1.2 --- link_link.php 24 Oct 2005 20:16:01 -0000 1.3 *************** *** 47,51 **** else { ! message_die( GENERAL_MESSAGE, $lang['Link_not_exist'] ); } --- 47,51 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['Link_not_exist'] ); } *************** *** 57,61 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt select linkdb', '', __LINE__, __FILE__, $sql ); } --- 57,61 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt select linkdb', '', __LINE__, __FILE__, $sql ); } *************** *** 64,68 **** if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! message_die( GENERAL_MESSAGE, $lang['Link_not_exist'] ); } --- 64,68 ---- if ( !$file_data = $db->sql_fetchrow( $result ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['Link_not_exist'] ); } *************** *** 82,86 **** if ( !( $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Update Files table', '', __LINE__, __FILE__, $sql ); } // } --- 82,86 ---- if ( !( $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Update Files table', '', __LINE__, __FILE__, $sql ); } // } Index: link_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_search.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** link_search.php 1 Oct 2005 14:14:17 -0000 1.2 --- link_search.php 24 Oct 2005 20:16:01 -0000 1.3 *************** *** 135,139 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Couldn't obtain list of matching users (searching for: $search_author)", "", __LINE__, __FILE__, $sql ); } --- 135,139 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't obtain list of matching users (searching for: $search_author)", "", __LINE__, __FILE__, $sql ); } *************** *** 157,161 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain matched links list', '', __LINE__, __FILE__, $sql ); } --- 157,161 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain matched links list', '', __LINE__, __FILE__, $sql ); } *************** *** 169,173 **** if ( !$total_match_count = count( $search_ids ) ) { ! message_die( GENERAL_MESSAGE, $lang['No_search_match'] ); } } --- 169,173 ---- if ( !$total_match_count = count( $search_ids ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['No_search_match'] ); } } *************** *** 216,220 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain matched links list', '', __LINE__, __FILE__, $sql ); } --- 216,220 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain matched links list', '', __LINE__, __FILE__, $sql ); } *************** *** 309,313 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain link ids', '', __LINE__, __FILE__, $sql ); } --- 309,313 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain link ids', '', __LINE__, __FILE__, $sql ); } *************** *** 322,326 **** else { ! message_die( GENERAL_MESSAGE, $lang['No_search_match'] ); } --- 322,326 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['No_search_match'] ); } *************** *** 347,351 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not delete old search id sessions', '', __LINE__, __FILE__, $sql ); } } --- 347,351 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete old search id sessions', '', __LINE__, __FILE__, $sql ); } } *************** *** 378,382 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not insert search results', '', __LINE__, __FILE__, $sql ); } } --- 378,382 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not insert search results', '', __LINE__, __FILE__, $sql ); } } *************** *** 393,397 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain search results', '', __LINE__, __FILE__, $sql ); } --- 393,397 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain search results', '', __LINE__, __FILE__, $sql ); } *************** *** 439,443 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain search results', '', __LINE__, __FILE__, $sql ); } --- 439,443 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain search results', '', __LINE__, __FILE__, $sql ); } *************** *** 535,539 **** else { ! message_die( GENERAL_MESSAGE, $lang['No_search_match'] ); } } --- 535,539 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['No_search_match'] ); } } Index: link_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_category.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** link_category.php 1 Oct 2005 14:14:17 -0000 1.2 --- link_category.php 24 Oct 2005 20:16:01 -0000 1.3 *************** *** 49,53 **** else { ! message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } --- 49,53 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } *************** *** 100,104 **** if ( !isset( $this->cat_rowset[$cat_id] ) ) { ! message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } --- 100,104 ---- if ( !isset( $this->cat_rowset[$cat_id] ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } Index: link_rate.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/modules/link_rate.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** link_rate.php 1 Oct 2005 14:14:17 -0000 1.2 --- link_rate.php 24 Oct 2005 20:16:01 -0000 1.3 *************** *** 44,48 **** if ( !$linkdb_config['allow_vote'] ) { ! message_die( GENERAL_MESSAGE, $lang['Not_allow_vote'] ); } --- 44,48 ---- if ( !$linkdb_config['allow_vote'] ) { ! mx_message_die( GENERAL_MESSAGE, $lang['Not_allow_vote'] ); } *************** *** 53,57 **** else { ! message_die( GENERAL_MESSAGE, $lang['Link_not_exist'] ); } --- 53,57 ---- else { ! mx_message_die( GENERAL_MESSAGE, $lang['Link_not_exist'] ); } *************** *** 66,75 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query link info', '', __LINE__, __FILE__, $sql ); } if ( !$link_data = $db->sql_fetchrow( $result ) ) { ! message_die( GENERAL_MESSAGE, $lang['Link_not_exist'] ); } --- 66,75 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query link info', '', __LINE__, __FILE__, $sql ); } if ( !$link_data = $db->sql_fetchrow( $result ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['Link_not_exist'] ); } *************** *** 80,84 **** // $redirect = linkdb_this_mxurl("action=rate&link_id=$link_id"); // redirect(append_sid("login.$phpEx?redirect=" . $redirect, true)); ! message_die( GENERAL_MESSAGE, 'not logged in' ); } --- 80,84 ---- // $redirect = linkdb_this_mxurl("action=rate&link_id=$link_id"); // redirect(append_sid("login.$phpEx?redirect=" . $redirect, true)); ! mx_message_die( GENERAL_MESSAGE, 'not logged in' ); } *************** *** 108,112 **** if ( ( $rating <= 0 ) or ( $rating > 10 ) ) { ! message_die( GENERAL_ERROR, 'Bad submited value' ); } --- 108,112 ---- if ( ( $rating <= 0 ) or ( $rating > 10 ) ) { ! mx_message_die( GENERAL_ERROR, 'Bad submited value' ); } *************** *** 118,122 **** $message = $result_msg . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( linkdb_this_mxurl( 'action=rate&link_id=' . $link_id ) ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_forum'], '<a href="' . append_sid( 'index.' . $phpEx ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } else --- 118,122 ---- $message = $result_msg . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( linkdb_this_mxurl( 'action=rate&link_id=' . $link_id ) ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_forum'], '<a href="' . append_sid( 'index.' . $phpEx ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } else |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:16:12
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1103/modules/mx_linkdb/linkdb/admin Modified Files: admin_cat_manage.php admin_link_manage.php admin_setting.php Log Message: replaced all message_die with mx_message_die Index: admin_cat_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_cat_manage.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_cat_manage.php 1 Oct 2005 14:14:17 -0000 1.2 --- admin_cat_manage.php 24 Oct 2005 20:16:01 -0000 1.3 *************** *** 58,62 **** $this->_linkdb(); $message = $lang['Catadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=cat_manage" ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } }elseif ( $mode == 'do_add' && $cat_id ) --- 58,62 ---- $this->_linkdb(); $message = $lang['Catadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=cat_manage" ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } }elseif ( $mode == 'do_add' && $cat_id ) *************** *** 67,71 **** $this->_linkdb(); $message = $lang['Catedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=cat_manage" ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } }elseif ( $mode == 'do_delete' ) --- 67,71 ---- $this->_linkdb(); $message = $lang['Catedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=cat_manage" ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } }elseif ( $mode == 'do_delete' ) *************** *** 76,80 **** $this->_linkdb(); $message = $lang['Catsdeleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=cat_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( "index.$phpEx?pane=right" ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } }elseif ( $mode == 'cat_order' ) --- 76,80 ---- $this->_linkdb(); $message = $lang['Catsdeleted'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=cat_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( "index.$phpEx?pane=right" ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } }elseif ( $mode == 'cat_order' ) Index: admin_link_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_link_manage.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_link_manage.php 1 Oct 2005 14:14:17 -0000 1.2 --- admin_link_manage.php 24 Oct 2005 20:16:01 -0000 1.3 *************** *** 154,158 **** $message = $lang['Linkadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=link_manage" ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); }elseif ( $mode == 'do_add' && $link_id ) { --- 154,158 ---- $message = $lang['Linkadded'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=link_manage" ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); }elseif ( $mode == 'do_add' && $link_id ) { *************** *** 162,166 **** $mode = 'edit'; $message = $lang['Linkeedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=link_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( "index.$phpEx?pane=right" ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); }elseif ( $mode == 'delete' ) { --- 162,166 ---- $mode = 'edit'; $message = $lang['Linkeedited'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=link_manage" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( "index.$phpEx?pane=right" ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); }elseif ( $mode == 'delete' ) { *************** *** 222,226 **** if ( ( !$result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } --- 222,226 ---- if ( ( !$result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } *************** *** 230,234 **** if ( !( $result = $linkdb_functions->sql_query_limit( $sql, $linkdb_config['settings_link_page'], $start ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } while ( $row = $db->sql_fetchrow( $result ) ) --- 230,234 ---- if ( !( $result = $linkdb_functions->sql_query_limit( $sql, $linkdb_config['settings_link_page'], $start ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } while ( $row = $db->sql_fetchrow( $result ) ) *************** *** 263,267 **** if ( ( !$result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } --- 263,267 ---- if ( ( !$result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } *************** *** 271,275 **** if ( !( $result = $linkdb_functions->sql_query_limit( $sql, $limit, $temp_start ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } --- 271,275 ---- if ( !( $result = $linkdb_functions->sql_query_limit( $sql, $limit, $temp_start ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } *************** *** 291,295 **** if ( ( !$result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } --- 291,295 ---- if ( ( !$result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } *************** *** 299,303 **** if ( !( $result = $linkdb_functions->sql_query_limit( $sql, $limit, $temp_start ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } --- 299,303 ---- if ( !( $result = $linkdb_functions->sql_query_limit( $sql, $limit, $temp_start ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } *************** *** 449,453 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } $file_info = $db->sql_fetchrow( $result ); --- 449,453 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldn\'t get file info', '', __LINE__, __FILE__, $sql ); } $file_info = $db->sql_fetchrow( $result ); Index: admin_setting.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_setting.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_setting.php 1 Oct 2005 14:14:17 -0000 1.2 --- admin_setting.php 24 Oct 2005 20:16:01 -0000 1.3 *************** *** 53,57 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( CRITICAL_ERROR, "Could not query config information in admin_board", "", __LINE__, __FILE__, $sql ); } else --- 53,57 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query config information in admin_board", "", __LINE__, __FILE__, $sql ); } else *************** *** 74,78 **** { $message = $lang['Settings_changed'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=setting" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( "index.$phpEx?pane=right" ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } } --- 74,78 ---- { $message = $lang['Settings_changed'] . '<br /><br />' . sprintf( $lang['Click_return'], '<a href="' . append_sid( "admin_linkdb.$phpEx?action=setting" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( "index.$phpEx?pane=right" ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:16:08
|
Update of /cvsroot/mxbb/mx_linkdb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1103/modules/mx_linkdb Modified Files: db_upgrade.php linkdb.php Log Message: replaced all message_die with mx_message_die Index: linkdb.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** linkdb.php 23 Oct 2005 18:50:40 -0000 1.3 --- linkdb.php 24 Oct 2005 20:16:01 -0000 1.4 *************** *** 39,43 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Could not query Smartor_Album module information", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ); --- 39,43 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Could not query Smartor_Album module information", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ); Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/db_upgrade.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** db_upgrade.php 1 Oct 2005 14:14:17 -0000 1.6 --- db_upgrade.php 24 Oct 2005 20:16:01 -0000 1.7 *************** *** 136,140 **** if ( !( $result = $db->sql_query( $sqltmp ) ) ) { ! message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } --- 136,140 ---- if ( !( $result = $db->sql_query( $sqltmp ) ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } *************** *** 148,152 **** if ( !( $result = $db->sql_query( $sqltmp2 ) ) ) { ! message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } --- 148,152 ---- if ( !( $result = $db->sql_query( $sqltmp2 ) ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:15:42
|
Update of /cvsroot/mxbb/mx_kb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv824/modules/mx_kb/admin Modified Files: admin_kb_art.php admin_kb_cat.php admin_kb_config.php admin_kb_types.php mx_module_defs.php Log Message: replaced all message_die with mx_message_die Index: admin_kb_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb_cat.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** admin_kb_cat.php 1 Oct 2005 14:13:46 -0000 1.17 --- admin_kb_cat.php 24 Oct 2005 20:15:32 -0000 1.18 *************** *** 88,92 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Couldn't get list of forums", "", __LINE__, __FILE__, $sql ); } --- 88,92 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't get list of forums", "", __LINE__, __FILE__, $sql ); } *************** *** 256,260 **** $message = $lang['Cat_created'] . '<br /><br />' . sprintf( $lang['Click_return_cat_manager'], '<a href="' . append_sid( "admin_kb_cat.$phpEx" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } break; --- 256,260 ---- $message = $lang['Cat_created'] . '<br /><br />' . sprintf( $lang['Click_return_cat_manager'], '<a href="' . append_sid( "admin_kb_cat.$phpEx" ) . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } break; Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/mx_module_defs.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mx_module_defs.php 22 Oct 2005 10:54:06 -0000 1.5 --- mx_module_defs.php 24 Oct 2005 20:15:32 -0000 1.6 *************** *** 108,112 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Couldn't obtain forums information.", "", __LINE__, __FILE__, $sql ); } --- 108,112 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't obtain forums information.", "", __LINE__, __FILE__, $sql ); } Index: admin_kb_art.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb_art.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** admin_kb_art.php 1 Oct 2005 14:13:46 -0000 1.24 --- admin_kb_art.php 24 Oct 2005 20:15:32 -0000 1.25 *************** *** 88,92 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( CRITICAL_ERROR, "Could not query config information in kb_config", "", __LINE__, __FILE__, $sql ); } else --- 88,92 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query config information in kb_config", "", __LINE__, __FILE__, $sql ); } else *************** *** 181,185 **** $message = $lang['Article_approved'] . '<br /><br />' . sprintf( $lang['Click_return_article_manager'], '<a href="' . append_sid( "admin_kb_art.$phpEx" ) . "&start=" . $start . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); break; --- 181,185 ---- $message = $lang['Article_approved'] . '<br /><br />' . sprintf( $lang['Click_return_article_manager'], '<a href="' . append_sid( "admin_kb_art.$phpEx" ) . "&start=" . $start . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); break; *************** *** 201,205 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain article category", '', __LINE__, __FILE__, $sql ); } --- 201,205 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain article category", '', __LINE__, __FILE__, $sql ); } *************** *** 213,217 **** $message = $lang['Article_unapproved'] . '<br /><br />' . sprintf( $lang['Click_return_article_manager'], '<a href="' . append_sid( "admin_kb_art.$phpEx" ) . "&start=" . $start . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); break; --- 213,217 ---- $message = $lang['Article_unapproved'] . '<br /><br />' . sprintf( $lang['Click_return_article_manager'], '<a href="' . append_sid( "admin_kb_art.$phpEx" ) . "&start=" . $start . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); break; *************** *** 226,230 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain article category", '', __LINE__, __FILE__, $sql ); } --- 226,230 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain article category", '', __LINE__, __FILE__, $sql ); } *************** *** 249,253 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not get poster id information', '', __LINE__, __FILE__, $sql ); } --- 249,253 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not get poster id information', '', __LINE__, __FILE__, $sql ); } *************** *** 267,271 **** if ( !$db->sql_query( $count_sql[$i] ) ) { ! message_die( GENERAL_ERROR, 'Could not update user post count information', '', __LINE__, __FILE__, $sql ); } } --- 267,271 ---- if ( !$db->sql_query( $count_sql[$i] ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not update user post count information', '', __LINE__, __FILE__, $sql ); } } *************** *** 278,282 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not get forum id information', '', __LINE__, __FILE__, $sql ); } --- 278,282 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not get forum id information', '', __LINE__, __FILE__, $sql ); } *************** *** 293,297 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not get post id information', '', __LINE__, __FILE__, $sql ); } --- 293,297 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not get post id information', '', __LINE__, __FILE__, $sql ); } *************** *** 315,319 **** if ( !$db->sql_query( $sql, BEGIN_TRANSACTION ) ) { ! message_die( GENERAL_ERROR, 'Could not delete topics', '', __LINE__, __FILE__, $sql ); } --- 315,319 ---- if ( !$db->sql_query( $sql, BEGIN_TRANSACTION ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete topics', '', __LINE__, __FILE__, $sql ); } *************** *** 325,329 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not delete posts', '', __LINE__, __FILE__, $sql ); } --- 325,329 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete posts', '', __LINE__, __FILE__, $sql ); } *************** *** 335,339 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not delete posts text', '', __LINE__, __FILE__, $sql ); } } --- 335,339 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete posts text', '', __LINE__, __FILE__, $sql ); } } *************** *** 347,351 **** if ( !$db->sql_query( $sql, END_TRANSACTION ) ) { ! message_die( GENERAL_ERROR, 'Could not delete watched post list', '', __LINE__, __FILE__, $sql ); } if ( !empty( $forum_id ) ) --- 347,351 ---- if ( !$db->sql_query( $sql, END_TRANSACTION ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete watched post list', '', __LINE__, __FILE__, $sql ); } if ( !empty( $forum_id ) ) *************** *** 372,381 **** $message = $lang['Article_deleted'] . '<br /><br />' . sprintf( $lang['Click_return_article_manager'], '<a href="' . append_sid( "admin_kb_art.$phpEx" ) . "&start=" . $start . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } else { $message = $lang['Confirm_art_delete'] . '<br /><br />' . sprintf( $lang['Confirm_art_delete_yes'], '<a href="' . append_sid( "admin_kb_art.$phpEx" ) . "&mode=delete&c=yes&a=" . $article_id . "&start=" . $start . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Confirm_art_delete_no'], '<a href="' . append_sid( "admin_kb_art.$phpEx" ) . "&start=" . $start . '">', '</a>' ); ! message_die( GENERAL_MESSAGE, $message ); } break; --- 372,381 ---- $message = $lang['Article_deleted'] . '<br /><br />' . sprintf( $lang['Click_return_article_manager'], '<a href="' . append_sid( "admin_kb_art.$phpEx" ) . "&start=" . $start . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Click_return_admin_index'], '<a href="' . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } else { $message = $lang['Confirm_art_delete'] . '<br /><br />' . sprintf( $lang['Confirm_art_delete_yes'], '<a href="' . append_sid( "admin_kb_art.$phpEx" ) . "&mode=delete&c=yes&a=" . $article_id . "&start=" . $start . '">', '</a>' ) . '<br /><br />' . sprintf( $lang['Confirm_art_delete_no'], '<a href="' . append_sid( "admin_kb_art.$phpEx" ) . "&start=" . $start . '">', '</a>' ); ! mx_message_die( GENERAL_MESSAGE, $message ); } break; Index: admin_kb_types.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb_types.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** admin_kb_types.php 1 Oct 2005 14:13:46 -0000 1.15 --- admin_kb_types.php 24 Oct 2005 20:15:32 -0000 1.16 *************** *** 96,100 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Couldn't get list of types", "", __LINE__, __FILE__, $sql ); } --- 96,100 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't get list of types", "", __LINE__, __FILE__, $sql ); } Index: admin_kb_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb_config.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** admin_kb_config.php 1 Oct 2005 14:13:46 -0000 1.23 --- admin_kb_config.php 24 Oct 2005 20:15:32 -0000 1.24 *************** *** 85,89 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( CRITICAL_ERROR, "Could not query knowledge base configuration information", "", __LINE__, __FILE__, $sql ); } else --- 85,89 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query knowledge base configuration information", "", __LINE__, __FILE__, $sql ); } else *************** *** 113,117 **** $message = $lang['KB_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_kb_config'], "<a href=\"" . append_sid( "admin_kb_config.$phpEx?mode=config" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); ! message_die( GENERAL_MESSAGE, $message ); } } --- 113,117 ---- $message = $lang['KB_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_kb_config'], "<a href=\"" . append_sid( "admin_kb_config.$phpEx?mode=config" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); ! mx_message_die( GENERAL_MESSAGE, $message ); } } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:15:41
|
Update of /cvsroot/mxbb/mx_kb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv824/modules/mx_kb/includes Modified Files: functions_kb.php functions_kb_auth.php functions_kb_mx.php kb_article.php kb_rate.php Log Message: replaced all message_die with mx_message_die Index: kb_rate.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/includes/kb_rate.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** kb_rate.php 1 Oct 2005 14:13:47 -0000 1.12 --- kb_rate.php 24 Oct 2005 20:15:32 -0000 1.13 *************** *** 32,36 **** else { ! // message_die(GENERAL_MESSAGE, 'no category'); } --- 32,36 ---- else { ! // mx_message_die(GENERAL_MESSAGE, 'no category'); } *************** *** 41,45 **** else { ! message_die( GENERAL_MESSAGE, 'no article' ); } --- 41,45 ---- else { ! mx_message_die( GENERAL_MESSAGE, 'no article' ); } *************** *** 73,77 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query Article info', '', __LINE__, __FILE__, $sql ); } $article = $db->sql_fetchrow( $result ); --- 73,77 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query Article info', '', __LINE__, __FILE__, $sql ); } $article = $db->sql_fetchrow( $result ); *************** *** 80,84 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Query category info for this article', '', __LINE__, __FILE__, $sql ); } $category = $db->sql_fetchrow( $result ); --- 80,84 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Query category info for this article', '', __LINE__, __FILE__, $sql ); } $category = $db->sql_fetchrow( $result ); *************** *** 165,169 **** if ( !( $insert = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Couldnt Update rating table', '', __LINE__, __FILE__, $sql ); } --- 165,169 ---- if ( !( $insert = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Couldnt Update rating table', '', __LINE__, __FILE__, $sql ); } *************** *** 199,203 **** } ! message_die( GENERAL_MESSAGE, $message ); } else --- 199,203 ---- } ! mx_message_die( GENERAL_MESSAGE, $message ); } else Index: functions_kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/includes/functions_kb.php,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** functions_kb.php 1 Oct 2005 14:13:47 -0000 1.35 --- functions_kb.php 24 Oct 2005 20:15:32 -0000 1.36 *************** *** 116,120 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain article type data", '', __LINE__, __FILE__, $sql ); } --- 116,120 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain article type data", '', __LINE__, __FILE__, $sql ); } *************** *** 139,143 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! // message_die(GENERAL_ERROR, "Could not obtain category data", '', __LINE__, __FILE__, $sql); } --- 139,143 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! // mx_message_die(GENERAL_ERROR, "Could not obtain category data", '', __LINE__, __FILE__, $sql); } *************** *** 160,164 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain category data", '', __LINE__, __FILE__, $sql ); } --- 160,164 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain category data", '', __LINE__, __FILE__, $sql ); } *************** *** 224,228 **** if ( !( $article_result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain article data", '', __LINE__, __FILE__, $sql ); } --- 224,228 ---- if ( !( $article_result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain article data", '', __LINE__, __FILE__, $sql ); } *************** *** 522,526 **** if ( !( $results = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain article data", '', __LINE__, __FILE__, $sql ); } --- 522,526 ---- if ( !( $results = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain article data", '', __LINE__, __FILE__, $sql ); } *************** *** 668,672 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_MESSAGE, $lang['No_such_user']); } --- 668,672 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_MESSAGE, $lang['No_such_user']); } *************** *** 685,689 **** if ( !$result = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not find oldest privmsgs (inbox)', '', __LINE__, __FILE__, $sql); } $old_privmsgs_id = $db->sql_fetchrow($result); --- 685,689 ---- if ( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not find oldest privmsgs (inbox)', '', __LINE__, __FILE__, $sql); } $old_privmsgs_id = $db->sql_fetchrow($result); *************** *** 694,698 **** if ( !$db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not delete oldest privmsgs (inbox)'.$sql, '', __LINE__, __FILE__, $sql); } --- 694,698 ---- if ( !$db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not delete oldest privmsgs (inbox)'.$sql, '', __LINE__, __FILE__, $sql); } *************** *** 701,705 **** if ( !$db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql); } } --- 701,705 ---- if ( !$db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql); } } *************** *** 711,715 **** if ( !($result = $db->sql_query($sql_info, BEGIN_TRANSACTION)) ) { ! message_die(GENERAL_ERROR, "Could not insert/update private message sent info.", "", __LINE__, __FILE__, $sql_info); } --- 711,715 ---- if ( !($result = $db->sql_query($sql_info, BEGIN_TRANSACTION)) ) { ! mx_message_die(GENERAL_ERROR, "Could not insert/update private message sent info.", "", __LINE__, __FILE__, $sql_info); } *************** *** 721,725 **** if ( !$db->sql_query($sql, END_TRANSACTION) ) { ! message_die(GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql); } --- 721,725 ---- if ( !$db->sql_query($sql, END_TRANSACTION) ) { ! mx_message_die(GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql); } *************** *** 732,736 **** if ( !$status = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not update private message new/read status for user', '', __LINE__, __FILE__, $sql); } --- 732,736 ---- if ( !$status = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not update private message new/read status for user', '', __LINE__, __FILE__, $sql); } *************** *** 769,773 **** $msg = $lang['Message_sent'] . '<br /><br />' . sprintf($lang['Click_return_inbox'], '<a href="' . append_sid("privmsg.$phpEx?folder=inbox") . '">', '</a> ') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); ! message_die(GENERAL_MESSAGE, $msg); } // insert_pm() --- 769,773 ---- $msg = $lang['Message_sent'] . '<br /><br />' . sprintf($lang['Click_return_inbox'], '<a href="' . append_sid("privmsg.$phpEx?folder=inbox") . '">', '</a> ') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); ! mx_message_die(GENERAL_MESSAGE, $msg); } // insert_pm() *************** *** 868,872 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain category data", '', __LINE__, __FILE__, $sql ); } --- 868,872 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain category data", '', __LINE__, __FILE__, $sql ); } *************** *** 945,954 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain sub-category data", '', __LINE__, __FILE__, $sql ); } if ( !( $result2 = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain sub-category data", '', __LINE__, __FILE__, $sql ); } --- 945,954 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain sub-category data", '', __LINE__, __FILE__, $sql ); } if ( !( $result2 = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain sub-category data", '', __LINE__, __FILE__, $sql ); } *************** *** 1048,1052 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain sub-category data", '', __LINE__, __FILE__, $sql ); } --- 1048,1052 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain sub-category data", '', __LINE__, __FILE__, $sql ); } *************** *** 1119,1123 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain sub-category data", '', __LINE__, __FILE__, $sql ); } --- 1119,1123 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain sub-category data", '', __LINE__, __FILE__, $sql ); } *************** *** 1343,1347 **** $bbcode_uid = ($bbcode_on) ? make_bbcode_uid() : ''; ! $error_die_function = ($error_die_function == '') ? "message_die" : $error_die_function; $current_time = ($current_time == 0) ? time() : $current_time; --- 1343,1347 ---- $bbcode_uid = ($bbcode_on) ? make_bbcode_uid() : ''; ! $error_die_function = ($error_die_function == '') ? "mx_message_die" : $error_die_function; $current_time = ($current_time == 0) ? time() : $current_time; *************** *** 1453,1457 **** if ( !( $result = $db->sql_query( $sql, BEGIN_TRANSACTION ) ) ) { ! message_die( GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql ); } --- 1453,1457 ---- if ( !( $result = $db->sql_query( $sql, BEGIN_TRANSACTION ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql ); } *************** *** 1466,1470 **** if ( !( $result = $db->sql_query( $sql, BEGIN_TRANSACTION ) ) ) { ! message_die( GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql ); } // End kb addon coe ---------------------------------------------------------- --- 1466,1470 ---- if ( !( $result = $db->sql_query( $sql, BEGIN_TRANSACTION ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql ); } // End kb addon coe ---------------------------------------------------------- *************** *** 1546,1550 **** if ( $topic_id == '' ) { ! message_die( GENERAL_MESSAGE, 'no topic id' ); } --- 1546,1550 ---- if ( $topic_id == '' ) { ! mx_message_die( GENERAL_MESSAGE, 'no topic id' ); } *************** *** 1568,1572 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain post/user information.", '', __LINE__, __FILE__, $sql ); } --- 1568,1572 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain post/user information.", '', __LINE__, __FILE__, $sql ); } Index: kb_article.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/includes/kb_article.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** kb_article.php 1 Oct 2005 14:13:47 -0000 1.23 --- kb_article.php 24 Oct 2005 20:15:32 -0000 1.24 *************** *** 33,37 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not obtain article data", '', __LINE__, __FILE__, $sql ); } --- 33,37 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not obtain article data", '', __LINE__, __FILE__, $sql ); } *************** *** 142,146 **** if ( !( $result2 = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not update article's views", '', __LINE__, __FILE__, $sql ); } --- 142,146 ---- if ( !( $result2 = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not update article's views", '', __LINE__, __FILE__, $sql ); } Index: functions_kb_mx.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/includes/functions_kb_mx.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** functions_kb_mx.php 1 Oct 2005 14:13:47 -0000 1.6 --- functions_kb_mx.php 24 Oct 2005 20:15:32 -0000 1.7 *************** *** 93,97 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not query group rights information", '', '', '', '' ); } --- 93,97 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not query group rights information", '', '', '', '' ); } *************** *** 112,116 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Could not query group rights information", '', '', '', '' ); } --- 112,116 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Could not query group rights information", '', '', '', '' ); } Index: functions_kb_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/includes/functions_kb_auth.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** functions_kb_auth.php 1 Oct 2005 14:13:47 -0000 1.4 --- functions_kb_auth.php 24 Oct 2005 20:15:32 -0000 1.5 *************** *** 112,116 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Failed obtaining forum access control lists', '', __LINE__, __FILE__, $sql); } --- 112,116 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Failed obtaining forum access control lists', '', __LINE__, __FILE__, $sql); } *************** *** 138,142 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Failed obtaining forum access control lists', '', __LINE__, __FILE__, $sql); } --- 138,142 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Failed obtaining forum access control lists', '', __LINE__, __FILE__, $sql); } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:15:41
|
Update of /cvsroot/mxbb/mx_kb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv824/modules/mx_kb Modified Files: kb.php kb_article_reader.php Log Message: replaced all message_die with mx_message_die Index: kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** kb.php 23 Oct 2005 18:50:22 -0000 1.23 --- kb.php 24 Oct 2005 20:15:33 -0000 1.24 *************** *** 182,186 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( CRITICAL_ERROR, "Could not query config information in kb_config", "", __LINE__, __FILE__, $sql ); } else --- 182,186 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query config information in kb_config", "", __LINE__, __FILE__, $sql ); } else Index: kb_article_reader.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_article_reader.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** kb_article_reader.php 23 Oct 2005 18:50:22 -0000 1.9 --- kb_article_reader.php 24 Oct 2005 20:15:33 -0000 1.10 *************** *** 78,82 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Could not query Smartor_Album module information", "", __LINE__, __FILE__, $sql ); } $tmp_row = $db->sql_fetchrow( $result ); --- 78,82 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Could not query Smartor_Album module information", "", __LINE__, __FILE__, $sql ); } $tmp_row = $db->sql_fetchrow( $result ); *************** *** 175,179 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( CRITICAL_ERROR, "Could not query config information in kb_config", "", __LINE__, __FILE__, $sql ); } else --- 175,179 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query config information in kb_config", "", __LINE__, __FILE__, $sql ); } else |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:15:10
|
Update of /cvsroot/mxbb/mx_import_tools/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv721/modules/mx_import_tools/includes Modified Files: functions_mod_user.php Log Message: replaced all message_die with mx_message_die Index: functions_mod_user.php =================================================================== RCS file: /cvsroot/mxbb/mx_import_tools/includes/functions_mod_user.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** functions_mod_user.php 1 Oct 2005 14:13:17 -0000 1.3 --- functions_mod_user.php 24 Oct 2005 20:14:59 -0000 1.4 *************** *** 165,174 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql ); } if ( !( $row = $db->sql_fetchrow( $result ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql ); } $this->user_id = $row['total'] + 1; --- 165,174 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql ); } if ( !( $row = $db->sql_fetchrow( $result ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql ); } $this->user_id = $row['total'] + 1; *************** *** 235,244 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } if ( !( $row = $db->sql_fetchrow( $result ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } $this->user_id = $row['user_id']; --- 235,244 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } if ( !( $row = $db->sql_fetchrow( $result ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } $this->user_id = $row['user_id']; *************** *** 259,263 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } --- 259,263 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } *************** *** 297,306 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } if ( !( $row = $db->sql_fetchrow( $result ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } $this->user_id = $row['user_id']; --- 297,306 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } if ( !( $row = $db->sql_fetchrow( $result ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } $this->user_id = $row['user_id']; *************** *** 379,383 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Couldn't get list of groups", "", __LINE__, __FILE__, $sql ); } --- 379,383 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't get list of groups", "", __LINE__, __FILE__, $sql ); } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:15:08
|
Update of /cvsroot/mxbb/mx_import_tools/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv721/modules/mx_import_tools/admin Modified Files: admin_import_members.php Log Message: replaced all message_die with mx_message_die Index: admin_import_members.php =================================================================== RCS file: /cvsroot/mxbb/mx_import_tools/admin/admin_import_members.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_import_members.php 1 Oct 2005 14:13:17 -0000 1.3 --- admin_import_members.php 24 Oct 2005 20:14:59 -0000 1.4 *************** *** 75,79 **** if ( !( $file_handle = fopen( '../import/' . $file_name, 'r' ) ) ) { ! message_die( GENERAL_ERROR, sprintf( $lang['import_file_missing_details'], $file_name ), $lang['import_file_missing'] ); } // Loop through and read the whole file into an array using fgetcsv --- 75,79 ---- if ( !( $file_handle = fopen( '../import/' . $file_name, 'r' ) ) ) { ! mx_message_die( GENERAL_ERROR, sprintf( $lang['import_file_missing_details'], $file_name ), $lang['import_file_missing'] ); } // Loop through and read the whole file into an array using fgetcsv |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:14:41
|
Update of /cvsroot/mxbb/mx_errordocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv645/modules/mx_errordocs Modified Files: db_install.php db_uninstall.php errordocs.php Log Message: replaced all message_die with mx_message_die Index: errordocs.php =================================================================== RCS file: /cvsroot/mxbb/mx_errordocs/errordocs.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** errordocs.php 23 Oct 2005 18:49:39 -0000 1.2 --- errordocs.php 24 Oct 2005 20:14:32 -0000 1.3 *************** *** 52,56 **** if( !$result = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, "Could not query ErrorDocs module information", "", __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); --- 52,56 ---- if( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, "Could not query ErrorDocs module information", "", __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_errordocs/db_install.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_install.php 22 Oct 2005 12:40:53 -0000 1.1 --- db_install.php 24 Oct 2005 20:14:32 -0000 1.2 *************** *** 51,55 **** if( !defined('ERRORDOCS_LOG_TABLE') ) { ! message_die(GENERAL_ERROR, "Couldn't load file includes/common.$phpEx", "", __LINE__, __FILE__); } --- 51,55 ---- if( !defined('ERRORDOCS_LOG_TABLE') ) { ! mx_message_die(GENERAL_ERROR, "Couldn't load file includes/common.$phpEx", "", __LINE__, __FILE__); } Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_errordocs/db_uninstall.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_uninstall.php 22 Oct 2005 12:40:53 -0000 1.1 --- db_uninstall.php 24 Oct 2005 20:14:32 -0000 1.2 *************** *** 51,55 **** if( !defined('ERRORDOCS_LOG_TABLE') ) { ! message_die(GENERAL_ERROR, "Couldn't load file includes/common.$phpEx", "", __LINE__, __FILE__); } --- 51,55 ---- if( !defined('ERRORDOCS_LOG_TABLE') ) { ! mx_message_die(GENERAL_ERROR, "Couldn't load file includes/common.$phpEx", "", __LINE__, __FILE__); } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:14:40
|
Update of /cvsroot/mxbb/mx_errordocs/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv645/modules/mx_errordocs/includes Modified Files: common.php Log Message: replaced all message_die with mx_message_die Index: common.php =================================================================== RCS file: /cvsroot/mxbb/mx_errordocs/includes/common.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** common.php 22 Oct 2005 12:40:53 -0000 1.1 --- common.php 24 Oct 2005 20:14:33 -0000 1.2 *************** *** 187,191 **** if( $userdata['user_level'] == ADMIN ) { ! message_die(GENERAL_ERROR, "Couldn't insert data into ErrorDocs table", '', __LINE__, __FILE__, $sql); } return FALSE; --- 187,191 ---- if( $userdata['user_level'] == ADMIN ) { ! mx_message_die(GENERAL_ERROR, "Couldn't insert data into ErrorDocs table", '', __LINE__, __FILE__, $sql); } return FALSE; |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:14:40
|
Update of /cvsroot/mxbb/mx_errordocs/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv645/modules/mx_errordocs/admin Modified Files: admin_errordocs_log.php Log Message: replaced all message_die with mx_message_die Index: admin_errordocs_log.php =================================================================== RCS file: /cvsroot/mxbb/mx_errordocs/admin/admin_errordocs_log.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_errordocs_log.php 22 Oct 2005 12:40:53 -0000 1.1 --- admin_errordocs_log.php 24 Oct 2005 20:14:32 -0000 1.2 *************** *** 68,72 **** if( !$result = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, "Couldn't DELETE ErrorDocs LOG record", "", __LINE__, __FILE__, $sql); } break; --- 68,72 ---- if( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, "Couldn't DELETE ErrorDocs LOG record", "", __LINE__, __FILE__, $sql); } break; *************** *** 75,79 **** if( !$result = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, "Couldn't DELETE ErrorDocs LOG records", "", __LINE__, __FILE__, $sql); } break; --- 75,79 ---- if( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, "Couldn't DELETE ErrorDocs LOG records", "", __LINE__, __FILE__, $sql); } break; *************** *** 109,113 **** if( !$result = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, "Couldn't retrieve ErrorDocs LOG data", "", __LINE__, __FILE__, $sql); } $log_count = $db->sql_numrows($result); --- 109,113 ---- if( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, "Couldn't retrieve ErrorDocs LOG data", "", __LINE__, __FILE__, $sql); } $log_count = $db->sql_numrows($result); |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:14:23
|
Update of /cvsroot/mxbb/mx_dev_startkit/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv599/modules/mx_dev_startkit/admin Modified Files: admin_dev_startkit.php Log Message: replaced all message_die with mx_message_die Index: admin_dev_startkit.php =================================================================== RCS file: /cvsroot/mxbb/mx_dev_startkit/admin/admin_dev_startkit.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_dev_startkit.php 22 Oct 2005 22:42:31 -0000 1.1 --- admin_dev_startkit.php 24 Oct 2005 20:14:15 -0000 1.2 *************** *** 44,48 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Couldn't query dev startkit config table", "", __LINE__, __FILE__, $sql ); } else --- 44,48 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't query dev startkit config table", "", __LINE__, __FILE__, $sql ); } else *************** *** 64,68 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Failed to update startkit configuration for $config_name", "", __LINE__, __FILE__, $sql ); } } --- 64,68 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Failed to update startkit configuration for $config_name", "", __LINE__, __FILE__, $sql ); } } *************** *** 72,76 **** { $message = $lang['Startkit_config_updated'] . "<br /><br />" . sprintf( $lang['Startkit_return_config'], "<a href=\"" . append_sid( "admin_dev_startkit.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); ! message_die( GENERAL_MESSAGE, $message ); } } --- 72,76 ---- { $message = $lang['Startkit_config_updated'] . "<br /><br />" . sprintf( $lang['Startkit_return_config'], "<a href=\"" . append_sid( "admin_dev_startkit.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); ! mx_message_die( GENERAL_MESSAGE, $message ); } } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:14:23
|
Update of /cvsroot/mxbb/mx_dev_startkit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv599/modules/mx_dev_startkit Modified Files: mx_dev_startkit.php Log Message: replaced all message_die with mx_message_die Index: mx_dev_startkit.php =================================================================== RCS file: /cvsroot/mxbb/mx_dev_startkit/mx_dev_startkit.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_dev_startkit.php 22 Oct 2005 22:42:31 -0000 1.2 --- mx_dev_startkit.php 24 Oct 2005 20:14:15 -0000 1.3 *************** *** 117,121 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql ); } else --- 117,121 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql ); } else *************** *** 151,155 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( CRITICAL_ERROR, "Could not query module information", "", __LINE__, __FILE__, $sql ); } $results = $db->sql_fetchrow( $result ); --- 151,155 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query module information", "", __LINE__, __FILE__, $sql ); } $results = $db->sql_fetchrow( $result ); |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:14:06
|
Update of /cvsroot/mxbb/mx_calsnails/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv546/modules/mx_calsnails/includes Modified Files: mx_common.php Log Message: replaced all message_die with mx_message_die Index: mx_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/mx_common.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mx_common.php 1 Oct 2005 14:12:12 -0000 1.7 --- mx_common.php 24 Oct 2005 20:13:55 -0000 1.8 *************** *** 49,53 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, "Couldn't query calendar config table", "", __LINE__, __FILE__, $sql ); } else --- 49,53 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't query calendar config table", "", __LINE__, __FILE__, $sql ); } else |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:14:04
|
Update of /cvsroot/mxbb/mx_calsnails/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv546/modules/mx_calsnails/admin Modified Files: admin_calendar.php Log Message: replaced all message_die with mx_message_die Index: admin_calendar.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/admin/admin_calendar.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** admin_calendar.php 1 Oct 2005 14:12:12 -0000 1.9 --- admin_calendar.php 24 Oct 2005 20:13:55 -0000 1.10 *************** *** 71,75 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Couldn't query calendar config table", "", __LINE__, __FILE__, $sql ); } else --- 71,75 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't query calendar config table", "", __LINE__, __FILE__, $sql ); } else *************** *** 89,93 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Failed to update calendar configuration for $config_name", "", __LINE__, __FILE__, $sql ); } } --- 89,93 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Failed to update calendar configuration for $config_name", "", __LINE__, __FILE__, $sql ); } } *************** *** 97,101 **** { $message = $lang['Cal_config_updated'] . "<br /><br />" . sprintf( $lang['Cal_return_config'], "<a href=\"" . append_sid( "admin_calendar.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); ! message_die( GENERAL_MESSAGE, $message ); } } --- 97,101 ---- { $message = $lang['Cal_config_updated'] . "<br /><br />" . sprintf( $lang['Cal_return_config'], "<a href=\"" . append_sid( "admin_calendar.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); ! mx_message_die( GENERAL_MESSAGE, $message ); } } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:14:03
|
Update of /cvsroot/mxbb/mx_calsnails In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv546/modules/mx_calsnails Modified Files: calendar.php db_install.php db_upgrade.php mx_calendar_events.php mx_calendar_query.php Log Message: replaced all message_die with mx_message_die Index: mx_calendar_events.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/mx_calendar_events.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** mx_calendar_events.php 23 Oct 2005 18:49:18 -0000 1.13 --- mx_calendar_events.php 24 Oct 2005 20:13:55 -0000 1.14 *************** *** 163,167 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not select Event data', '', __LINE__, __FILE__, $sql ); } --- 163,167 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not select Event data', '', __LINE__, __FILE__, $sql ); } Index: mx_calendar_query.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/mx_calendar_query.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_calendar_query.php 23 Oct 2005 18:49:18 -0000 1.8 --- mx_calendar_query.php 24 Oct 2005 20:13:55 -0000 1.9 *************** *** 78,82 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not select Event data', '', __LINE__, __FILE__, $sql ); } $check = 0; --- 78,82 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not select Event data', '', __LINE__, __FILE__, $sql ); } $check = 0; Index: calendar.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/calendar.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** calendar.php 23 Oct 2005 18:49:18 -0000 1.18 --- calendar.php 24 Oct 2005 20:13:55 -0000 1.19 *************** *** 96,100 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Could not query CalSnails module information", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ); --- 96,100 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Could not query CalSnails module information", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ); *************** *** 237,241 **** if(!$result = $db->sql_query($sql)) { ! message_die(GENERAL_ERROR, "Couldn't query calendar config table", "", __LINE__, __FILE__, $sql); } else --- 237,241 ---- if(!$result = $db->sql_query($sql)) { ! mx_message_die(GENERAL_ERROR, "Couldn't query calendar config table", "", __LINE__, __FILE__, $sql); } else *************** *** 334,338 **** // $er_msg = $lang['Cal_not_enough_access']; // $er_msg .= $lang['Cal_must_member']; ! // message_die(GENERAL_MESSAGE, $er_msg); // } --- 334,338 ---- // $er_msg = $lang['Cal_not_enough_access']; // $er_msg .= $lang['Cal_must_member']; ! // mx_message_die(GENERAL_MESSAGE, $er_msg); // } *************** *** 514,518 **** if ( !( $query = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not validate events', '', __LINE__, __FILE__, $sql ); } } --- 514,518 ---- if ( !( $query = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not validate events', '', __LINE__, __FILE__, $sql ); } } *************** *** 521,525 **** $url = append_sid( this_mxurl( "month=" . $month . "&year=" . $year ) ); $message .= "</br></br><a href='" . $url . "'>" . $lang['Cal_back2cal'] . "</a>"; ! message_die( GENERAL_MESSAGE, $message, '', __LINE__, __FILE__, '' ); // end of case break; --- 521,525 ---- $url = append_sid( this_mxurl( "month=" . $month . "&year=" . $year ) ); $message .= "</br></br><a href='" . $url . "'>" . $lang['Cal_back2cal'] . "</a>"; ! mx_message_die( GENERAL_MESSAGE, $message, '', __LINE__, __FILE__, '' ); // end of case break; *************** *** 530,534 **** if ( !( $query = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not get events list to validate', '', __LINE__, __FILE__, $sql ); } $url = append_sid( this_mxurl( "month=" . $month . "&year=" . $year ) ); --- 530,534 ---- if ( !( $query = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not get events list to validate', '', __LINE__, __FILE__, $sql ); } $url = append_sid( this_mxurl( "month=" . $month . "&year=" . $year ) ); *************** *** 614,618 **** if ( !$id ) { ! message_die( GENERAL_ERROR, $lang['Cal_must_sel_event'], '', __LINE__, __FILE__, $sql ); } $sql = "SELECT event_id, user_id FROM " . CALLITE_EVENTS_TABLE . " WHERE event_id = '$id'"; --- 614,618 ---- if ( !$id ) { ! mx_message_die( GENERAL_ERROR, $lang['Cal_must_sel_event'], '', __LINE__, __FILE__, $sql ); } $sql = "SELECT event_id, user_id FROM " . CALLITE_EVENTS_TABLE . " WHERE event_id = '$id'"; *************** *** 623,627 **** if ( !( $query = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not select event to delete from Table', '', __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $query ); --- 623,627 ---- if ( !( $query = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not select event to delete from Table', '', __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $query ); *************** *** 631,635 **** if ( !( $query = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could Not delete event from Table', '', __LINE__, __FILE__, $sql ); } else --- 631,635 ---- if ( !( $query = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could Not delete event from Table', '', __LINE__, __FILE__, $sql ); } else *************** *** 637,641 **** $url = append_sid( this_mxurl() ); $message = $lang['Cal_event_delete'] . "<br><br><a href='" . $url . "'>" . $lang['Cal_back2cal'] . "</a>"; ! message_die( GENERAL_MESSAGE, $message, '', __LINE__, __FILE__, $sql ); } } --- 637,641 ---- $url = append_sid( this_mxurl() ); $message = $lang['Cal_event_delete'] . "<br><br><a href='" . $url . "'>" . $lang['Cal_back2cal'] . "</a>"; ! mx_message_die( GENERAL_MESSAGE, $message, '', __LINE__, __FILE__, $sql ); } } *************** *** 643,647 **** { // Failed ! message_die( GENERAL_ERROR, $lang['Cal_delete_event'], '', __LINE__, __FILE__, $sql ); } } --- 643,647 ---- { // Failed ! mx_message_die( GENERAL_ERROR, $lang['Cal_delete_event'], '', __LINE__, __FILE__, $sql ); } } *************** *** 668,672 **** if ( !$id ) { ! message_die( GENERAL_ERROR, $lang['Cal_must_sel_event'], '', __LINE__, __FILE__, '' ); } $sql = "SELECT *, SUBSTRING(stamp FROM 12 FOR 5) AS thetime, --- 668,672 ---- if ( !$id ) { ! mx_message_die( GENERAL_ERROR, $lang['Cal_must_sel_event'], '', __LINE__, __FILE__, '' ); } $sql = "SELECT *, SUBSTRING(stamp FROM 12 FOR 5) AS thetime, *************** *** 681,685 **** { // CHECK echo "<B>".mysql_error()."</B><BR><BR>"; exit; ! message_die( GENERAL_ERROR, 'Could not select event to modify from Table', '', __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $query ); --- 681,685 ---- { // CHECK echo "<B>".mysql_error()."</B><BR><BR>"; exit; ! mx_message_die( GENERAL_ERROR, 'Could not select event to modify from Table', '', __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $query ); *************** *** 805,809 **** else { ! message_die( GENERAL_ERROR, $lang['Cal_edit_own_event'], '', __LINE__, __FILE__, $sql ); } } --- 805,809 ---- else { ! mx_message_die( GENERAL_ERROR, $lang['Cal_edit_own_event'], '', __LINE__, __FILE__, $sql ); } } *************** *** 961,970 **** if ( !checkdate( $month, $day, $year ) ) { ! message_die( GENERAL_ERROR, $lang['Invalid date'] ); } // Valid End Date? if ( !checkdate( $endmonth, $endday, $endyear ) ) { ! message_die( GENERAL_ERROR, $lang['Invalid date'] ); } // Valid Time? --- 961,970 ---- if ( !checkdate( $month, $day, $year ) ) { ! mx_message_die( GENERAL_ERROR, $lang['Invalid date'] ); } // Valid End Date? if ( !checkdate( $endmonth, $endday, $endyear ) ) { ! mx_message_die( GENERAL_ERROR, $lang['Invalid date'] ); } // Valid Time? *************** *** 987,991 **** if ( isset( $err_time ) ) { ! message_die( GENERAL_ERROR, ( "Invalid " . $lang['Cal_hour'] ) ); } } --- 987,991 ---- if ( isset( $err_time ) ) { ! mx_message_die( GENERAL_ERROR, ( "Invalid " . $lang['Cal_hour'] ) ); } } *************** *** 998,1002 **** else { ! message_die( GENERAL_ERROR, $lang['No date'] ); } --- 998,1002 ---- else { ! mx_message_die( GENERAL_ERROR, $lang['No date'] ); } *************** *** 1103,1107 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not select Event data', '', __LINE__, __FILE__, $sql ); } $check = 0; --- 1103,1107 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not select Event data', '', __LINE__, __FILE__, $sql ); } $check = 0; *************** *** 1315,1319 **** echo "<BR>$sql<BR>" . mysql_error(); exit; ! message_die( GENERAL_ERROR, 'Could not get months data', '', __LINE__, __FILE__, $sql ); } --- 1315,1319 ---- echo "<BR>$sql<BR>" . mysql_error(); exit; ! mx_message_die( GENERAL_ERROR, 'Could not get months data', '', __LINE__, __FILE__, $sql ); } *************** *** 1523,1527 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not select Calendar permission from user table', '', __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ); --- 1523,1527 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not select Calendar permission from user table', '', __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ); *************** *** 1531,1535 **** if ( !( $result2 = $db->sql_query( $sql2 ) ) ) { ! message_die( GENERAL_ERROR, 'Could not select Calendar permission from user/usergroup table', '', __LINE__, __FILE__, $sql2 ); } $topgroup = 0; --- 1531,1535 ---- if ( !( $result2 = $db->sql_query( $sql2 ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not select Calendar permission from user/usergroup table', '', __LINE__, __FILE__, $sql2 ); } $topgroup = 0; Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/db_install.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** db_install.php 1 Oct 2005 14:12:12 -0000 1.15 --- db_install.php 24 Oct 2005 20:13:55 -0000 1.16 *************** *** 49,53 **** if ( !defined( 'CALLITE_EVENTS_TABLE' ) ) { ! message_die( GENERAL_ERROR, "Couldn't load cal_settings.php", "", __LINE__, __FILE__ ); } --- 49,53 ---- if ( !defined( 'CALLITE_EVENTS_TABLE' ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't load cal_settings.php", "", __LINE__, __FILE__ ); } Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/db_upgrade.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** db_upgrade.php 1 Oct 2005 14:12:12 -0000 1.9 --- db_upgrade.php 24 Oct 2005 20:13:55 -0000 1.10 *************** *** 49,53 **** if ( !defined( 'CALLITE_EVENTS_TABLE' ) ) { ! message_die( GENERAL_ERROR, "Couldn't load cal_settings.php", "", __LINE__, __FILE__ ); } --- 49,53 ---- if ( !defined( 'CALLITE_EVENTS_TABLE' ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't load cal_settings.php", "", __LINE__, __FILE__ ); } *************** *** 88,92 **** if ( !( $result = $db->sql_query( $sqltmp ) ) ) { ! message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ) ; --- 88,92 ---- if ( !( $result = $db->sql_query( $sqltmp ) ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ) ; *************** *** 96,100 **** if ( !( $result = $db->sql_query( $sqltmp2 ) ) ) { ! message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } --- 96,100 ---- if ( !( $result = $db->sql_query( $sqltmp2 ) ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } *************** *** 119,123 **** if ( !( $result = $db->sql_query( $sqltmp ) ) ) { ! message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ) ; --- 119,123 ---- if ( !( $result = $db->sql_query( $sqltmp ) ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ) ; *************** *** 127,131 **** if ( !( $result = $db->sql_query( $sqltmp2 ) ) ) { ! message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } --- 127,131 ---- if ( !( $result = $db->sql_query( $sqltmp2 ) ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } *************** *** 144,148 **** if ( !( $result = $db->sql_query( $sqltmp ) ) ) { ! message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ) ; --- 144,148 ---- if ( !( $result = $db->sql_query( $sqltmp ) ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } $row = $db->sql_fetchrow( $result ) ; *************** *** 152,156 **** if ( !( $result = $db->sql_query( $sqltmp2 ) ) ) { ! message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } --- 152,156 ---- if ( !( $result = $db->sql_query( $sqltmp2 ) ) ) { ! mx_message_die( CRITICAL_ERROR, "Could not query portal version", "", __LINE__, __FILE__, $sql ); } |
|
From: Jon O. <jon...@us...> - 2005-10-24 20:13:53
|
Update of /cvsroot/mxbb/mx_act/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv503/modules/mx_act/includes Modified Files: act_functions.php rewards_api.php Log Message: replaced all message_die with mx_message_die Index: rewards_api.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/rewards_api.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** rewards_api.php 1 Oct 2005 14:11:39 -0000 1.4 --- rewards_api.php 24 Oct 2005 20:13:32 -0000 1.5 *************** *** 33,37 **** if ( !$db->sql_query( $sql ) ) { ! mx_mx_message_die( GENERAL_ERROR, "Failed to add rewards", "", __LINE__, __FILE__, $sql ); } } --- 33,37 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Failed to add rewards", "", __LINE__, __FILE__, $sql ); } } Index: act_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_functions.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** act_functions.php 1 Oct 2005 14:11:39 -0000 1.4 --- act_functions.php 24 Oct 2005 20:13:32 -0000 1.5 *************** *** 126,130 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_MESSAGE, $lang['No_such_user'] ); } --- 126,130 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['No_such_user'] ); } *************** *** 144,148 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not find oldest privmsgs (inbox)', '', __LINE__, __FILE__, $sql ); } $old_privmsgs_id = $db->sql_fetchrow( $result ); --- 144,148 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not find oldest privmsgs (inbox)', '', __LINE__, __FILE__, $sql ); } $old_privmsgs_id = $db->sql_fetchrow( $result ); *************** *** 154,158 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs (inbox)' . $sql, '', __LINE__, __FILE__, $sql ); } --- 154,158 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs (inbox)' . $sql, '', __LINE__, __FILE__, $sql ); } *************** *** 162,166 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql ); } } --- 162,166 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql ); } } *************** *** 172,176 **** if ( !$db->sql_query( $sql_info ) ) { ! message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql_info ); } --- 172,176 ---- if ( !$db->sql_query( $sql_info ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql_info ); } *************** *** 181,185 **** if ( !$db->sql_query( $sql, END_TRANSACTION ) ) { ! message_die( GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql ); } --- 181,185 ---- if ( !$db->sql_query( $sql, END_TRANSACTION ) ) { ! mx_message_die( GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql ); } *************** *** 189,193 **** if ( !$status = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not update private message new/read status for user', '', __LINE__, __FILE__, $sql ); } --- 189,193 ---- if ( !$status = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not update private message new/read status for user', '', __LINE__, __FILE__, $sql ); } |