|
From: Florin C B. <ory...@us...> - 2013-04-18 00:43:16
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25996/templates/prosilver Modified Files: prosilver.cfg Log Message: updating phpBB3 announce Index: prosilver.cfg =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver/prosilver.cfg,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** prosilver.cfg 17 Apr 2013 03:10:11 -0000 1.6 --- prosilver.cfg 18 Apr 2013 00:43:13 -0000 1.7 *************** *** 37,41 **** // Do some checks // ------------------------------------------------------------------------- ! $current_template_path = file_exists($mx_root_path . $current_template_path . "/images" ) ? $current_template_path : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path : $default_template_path); $current_template_root_path = str_replace($module_root_path, "", $current_template_path); --- 37,41 ---- // Do some checks // ------------------------------------------------------------------------- ! $current_template_path = @file_exists($mx_root_path . $current_template_path . "/images" ) ? $current_template_path : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path : $default_template_path); $current_template_root_path = str_replace($module_root_path, "", $current_template_path); *************** *** 44,49 **** // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; ! $current_template_theme_images = !empty($current_template_root_path) && file_exists($mx_root_path . $current_template_root_path . "/images") ? PORTAL_URL . $current_template_root_path . "/images" : ( !empty($cloned_template_path) && file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? PORTAL_URL . cloned_template_path . "/images" : PORTAL_URL . "templates/_core/images"); ! $current_module_images = !empty($current_template_root_path) && file_exists($module_root_path . $current_template_root_path ."/images") ? PORTAL_URL . $module_root_path . $current_template_root_path ."/images" : $current_template_theme_images . "/phpbb2"; // ------------------------------------------------------------------------- --- 44,56 ---- // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; ! $current_template_theme_images = !empty($current_template_root_path) && @file_exists($mx_root_path . $current_template_root_path . "/images") ? PORTAL_URL . $current_template_root_path . "/images" : ( !empty($cloned_template_path) && @file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? PORTAL_URL . cloned_template_path . "/images" : PORTAL_URL . "templates/_core/images"); ! $current_module_images = !empty($current_template_root_path) && @file_exists($module_root_path . $current_template_root_path ."/images") ? PORTAL_URL . $module_root_path . $current_template_root_path ."/images" : $current_template_theme_images . "/phpbb2"; ! $current_template_addon_images = @file_exists($mx_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images/addon_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $mx_root_path . $cloned_template_path . "/images/addon_icons" : $default_template_path . "/images/addon_icons"); ! // ------------------------------------------------------------------------- ! // (Re)Define images ! //------------------------------------------------------------------------- ! ! // Rss Feed Site Images - BEGIN ! $mx_images['logo_url'] = $mx_root_path . $current_template_root_path . "/images/logo.gif"; // ------------------------------------------------------------------------- *************** *** 68,71 **** --- 75,106 ---- // + // Last Message and Anouncement block compatibility + // + $mx_images['icon_latest_reply'] = "$current_module_images/icon_topic_latest.gif"; + $mx_images['icon_newest_reply'] = "$current_module_images/icon_topic_newest.gif"; + + $mx_images['forum'] = "$current_module_images/forum_read.gif"; + $mx_images['forum_new'] = "$current_module_images/forum_unread.gif"; + $mx_images['forum_locked'] = "$current_module_images/forum_read_locked.gif"; + + $mx_images['folder'] = "$current_module_images/topic_read.gif"; + $mx_images['folder_new'] = "$current_module_images/topic_unread.gif"; + $mx_images['folder_hot'] = "$current_module_images/topic_read_hot.gif"; + $mx_images['folder_hot_new'] = "$current_module_images/topic_unread_hot.gif"; + $mx_images['folder_locked'] = "$current_module_images/topic_read_locked.gif"; + $mx_images['folder_locked_new'] = "$current_module_images/topic_unread_locked.gif"; + $mx_images['folder_sticky'] = "$current_module_images/sticky_read.gif"; + $mx_images['folder_sticky_new'] = "$current_module_images/sticky_unread.gif"; + $mx_images['folder_announce'] = "$current_module_images/announce_read.gif"; + $mx_images['folder_announce_new'] = "$current_module_images/announce_unread.gif"; + + // + // Forum Block + // + $mx_images['mx_forum'] = $images['forum']; + $mx_images['mx_forum_new'] = $images['forum_new']; + $mx_images['mx_forum_locked'] = $images['forum_locked']; + + // // Announcement Block // *************** *** 83,101 **** $mx_images['mx_icon_latest_reply'] = $images['icon_latest_reply']; // ! // Forum Block // ! $mx_images['mx_forum'] = $images['forum']; ! $mx_images['mx_forum_new'] = $images['forum_new']; ! $mx_images['mx_forum_locked'] = $images['forum_locked']; ! ! // Announce Pics ! $mx_images['mx_reply'] = "$current_module_images/post_comment.gif"; ! $mx_images['mx_post_print'] = "$current_module_images/post_print.gif"; ! $mx_images['mx_post_view'] = "$current_module_images/post_view.gif"; // // Poll/Statistics Block // $mx_images['voting_graphic'][0] = "$current_template_theme_images/phpbb2/voting_bar.gif"; $mx_images['voting_graphic'][1] = "$current_template_theme_images/phpbb2/voting_bar.gif"; --- 118,169 ---- $mx_images['mx_icon_latest_reply'] = $images['icon_latest_reply']; + + // Use standard phpBB graphics + $mx_images['icon_quote'] = "$current_module_images/{LANG}/icon_post_quote.gif"; + $mx_images['icon_edit'] = "$current_module_images/{LANG}/icon_post_edit.gif"; + $mx_images['icon_search'] = "$current_module_images/{LANG}/icon_user_search.gif"; + $mx_images['icon_profile'] = "$current_module_images/{LANG}/icon_user_profile.gif"; + $mx_images['icon_pm'] = "$current_module_images/{LANG}/icon_contact_pm.gif"; + $mx_images['icon_email'] = "$current_module_images/{LANG}/icon_contact_email.gif"; + $mx_images['icon_delpost'] = "$current_module_images/{LANG}/icon_post_delete.gif"; + $mx_images['icon_ip'] = "$current_module_images/{LANG}/icon_ip.gif"; + $mx_images['icon_www'] = "$current_module_images/{LANG}/icon_contact_www.gif"; + $mx_images['icon_icq'] = "$current_module_images/{LANG}/icon_contact_icq.gif"; + $mx_images['icon_aim'] = "$current_module_images/{LANG}/icon_contact_aim.gif"; + $mx_images['icon_yim'] = "$current_module_images/{LANG}/icon_contact_yahoo.gif"; + $mx_images['icon_msnm'] = "$current_module_images/{LANG}/icon_contact_msnm.gif"; + + $mx_images['icon_minipost'] = "$current_module_images/icon_minipost.gif"; + $mx_images['icon_gotopost'] = "$current_module_images/icon_minipost.gif"; + $mx_images['icon_minipost_new'] = "$current_module_images/icon_minipost_new.gif"; + + // ! // Define common theme colors (if not present in db) // ! $theme['body_bgcolor'] = ( ($theme['body_bgcolor']) ? $theme['body_bgcolor'] : 'FFFFFF' ); ! $theme['body_text'] = ( ($theme['body_text']) ? $theme['body_text'] : '383B3F' ); ! $theme['body_link'] = ( ($theme['body_link']) ? $theme['body_link'] : '006699' ); ! $theme['body_vlink'] = ( ($theme['body_vlink']) ? $theme['body_vlink'] : '006699' ); ! $theme['body_alink'] = ( ($theme['body_alink']) ? $theme['body_alink'] : '006699' ); ! $theme['body_hlink'] = ( ($theme['body_hlink']) ? $theme['body_hlink'] : 'f3a625' ); ! $theme['tr_color1'] = ( ($theme['tr_color1']) ? $theme['tr_color1'] : 'F7EEEE' ); // row1 ! $theme['tr_color2'] = ( ($theme['tr_color2']) ? $theme['tr_color2'] : 'FBF4F4' ); // row2 ! $theme['tr_color3'] = ( ($theme['tr_color3']) ? $theme['tr_color3'] : 'f1f1f1' ); // row3 ! $theme['th_color1'] = ( ($theme['th_color1']) ? $theme['th_color1'] : 'FFA34F' ); // bodyline border color ! $theme['th_color2'] = ( ($theme['th_color2']) ? $theme['th_color2'] : '333333' ); // forumline border color ! $theme['th_color3'] = ( ($theme['th_color3']) ? $theme['th_color3'] : 'd1d7dc' ); // boxes border color ! $theme['td_color1'] = ( ($theme['td_color1']) ? $theme['td_color1'] : 'F7EEEE' ); // code/quote boxes background ! $theme['td_color2'] = ( ($theme['td_color2']) ? $theme['td_color2'] : 'FBF4F4' ); // post box background ! $theme['fontface1'] = ( ($theme['fontface1']) ? $theme['fontface1'] : 'Verdana,Arial,Helvetica,sans-serif'); ! $theme['fontcolor1'] = ( ($theme['fontcolor1']) ? $theme['fontcolor1'] : '383B3F' ); // Main font color ! $theme['fontcolor2'] = ( ($theme['fontcolor2']) ? $theme['fontcolor2'] : '726363' ); // // Poll/Statistics Block // + //for pafileDB and other modules ported from vesion 2 + $mx_images['mx_voting_graphic'] = "$current_template_addon_images/voting_bar.gif"; + $mx_images['voting_graphic'][0] = "$current_template_theme_images/phpbb2/voting_bar.gif"; $mx_images['voting_graphic'][1] = "$current_template_theme_images/phpbb2/voting_bar.gif"; *************** *** 105,110 **** --- 173,183 ---- $mx_images['mx_voting_graphic'] = $mx_images['voting_graphic']; // Array() + $mx_images['mx_vote_bar'] = ($current_module_images) ? "$current_module_images/voting_bar.gif" : "$current_template_theme_images/phpbb2/voting_bar.gif"; $mx_images['mx_vote_lcap'] = ($current_module_images) ? "$current_module_images/vote_lcap.gif" : "$current_template_theme_images/phpbb2/vote_lcap.gif"; $mx_images['mx_vote_rcap'] = ($current_module_images) ? "$current_module_images/vote_rcap.gif" : "$current_template_theme_images/phpbb2/vote_rcap.gif"; + + $mx_images['mx_vote_bar'] = "$current_template_addon_images/voting_bar.gif"; + $mx_images['mx_vote_lcap'] = "$current_template_addon_images/vote_lcap.gif"; + $mx_images['mx_vote_rcap'] = "$current_template_addon_images/vote_rcap.gif"; ?> \ No newline at end of file |