|
From: Jon O. <jon...@us...> - 2005-10-22 22:42:39
|
Update of /cvsroot/mxbb/mx_dev_startkit/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv378/modules/mx_dev_startkit/includes Modified Files: startkit_constants.php startkit_functions.php Log Message: adding this dev startkit module Index: startkit_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_dev_startkit/includes/startkit_constants.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** startkit_constants.php 22 Oct 2005 12:40:33 -0000 1.1 --- startkit_constants.php 22 Oct 2005 22:42:31 -0000 1.2 *************** *** 45,56 **** // Read language definition // ********************************************************************** ! if ( !file_exists( $mx_root_path . $mx_block->module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ) ) { ! include( $mx_root_path . $mx_block->module_root_path . 'language/lang_english/lang_admin.' . $phpEx ); $link_language = 'lang_english'; } else { ! include( $mx_root_path . $mx_block->module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); $link_language = 'lang_' . $board_config['default_lang']; } --- 45,56 ---- // Read language definition // ********************************************************************** ! if ( !file_exists( $mx_root_path . $mx_block->module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) { ! include( $mx_root_path . $mx_block->module_root_path . 'language/lang_english/lang_main.' . $phpEx ); $link_language = 'lang_english'; } else { ! include( $mx_root_path . $mx_block->module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); $link_language = 'lang_' . $board_config['default_lang']; } Index: startkit_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_dev_startkit/includes/startkit_functions.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** startkit_functions.php 22 Oct 2005 12:40:33 -0000 1.1 --- startkit_functions.php 22 Oct 2005 22:42:31 -0000 1.2 *************** *** 34,38 **** function double($number = 0) { ! $new_number = 2 * $number; return $new_number; --- 34,38 ---- function double($number = 0) { ! $new_number = $number + $number; return $new_number; |