|
From: Jon O. <jon...@us...> - 2006-08-30 19:17:49
|
Update of /cvsroot/mxbb/mx_calsnails/includes In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv21267/modules/mx_calsnails/includes Modified Files: cal_settings.php mx_common.php Log Message: Cosmetics... Index: cal_settings.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/cal_settings.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** cal_settings.php 29 May 2006 15:38:06 -0000 1.13 --- cal_settings.php 30 Aug 2006 19:17:15 -0000 1.14 *************** *** 22,26 **** --- 22,28 ---- define( 'CALLITE_EVENTS_TABLE', $mx_table_prefix . 'callite_events' ); + // // Prepare some other common variables + // define( 'SECONDS_PER_DAY', 86400 ); // 24h * 60m * 60s Index: mx_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/mx_common.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** mx_common.php 29 Jun 2006 22:03:22 -0000 1.17 --- mx_common.php 30 Aug 2006 19:17:15 -0000 1.18 *************** *** 88,94 **** } // This is about problem (b). Using our own version of phpbb.functions_php.create_date() // we can use our own copy of $lang['datetime']['May'] (see lang_main.php files). ! function my_create_date( $format, $gmepoch, $tz ) { --- 88,95 ---- } + // // This is about problem (b). Using our own version of phpbb.functions_php.create_date() // we can use our own copy of $lang['datetime']['May'] (see lang_main.php files). ! // function my_create_date( $format, $gmepoch, $tz ) { *************** *** 108,113 **** } // The easiest way I found to decode BBText. ! function my_decode_bbtext( $bbtext, $bbcode_uid ) { --- 109,115 ---- } + // // The easiest way I found to decode BBText. ! // function my_decode_bbtext( $bbtext, $bbcode_uid ) { *************** *** 123,128 **** } // Truncate words on a string to specified length and append '...' if necesary. ! function my_truncate_words( $text, $length ) { --- 125,131 ---- } + // // Truncate words on a string to specified length and append '...' if necesary. ! // function my_truncate_words( $text, $length ) { *************** *** 136,140 **** --- 139,146 ---- return $mytext; } + + // // Get week number of year + // function week_of_year( $day, $month, $year ) { |