|
From: Jon O. <jon...@us...> - 2006-06-18 10:48:00
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv27012/modules/mx_smartor/album_mod Modified Files: clown_album_functions.php Log Message: update Index: clown_album_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/clown_album_functions.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** clown_album_functions.php 5 Apr 2006 23:03:48 -0000 1.5 --- clown_album_functions.php 18 Jun 2006 10:47:56 -0000 1.6 *************** *** 17,23 **** { // Pre: returns what type of rating style to display ! global $db, $album_sp_config, $lang, $module_root_path; // deside how user wants to show their rating ! if ( $album_sp_config['rate_type'] == 0 ) // display only images { --- 17,23 ---- { // Pre: returns what type of rating style to display ! global $db, $album_sp_config, $lang, $module_root_path; // deside how user wants to show their rating ! if ( $album_sp_config['rate_type'] == 0 ) // display only images { *************** *** 63,67 **** global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $mx_root_path; global $user_ip, $session_length, $starttime; ! global $userdata; // MX global $is_block; --- 63,67 ---- global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $mx_root_path; global $user_ip, $session_length, $starttime; ! global $userdata; // MX global $is_block; *************** *** 84,94 **** } ! $template->set_filenames( array( 'smiliesbody' => 'album_posting_smilies.tpl' ) ! ); } ! $sql = "SELECT emoticon, code, smile_url ! FROM " . SMILIES_TABLE . " ! ORDER BY smilies_id"; if ( $result = $db->sql_query( $sql ) ) { --- 84,93 ---- } ! $template->set_filenames( array( 'smiliesbody' => 'album_posting_smilies.tpl' ) ); } ! $sql = "SELECT emoticon, code, smile_url ! FROM " . SMILIES_TABLE . " ! ORDER BY smilies_id"; if ( $result = $db->sql_query( $sql ) ) { *************** *** 123,127 **** $template->assign_block_vars( 'smilies_row.smilies_col', array( 'SMILEY_CODE' => $data['code'], 'SMILEY_IMG' => $board_config['smilies_path'] . '/' . $smile_url, ! 'SMILEY_DESC' => $data['emoticon'] ) ); --- 122,126 ---- $template->assign_block_vars( 'smilies_row.smilies_col', array( 'SMILEY_CODE' => $data['code'], 'SMILEY_IMG' => $board_config['smilies_path'] . '/' . $smile_url, ! 'SMILEY_DESC' => $data['emoticon'] ) ); *************** *** 148,152 **** $template->assign_vars( array( 'L_MORE_SMILIES' => $lang['More_emoticons'], ! 'U_MORE_SMILIES' => append_sid( $phpbb_root_path . "posting.$phpEx?mode=smilies" ) ) ); } --- 147,151 ---- $template->assign_vars( array( 'L_MORE_SMILIES' => $lang['More_emoticons'], ! 'U_MORE_SMILIES' => append_sid( $phpbb_root_path . "posting.$phpEx?mode=smilies" ) ) ); } *************** *** 154,158 **** $template->assign_vars( array( 'L_EMOTICONS' => $lang['Emoticons'], 'L_CLOSE_WINDOW' => $lang['Close_window'], ! 'S_SMILIES_COLSPAN' => $s_colspan ) ); } --- 153,157 ---- $template->assign_vars( array( 'L_EMOTICONS' => $lang['Emoticons'], 'L_CLOSE_WINDOW' => $lang['Close_window'], ! 'S_SMILIES_COLSPAN' => $s_colspan ) ); } |