|
From: Jon O. <jon...@us...> - 2007-09-09 20:49:16
|
Update of /cvsroot/mxbb/mx_quotations In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4262 Modified Files: mx_last_quotations.php mx_quotations.php mx_random_quotation.php Log Message: for 2.9.x Index: mx_last_quotations.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/mx_last_quotations.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** mx_last_quotations.php 29 Jun 2006 19:06:57 -0000 1.10 --- mx_last_quotations.php 9 Sep 2007 20:49:09 -0000 1.11 *************** *** 72,77 **** $quote = $row[$row_count]['quote']; $author = $row[$row_count]['author']; ! $post_time = create_date( $board_config['default_dateformat'], $row[$row_count]['post_time'], $board_config['board_timezone'] ); //'D d M Y' ! $poster = ( $row[$row_count]['poster_id'] != -1 ) ? '<a href="' . append_sid( PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $row[$row_count]['poster_id'] ) . '">' : ''; $poster .= ( $row[$row_count]['poster_id'] != -1 ) ? $row[$row_count]['username'] : ( ( $row[$row_count]['username'] != '' ) ? $row[0]['username'] : $lang['Guest'] ); $poster .= ( $row[$row_count]['poster_id'] != -1 ) ? '</a>' : ''; --- 72,77 ---- $quote = $row[$row_count]['quote']; $author = $row[$row_count]['author']; ! $post_time = phpBB2::create_date( $board_config['default_dateformat'], $row[$row_count]['post_time'], $board_config['board_timezone'] ); //'D d M Y' ! $poster = ( $row[$row_count]['poster_id'] != -1 ) ? '<a href="' . mx_append_sid( PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $row[$row_count]['poster_id'] ) . '">' : ''; $poster .= ( $row[$row_count]['poster_id'] != -1 ) ? $row[$row_count]['username'] : ( ( $row[$row_count]['username'] != '' ) ? $row[0]['username'] : $lang['Guest'] ); $poster .= ( $row[$row_count]['poster_id'] != -1 ) ? '</a>' : ''; Index: mx_random_quotation.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/mx_random_quotation.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mx_random_quotation.php 29 Jun 2006 22:45:05 -0000 1.9 --- mx_random_quotation.php 9 Sep 2007 20:49:09 -0000 1.10 *************** *** 76,81 **** //$author = $row[0]['author']; ! $post_time = create_date( $board_config['default_dateformat'], $row[0]['post_time'], $board_config['board_timezone'] ); //'D d M Y' ! $poster = ( $row[0]['poster_id'] != -1 ) ? '<a href="' . append_sid( PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $row[0]['poster_id'] ) . '">' : ''; $poster .= ( $row[0]['poster_id'] != -1 ) ? $row[0]['username'] : ( ( $row[0]['username'] != '' ) ? $row[0]['username'] : $lang['Guest'] ); $poster .= ( $row[0]['poster_id'] != -1 ) ? '</a>' : ''; --- 76,81 ---- //$author = $row[0]['author']; ! $post_time = phpBB2::create_date( $board_config['default_dateformat'], $row[0]['post_time'], $board_config['board_timezone'] ); //'D d M Y' ! $poster = ( $row[0]['poster_id'] != -1 ) ? '<a href="' . mx_append_sid( PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $row[0]['poster_id'] ) . '">' : ''; $poster .= ( $row[0]['poster_id'] != -1 ) ? $row[0]['username'] : ( ( $row[0]['username'] != '' ) ? $row[0]['username'] : $lang['Guest'] ); $poster .= ( $row[0]['poster_id'] != -1 ) ? '</a>' : ''; *************** *** 103,107 **** 'L_TITLE' => ( !empty( $lang[$title] ) ? $lang[$title] : $title ), 'L_POSTED_BY' => ( !empty( $lang['Posted_by'] ) ? $lang['Posted_by'] : 'Posted by:' ), ! 'U_QUOTES' => append_sid( $mx_root_path . 'index.php?page=8' ) ) ); --- 103,107 ---- 'L_TITLE' => ( !empty( $lang[$title] ) ? $lang[$title] : $title ), 'L_POSTED_BY' => ( !empty( $lang['Posted_by'] ) ? $lang['Posted_by'] : 'Posted by:' ), ! 'U_QUOTES' => mx_append_sid( $mx_root_path . 'index.php?page=8' ) ) ); Index: mx_quotations.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/mx_quotations.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** mx_quotations.php 29 Jun 2006 22:53:05 -0000 1.16 --- mx_quotations.php 9 Sep 2007 20:49:09 -0000 1.17 *************** *** 259,264 **** //$author = $postrow[$row_count]['author']; ! $post_time = create_date( $board_config['default_dateformat'], $postrow[$row_count]['post_time'], $board_config['board_timezone'] ); //'D d M Y' ! $poster = ( $postrow[$row_count]['poster_id'] != -1 ) ? '<a href="' . append_sid( PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $postrow[$row_count]['poster_id'] ) . '">' : ''; $poster .= ( $postrow[$row_count]['poster_id'] != -1 ) ? $postrow[$row_count]['username'] : ( ( $postrow[$row_count]['username'] != '' ) ? $postrow[$row_count]['username'] : $lang['Guest'] ); $poster .= ( $postrow[$row_count]['poster_id'] != -1 ) ? '</a>' : ''; --- 259,264 ---- //$author = $postrow[$row_count]['author']; ! $post_time = phpBB2::create_date( $board_config['default_dateformat'], $postrow[$row_count]['post_time'], $board_config['board_timezone'] ); //'D d M Y' ! $poster = ( $postrow[$row_count]['poster_id'] != -1 ) ? '<a href="' . mx_append_sid( PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $postrow[$row_count]['poster_id'] ) . '">' : ''; $poster .= ( $postrow[$row_count]['poster_id'] != -1 ) ? $postrow[$row_count]['username'] : ( ( $postrow[$row_count]['username'] != '' ) ? $postrow[$row_count]['username'] : $lang['Guest'] ); $poster .= ( $postrow[$row_count]['poster_id'] != -1 ) ? '</a>' : ''; *************** *** 312,316 **** else { ! $initial_links .= '<a href="' . append_sid( $base_url . $letter ) . '">' . $letter . '</a> '; } } --- 312,316 ---- else { ! $initial_links .= '<a href="' . mx_append_sid( $base_url . $letter ) . '">' . $letter . '</a> '; } } *************** *** 324,328 **** else { ! $initial_links .= '<a href="' . append_sid( $base_url . "other" ) . '">' . $l_other . '</a> '; } --- 324,328 ---- else { ! $initial_links .= '<a href="' . mx_append_sid( $base_url . "other" ) . '">' . $l_other . '</a> '; } *************** *** 335,339 **** else { ! $initial_links .= '<a href="' . append_sid( $base_url . "all" ) . '">' . $l_all . '</a> '; } --- 335,339 ---- else { ! $initial_links .= '<a href="' . mx_append_sid( $base_url . "all" ) . '">' . $l_all . '</a> '; } *************** *** 351,355 **** 'U_PORTAL_ROOT_PATH' => PORTAL_URL, 'U_ADD_QUOTE' => $u_add_quote, ! 'U_FORM_ACTION' => append_sid( $mx_root_path . ( $is_block ? "index.$phpEx?page=$page_id" : "modules/mx_quotations/mx_quotations.$phpEx" ) ), 'BLOCK_SIZE' => $block_size, --- 351,355 ---- 'U_PORTAL_ROOT_PATH' => PORTAL_URL, 'U_ADD_QUOTE' => $u_add_quote, ! 'U_FORM_ACTION' => mx_append_sid( $mx_root_path . ( $is_block ? "index.$phpEx?page=$page_id" : "modules/mx_quotations/mx_quotations.$phpEx" ) ), 'BLOCK_SIZE' => $block_size, |