|
From: Jon O. <jon...@us...> - 2008-02-08 23:37:28
|
Update of /cvsroot/mxbb/mx_blogs/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11401/includes Modified Files: functions_weblog.php weblogs_common.php weblogs_constants.php Log Message: Removing trailing newlines... Index: weblogs_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/includes/weblogs_common.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** weblogs_common.php 31 Jan 2008 03:36:34 -0000 1.3 --- weblogs_common.php 8 Feb 2008 23:37:23 -0000 1.4 *************** *** 42,46 **** include($module_root_path . "templates/" . $theme['template_name'] . "/" . $theme['template_name'] . ".cfg"); // ---------- ! } else { --- 42,46 ---- include($module_root_path . "templates/" . $theme['template_name'] . "/" . $theme['template_name'] . ".cfg"); // ---------- ! } else { *************** *** 62,66 **** include_once( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_main.' . $phpEx ); $link_language='lang_' . $board_config['default_lang']; ! } // --- 62,66 ---- include_once( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_main.' . $phpEx ); $link_language='lang_' . $board_config['default_lang']; ! } // *************** *** 154,156 **** ! ?> --- 154,156 ---- ! ?> \ No newline at end of file Index: functions_weblog.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/includes/functions_weblog.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** functions_weblog.php 7 Jun 2007 22:01:33 -0000 1.1 --- functions_weblog.php 8 Feb 2008 23:37:23 -0000 1.2 *************** *** 51,55 **** if ( extension_loaded('zlib') ) { ! @ob_end_clean(); ob_start('ob_gzhandler'); } --- 51,55 ---- if ( extension_loaded('zlib') ) { ! @ob_end_clean(); ob_start('ob_gzhandler'); } *************** *** 350,354 **** { $preview = 'mood_none.gif'; ! } $select = ( $selected == $mood_set_data[$i]['set_id'] ) ? ' selected="selected"' : ''; $set_select .= '<option value="' . $mood_set_data[$i]['set_id'] . '"' . $select . ' id="' . $preview . '">' . $mood_set_data[$i]['set_name'] . '</option>'; --- 350,354 ---- { $preview = 'mood_none.gif'; ! } $select = ( $selected == $mood_set_data[$i]['set_id'] ) ? ' selected="selected"' : ''; $set_select .= '<option value="' . $mood_set_data[$i]['set_id'] . '"' . $select . ' id="' . $preview . '">' . $mood_set_data[$i]['set_name'] . '</option>'; *************** *** 420,424 **** @chmod ($mx_root_path . 'modules/mx_blogs/weblogs/templates/' . $template_dir . '/weblog_header.htm', 0755); @chmod ($mx_root_path . 'modules/mx_blogs/weblogs/templates/' . $template_dir . '/weblog_footer.htm', 0755); ! @chmod ($mx_root_path . 'modules/mx_blogs/weblogs/templates/' . $template_dir . '/weblog_faceplate_body.htm', 0755); if ( file_exists($mx_root_path . 'modules/mx_blogs/weblogs/templates/' . $template_dir . '/weblog_body.htm') ) --- 420,424 ---- @chmod ($mx_root_path . 'modules/mx_blogs/weblogs/templates/' . $template_dir . '/weblog_header.htm', 0755); @chmod ($mx_root_path . 'modules/mx_blogs/weblogs/templates/' . $template_dir . '/weblog_footer.htm', 0755); ! @chmod ($mx_root_path . 'modules/mx_blogs/weblogs/templates/' . $template_dir . '/weblog_faceplate_body.htm', 0755); if ( file_exists($mx_root_path . 'modules/mx_blogs/weblogs/templates/' . $template_dir . '/weblog_body.htm') ) *************** *** 471,475 **** // Open for writing $f = @fopen($filename, 'w' ); ! // Write the stuff @fwrite( $f, $file_body ); // Close the file --- 471,475 ---- // Open for writing $f = @fopen($filename, 'w' ); ! // Write the stuff @fwrite( $f, $file_body ); // Close the file *************** *** 483,487 **** // Open for writing $f = @fopen($filename, 'w' ); ! // Write the stuff @fwrite( $f, $file_faceplate ); // Close the file --- 483,487 ---- // Open for writing $f = @fopen($filename, 'w' ); ! // Write the stuff @fwrite( $f, $file_faceplate ); // Close the file *************** *** 518,522 **** // Open for writing $f = @fopen($filename, 'w' ); ! // Write the stuff @fwrite( $f, $weblog_body ); // Close the file --- 518,522 ---- // Open for writing $f = @fopen($filename, 'w' ); ! // Write the stuff @fwrite( $f, $weblog_body ); // Close the file *************** *** 536,540 **** // Open for writing $f = @fopen($filename, 'w' ); ! // Write the stuff @fwrite( $f, $weblog_faceplate ); // Close the file --- 536,540 ---- // Open for writing $f = @fopen($filename, 'w' ); ! // Write the stuff @fwrite( $f, $weblog_faceplate ); // Close the file *************** *** 634,638 **** { global $template_data; ! for ( $i = 0; $i < count ($template_data); $i++) { --- 634,638 ---- { global $template_data; ! for ( $i = 0; $i < count ($template_data); $i++) { *************** *** 802,804 **** return $sorted_data; } ! ?> --- 802,804 ---- return $sorted_data; } ! ?> \ No newline at end of file Index: weblogs_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/includes/weblogs_constants.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** weblogs_constants.php 31 Jan 2008 03:36:34 -0000 1.2 --- weblogs_constants.php 8 Feb 2008 23:37:23 -0000 1.3 *************** *** 44,46 **** define('WEBLOG_AUTH_OWNER', 3); ! ?> --- 44,46 ---- define('WEBLOG_AUTH_OWNER', 3); ! ?> \ No newline at end of file |