You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
Update of /cvsroot/mxbb/mx_smartor/templates/_core/images/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10881/templates/_core/images/lang_english Added Files: button_pm_new.gif button_pm_reply.gif button_topic_locked.gif button_topic_new.gif button_topic_reply.gif icon_contact_aim.gif icon_contact_email.gif icon_contact_icq.gif icon_contact_jabber.gif icon_contact_msnm.gif icon_contact_pm.gif icon_contact_www.gif icon_contact_yahoo.gif icon_ip.gif icon_post_delete.gif icon_post_edit.gif icon_post_info.gif icon_post_quote.gif icon_post_report.gif icon_user_offline.gif icon_user_online.gif icon_user_profile.gif icon_user_search.gif icon_user_warn.gif Log Message: Upgrade --- NEW FILE: icon_contact_jabber.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_user_warn.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_user_online.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_post_edit.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_user_profile.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_contact_email.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: button_topic_new.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_contact_yahoo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_ip.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: button_pm_new.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_contact_aim.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: button_topic_reply.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: button_pm_reply.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_contact_www.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_post_info.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_contact_msnm.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_post_delete.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: button_topic_locked.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_post_report.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_contact_icq.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_post_quote.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_user_offline.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_contact_pm.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_user_search.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/mxbb/mx_smartor/templates/_core/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10881/templates/_core/images Added Files: announce_read.gif announce_read_locked.gif announce_read_locked_mine.gif announce_read_mine.gif announce_unread.gif announce_unread_locked.gif announce_unread_locked_mine.gif announce_unread_mine.gif forum_link.gif forum_read.gif forum_read_locked.gif forum_read_subforum.gif forum_unread.gif forum_unread_locked.gif forum_unread_subforum.gif icon_minipost.gif icon_post_target.gif icon_post_target_unread.gif icon_topic_attach.gif icon_topic_latest.gif icon_topic_newest.gif icon_topic_reported.gif icon_topic_unapproved.gif poll_center.gif poll_left.gif poll_right.gif site_logo.gif sticky_read.gif sticky_read_locked.gif sticky_read_locked_mine.gif sticky_read_mine.gif sticky_unread.gif sticky_unread_locked.gif sticky_unread_locked_mine.gif sticky_unread_mine.gif topic_moved.gif topic_read.gif topic_read_hot.gif topic_read_hot_mine.gif topic_read_locked.gif topic_read_locked_mine.gif topic_read_mine.gif topic_unread.gif topic_unread_hot.gif topic_unread_hot_mine.gif topic_unread_locked.gif topic_unread_locked_mine.gif topic_unread_mine.gif upload_bar.gif Log Message: Upgrade --- NEW FILE: poll_left.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_topic_reported.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sticky_read_locked.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_unread_locked.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_post_target.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: poll_center.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_read_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_read.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: forum_unread_locked.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: announce_unread_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: forum_unread.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_read_hot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sticky_unread_locked.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_read_hot_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_minipost.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_post_target_unread.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: announce_unread.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: announce_unread_locked_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_read_locked.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_unread_locked_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sticky_read_locked_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sticky_read.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: announce_read.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sticky_unread_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_topic_latest.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_read_locked_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: forum_read.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: site_logo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: poll_right.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_topic_attach.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_moved.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: upload_bar.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sticky_unread.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: forum_read_locked.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: forum_read_subforum.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_unread.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: forum_unread_subforum.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: announce_read_locked_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_unread_hot_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sticky_read_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_topic_unapproved.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_unread_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_topic_newest.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: announce_unread_locked.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: topic_unread_hot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: forum_link.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: announce_read_locked.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: announce_read_mine.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sticky_unread_locked_mine.gif --- (This appears to be a binary file; contents omitted.) |
|
From: FlorinCB <ory...@us...> - 2008-08-29 05:56:40
|
Update of /cvsroot/mxbb/mx_smartor/templates/_core/images/lang_romanian In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10386/lang_romanian Log Message: Directory /cvsroot/mxbb/mx_smartor/templates/_core/images/lang_romanian added to the repository |
|
From: FlorinCB <ory...@us...> - 2008-08-29 05:55:33
|
Update of /cvsroot/mxbb/mx_smartor/templates/prosilver/images/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9915/lang_english Log Message: Directory /cvsroot/mxbb/mx_smartor/templates/prosilver/images/lang_english added to the repository |
|
From: FlorinCB <ory...@us...> - 2008-08-29 05:55:20
|
Update of /cvsroot/mxbb/mx_smartor/templates/prosilver/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9885/images Log Message: Directory /cvsroot/mxbb/mx_smartor/templates/prosilver/images added to the repository |
|
From: FlorinCB <ory...@us...> - 2008-08-29 05:55:08
|
Update of /cvsroot/mxbb/mx_smartor/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9635/prosilver Log Message: Directory /cvsroot/mxbb/mx_smartor/templates/prosilver added to the repository |
|
From: FlorinCB <ory...@us...> - 2008-08-29 04:40:54
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4670 Modified Files: mx_announce.html Log Message: ???? Index: mx_announce.html =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver/mx_announce.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_announce.html 5 Jul 2008 22:38:26 -0000 1.1 --- mx_announce.html 29 Aug 2008 04:40:49 -0000 1.2 *************** *** 20,24 **** </div> <div id="p1" class="post bg2 online"> ! <div class="inner"><span class="corners-top"><span></span></span> <dl class="textbody"> <dt style="vertical-align:middle; text-align:center;"><span class="gensmall">{postrow.L_AUTHOR}: {postrow.POSTER_FULL}</span></dt> --- 20,27 ---- </div> <div id="p1" class="post bg2 online"> ! <div class="inner"><span class="corners-top"><span></span></span> ! <ul class="topiclist"> ! <li class="header"></li> ! </ul> <dl class="textbody"> <dt style="vertical-align:middle; text-align:center;"><span class="gensmall">{postrow.L_AUTHOR}: {postrow.POSTER_FULL}</span></dt> |
|
From: FlorinCB <ory...@us...> - 2008-08-29 04:28:03
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31457 Modified Files: mx_menu_overall_navigation.tpl Log Message: fix Index: mx_menu_overall_navigation.tpl =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/templates/_core/mx_menu_overall_navigation.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_menu_overall_navigation.tpl 1 Feb 2008 16:12:02 -0000 1.1 --- mx_menu_overall_navigation.tpl 29 Aug 2008 04:27:59 -0000 1.2 *************** *** 2,6 **** <tr> <!-- BEGIN catrow --> ! <td align="center" valign="middle"> <div class="cat-button{catrow.CURRENT}" onmouseout="this.className='cat-button{catrow.CURRENT}';" onmouseover="this.className='cat-button-current';">{catrow.U_MENU_ICON}<a href="{catrow.U_CATEGORY_URL}">{catrow.CATEGORY_NAME}</a></div> </td> --- 2,6 ---- <tr> <!-- BEGIN catrow --> ! <td class="nav" align="center" valign="middle"> <div class="cat-button{catrow.CURRENT}" onmouseout="this.className='cat-button{catrow.CURRENT}';" onmouseover="this.className='cat-button-current';">{catrow.U_MENU_ICON}<a href="{catrow.U_CATEGORY_URL}">{catrow.CATEGORY_NAME}</a></div> </td> *************** *** 13,17 **** <tr> <!-- BEGIN menurow --> ! <td align="center" valign="middle"> <div class="nav-button{menurow.CURRENT}" onmouseout="this.className='nav-button{menurow.CURRENT}';" onmouseover="this.className='nav-button-current';">{menurow.U_MENU_ICON}<a href="{menurow.U_MENU_URL}" target="{menurow.U_MENU_URL_TARGET}">{menurow.MENU_NAME}</a></div> </td> --- 13,17 ---- <tr> <!-- BEGIN menurow --> ! <td class="nav"align="center" valign="middle"> <div class="nav-button{menurow.CURRENT}" onmouseout="this.className='nav-button{menurow.CURRENT}';" onmouseover="this.className='nav-button-current';">{menurow.U_MENU_ICON}<a href="{menurow.U_MENU_URL}" target="{menurow.U_MENU_URL_TARGET}">{menurow.MENU_NAME}</a></div> </td> |
|
From: FlorinCB <ory...@us...> - 2008-08-29 04:23:38
|
Update of /cvsroot/mxbb/core/templates/mxSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29637 Modified Files: mxSilver.css Log Message: fix Index: mxSilver.css =================================================================== RCS file: /cvsroot/mxbb/core/templates/mxSilver/mxSilver.css,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mxSilver.css 4 Feb 2008 16:00:30 -0000 1.3 --- mxSilver.css 29 Aug 2008 04:23:31 -0000 1.4 *************** *** 6,11 **** ! /* General page style. The scroll bar colours only visible in IE5.5+ */ body { background-color: #E5E5E5; scrollbar-face-color: #DEE3E7; --- 6,26 ---- ! /* Layout ! ------------ */ ! * { ! /* Reset browsers default margin, padding and font sizes */ ! margin: 0; ! padding: 0; ! } ! ! ! html { ! font-size: 100%; ! } ! body { + /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */ + font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; + color: #323D4F; background-color: #E5E5E5; scrollbar-face-color: #DEE3E7; *************** *** 15,19 **** scrollbar-arrow-color: #006699; scrollbar-track-color: #EFEFEF; ! scrollbar-darkshadow-color: #98AAB1; } --- 30,35 ---- scrollbar-arrow-color: #006699; scrollbar-track-color: #EFEFEF; ! scrollbar-darkshadow-color: #98AAB1; ! font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */ } *************** *** 49,52 **** --- 65,72 ---- } + td.nav { + padding: 2px; + } + /* Header cells - the blue and silver gradient backgrounds */ th { |
|
From: FlorinCB <ory...@us...> - 2008-08-29 03:53:53
|
Update of /cvsroot/mxbb/core/includes/sessions/internal In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14548/internal Modified Files: core.php Log Message: fix Index: core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/internal/core.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** core.php 15 Jul 2008 22:03:28 -0000 1.9 --- core.php 29 Aug 2008 03:53:50 -0000 1.10 *************** *** 80,84 **** $server_name = trim($portal_config['server_name']); $server_protocol = ( $portal_config['cookie_secure'] ) ? 'https://' : 'http://'; ! $server_port = ( $portal_config['server_port'] <> 80 ) ? ':' . trim($portal_config['server_port']) . '/' : '/'; $server_url = $server_protocol . str_replace("//", "/", $server_name . $server_port . $script_name . '/'); //On some server the slash is not added and this trick will fix it --- 80,84 ---- $server_name = trim($portal_config['server_name']); $server_protocol = ( $portal_config['cookie_secure'] ) ? 'https://' : 'http://'; ! $server_port = (($portal_config['server_port']) && ($portal_config['server_port'] <> 80)) ? ':' . trim($portal_config['server_port']) . '/' : '/'; $server_url = $server_protocol . str_replace("//", "/", $server_name . $server_port . $script_name . '/'); //On some server the slash is not added and this trick will fix it |
|
From: FlorinCB <ory...@us...> - 2008-08-29 03:53:53
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14548/phpbb2 Modified Files: core.php Log Message: fix Index: core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb2/core.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** core.php 20 Jul 2008 00:50:23 -0000 1.14 --- core.php 29 Aug 2008 03:53:50 -0000 1.15 *************** *** 236,240 **** $server_name = trim($portal_config['server_name']); $server_protocol = ( $portal_config['cookie_secure'] ) ? 'https://' : 'http://'; ! $server_port = ( $portal_config['server_port'] <> 80 ) ? ':' . trim($portal_config['server_port']) . '/' : '/'; $server_url = $server_protocol . str_replace("//", "/", $server_name . $server_port . $script_name . '/'); //On some server the slash is not added and this trick will fix it --- 236,241 ---- $server_name = trim($portal_config['server_name']); $server_protocol = ( $portal_config['cookie_secure'] ) ? 'https://' : 'http://'; ! $server_port = (($portal_config['server_port']) && ($portal_config['server_port'] <> 80)) ? ':' . trim($portal_config['server_port']) . '/' : '/'; ! $server_url = $server_protocol . str_replace("//", "/", $server_name . $server_port . $script_name . '/'); //On some server the slash is not added and this trick will fix it |
|
From: FlorinCB <ory...@us...> - 2008-08-29 02:48:11
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18625 Modified Files: mx_functions_style.php Log Message: That last query for styles table was totaly wrong and made serious problems after changing backend. Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -d -r1.87 -r1.88 *** mx_functions_style.php 27 Aug 2008 09:53:16 -0000 1.87 --- mx_functions_style.php 29 Aug 2008 02:48:07 -0000 1.88 *************** *** 771,777 **** break; case 'phpbb3': ! $sql = 'SELECT bbt.*, stt.* ! FROM ' . STYLES_TABLE . ' bbt, ' . STYLES_TEMPLATE_TABLE . ' stt ! WERE bbt.style_id = stt.template_id'; break; } --- 771,778 ---- break; case 'phpbb3': ! $sql = "SELECT bbt.*, stt.* ! FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt, " . STYLES_TEMPLATE_TABLE . " stt ! WHERE mxt.template_name = stt.template_path ! AND bbt.style_id = stt.template_id"; break; } |
|
From: FlorinCB <ory...@us...> - 2008-08-29 00:32:39
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32509 Modified Files: page_header.php Log Message: store module root variable Index: page_header.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/page_header.php,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** page_header.php 28 Aug 2008 07:42:24 -0000 1.58 --- page_header.php 29 Aug 2008 00:32:33 -0000 1.59 *************** *** 354,357 **** --- 354,358 ---- // Define $module_root_path, to be used within blocks // + $mx_module_path = $module_root_path; $module_root_path = $mx_root_path . $mx_block->module_root_path; *************** *** 377,380 **** --- 378,382 ---- $mx_block->output_cp_button(true); } + $module_root_path = $mx_module_path; } } |
|
From: FlorinCB <ory...@us...> - 2008-08-28 22:33:41
|
Update of /cvsroot/mxbb/core/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22032 Added Files: simple_footer.html Log Message: --- NEW FILE: simple_footer.html --- </div> <div id="page-footer"> <!-- We request you retain the full copyright notice below including the link to www.phpbb.com. This not only gives respect to the large amount of time given freely by the developers but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain the full copyright we ask you at least leave in place the "Powered by phpBB" line, with "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our forums may be affected. The phpBB Group : 2006 //--> <div class="copyright">{POWERED_BY} <a href="http://www.mx-publisher.com/" target="_mx-publisher" class="copyright">MX-Publisher (MXP)</a> {MX_VERSION} © 2001-2008 <!-- IF PHPBB_BACKEND --> & <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} © 2001, 2003 phpBB Group <!-- ENDIF --> | <a href="{MXBB_EXTRA_URL}" target="_phpbb" class="copyright">{MXBB_EXTRA}</a> <!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF --> <!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF --> <!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF --> <!-- This displays generation info at the bottom of the page --> <br />{EXECUTION_STATS} <br />{MX_ADDITIONAL_FOOTER_TEXT} </div> </div> </div> <div> <a id="bottom" name="bottom" accesskey="z"></a> <!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF --> </div> </body> </html> |
|
From: FlorinCB <ory...@us...> - 2008-08-28 19:35:40
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18173 Modified Files: Tag: core28x common.php Log Message: bbcode class loaded were it should Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.67.2.15 retrieving revision 1.67.2.16 diff -C2 -d -r1.67.2.15 -r1.67.2.16 *** common.php 16 Aug 2008 01:45:49 -0000 1.67.2.15 --- common.php 28 Aug 2008 19:35:37 -0000 1.67.2.16 *************** *** 322,330 **** // - // Instatiate the mx_bbcode class - // - $mx_bbcode = new mx_bbcode(); - - // // Load backend // --- 322,325 ---- *************** *** 339,342 **** --- 334,343 ---- define('PORTAL_BACKEND', 'phpbb2'); + + // + // Instatiate the mx_bbcode class + // + $mx_bbcode = new mx_bbcode(); + // // Instantiate the mx_mod_rewrite class (if activated) |
|
From: FlorinCB <ory...@us...> - 2008-08-28 19:19:09
|
Update of /cvsroot/mxbb/mx_calsnails/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10582 Modified Files: cal_functions.php Log Message: fix Index: cal_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/cal_functions.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** cal_functions.php 15 Jul 2008 22:04:04 -0000 1.15 --- cal_functions.php 28 Aug 2008 19:19:03 -0000 1.16 *************** *** 268,275 **** <input type=hidden name=bbcode_uid value='" . $row['bbcode_uid'] . "'> <input type=hidden name=modify value='Modify'>"; ! $smilies_path = $board_config['smilies_path']; ! $board_config['smilies_path'] = PHPBB_URL . $board_config['smilies_path']; $mx_bbcode->generate_smilies( 'inline', PAGE_POSTING ); ! $board_config['smilies_path'] = $smilies_path; $template->assign_vars( array( 'U_MORE_SMILIES' => mx_append_sid( PHPBB_URL . "posting.$phpEx?mode=smilies" ) ) ); --- 268,275 ---- <input type=hidden name=bbcode_uid value='" . $row['bbcode_uid'] . "'> <input type=hidden name=modify value='Modify'>"; ! //$smilies_path = $board_config['smilies_path']; ! //$board_config['smilies_path'] = PHPBB_URL . $board_config['smilies_path']; $mx_bbcode->generate_smilies( 'inline', PAGE_POSTING ); ! //$board_config['smilies_path'] = $smilies_path; $template->assign_vars( array( 'U_MORE_SMILIES' => mx_append_sid( PHPBB_URL . "posting.$phpEx?mode=smilies" ) ) ); *************** *** 409,416 **** } ! $smilies_path = $board_config['smilies_path']; ! $board_config['smilies_path'] = PHPBB_URL . $board_config['smilies_path']; $mx_bbcode->generate_smilies( 'inline', PAGE_POSTING ); ! $board_config['smilies_path'] = $smilies_path; $template->assign_vars( array( 'U_MORE_SMILIES' => mx_append_sid( PHPBB_URL . "posting.$phpEx?mode=smilies" ) ) ); --- 409,416 ---- } ! //$smilies_path = $board_config['smilies_path']; ! //$board_config['smilies_path'] = PHPBB_URL . $board_config['smilies_path']; $mx_bbcode->generate_smilies( 'inline', PAGE_POSTING ); ! //$board_config['smilies_path'] = $smilies_path; $template->assign_vars( array( 'U_MORE_SMILIES' => mx_append_sid( PHPBB_URL . "posting.$phpEx?mode=smilies" ) ) ); |
|
From: FlorinCB <ory...@us...> - 2008-08-28 19:13:52
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb2/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7835 Added Files: Tag: core28x functions_post.php Log Message: new file --- NEW FILE: functions_post.php --- <?php /*************************************************************************** * functions_post.php * ------------------- * begin : Saturday, Feb 13, 2001 * copyright : (C) 2001 The phpBB Group * email : su...@ph... * * $Id: functions_post.php,v 1.2.2.2 2008/08/28 19:13:45 orynider Exp $ * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ if (!defined('IN_PHPBB')) { die('Hacking attempt'); } $html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#', '#"#'); $html_entities_replace = array('&', '<', '>', '"'); $unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#'); $unhtml_specialchars_replace = array('>', '<', '"', '&'); // // This function will prepare a posted message for // entry into the database. // function prepare_message($message, $html_on, $bbcode_on, $smile_on, $bbcode_uid = 0) { global $board_config, $html_entities_match, $html_entities_replace; // // Clean up the message // $message = trim($message); if ($html_on) { // If HTML is on, we try to make it safe // This approach is quite agressive and anything that does not look like a valid tag // is going to get converted to HTML entities $message = stripslashes($message); $html_match = '#<[^\w<]*(\w+)((?:"[^"]*"|\'[^\']*\'|[^<>\'"])+)?>#'; $matches = array(); $message_split = preg_split($html_match, $message); preg_match_all($html_match, $message, $matches); $message = ''; foreach ($message_split as $part) { $tag = array(array_shift($matches[0]), array_shift($matches[1]), array_shift($matches[2])); $message .= preg_replace($html_entities_match, $html_entities_replace, $part) . clean_html($tag); } $message = addslashes($message); $message = str_replace('"', '\"', $message); } else { $message = preg_replace($html_entities_match, $html_entities_replace, $message); } if($bbcode_on && $bbcode_uid != '') { $message = bbencode_first_pass($message, $bbcode_uid); } return $message; } function unprepare_message($message) { global $unhtml_specialchars_match, $unhtml_specialchars_replace; return preg_replace($unhtml_specialchars_match, $unhtml_specialchars_replace, $message); } // // Prepare a message for posting // function prepare_post(&$mode, &$post_data, &$bbcode_on, &$html_on, &$smilies_on, &$error_msg, &$username, &$bbcode_uid, &$subject, &$message, &$poll_title, &$poll_options, &$poll_length) { global $board_config, $userdata, $lang, $phpEx, $phpbb_root_path; // Check username if (!empty($username)) { $username = phpbb_clean_username($username); if (!$userdata['session_logged_in'] || ($userdata['session_logged_in'] && $username != $userdata['username'])) { include($phpbb_root_path . 'includes/functions_validate.'.$phpEx); $result = validate_username($username); if ($result['error']) { $error_msg .= (!empty($error_msg)) ? '<br />' . $result['error_msg'] : $result['error_msg']; } } else { $username = ''; } } // Check subject if (!empty($subject)) { $subject = htmlspecialchars(trim($subject)); } else if ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post'])) { $error_msg .= (!empty($error_msg)) ? '<br />' . $lang['Empty_subject'] : $lang['Empty_subject']; } // Check message if (!empty($message)) { $bbcode_uid = ($bbcode_on) ? make_bbcode_uid() : ''; $message = prepare_message(trim($message), $html_on, $bbcode_on, $smilies_on, $bbcode_uid); } else if ($mode != 'delete' && $mode != 'poll_delete') { $error_msg .= (!empty($error_msg)) ? '<br />' . $lang['Empty_message'] : $lang['Empty_message']; } // // Handle poll stuff // if ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post'])) { $poll_length = (isset($poll_length)) ? max(0, intval($poll_length)) : 0; if (!empty($poll_title)) { $poll_title = htmlspecialchars(trim($poll_title)); } if(!empty($poll_options)) { $temp_option_text = array(); while(list($option_id, $option_text) = @each($poll_options)) { $option_text = trim($option_text); if (!empty($option_text)) { $temp_option_text[intval($option_id)] = htmlspecialchars($option_text); } } $option_text = $temp_option_text; if (count($poll_options) < 2) { $error_msg .= (!empty($error_msg)) ? '<br />' . $lang['To_few_poll_options'] : $lang['To_few_poll_options']; } else if (count($poll_options) > $board_config['max_poll_options']) { $error_msg .= (!empty($error_msg)) ? '<br />' . $lang['To_many_poll_options'] : $lang['To_many_poll_options']; } else if ($poll_title == '') { $error_msg .= (!empty($error_msg)) ? '<br />' . $lang['Empty_poll_title'] : $lang['Empty_poll_title']; } } } return; } // // Post a new topic/reply/poll or edit existing post/poll // function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, $post_username, $post_subject, $post_message, $poll_title, &$poll_options, &$poll_length) { global $board_config, $lang, $db, $phpbb_root_path, $phpEx; global $userdata, $user_ip; if( !function_exists('add_search_words') ) { mx_cache::load_file('functions_search', 'phpbb2'); } $current_time = time(); if ($mode == 'newtopic' || $mode == 'reply' || $mode == 'editpost') { // // Flood control // $where_sql = ($userdata['user_id'] == ANONYMOUS) ? "poster_ip = '$user_ip'" : 'poster_id = ' . $userdata['user_id']; $sql = "SELECT MAX(post_time) AS last_post_time FROM " . POSTS_TABLE . " WHERE $where_sql"; if ($result = $db->sql_query($sql)) { if ($row = $db->sql_fetchrow($result)) { if (intval($row['last_post_time']) > 0 && ($current_time - intval($row['last_post_time'])) < intval($board_config['flood_interval'])) { mx_message_die(GENERAL_MESSAGE, $lang['Flood_Error']); } } } } if ($mode == 'editpost') { remove_search_post($post_id); } if ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post'])) { $topic_vote = (!empty($poll_title) && count($poll_options) >= 2) ? 1 : 0; $sql = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } if ($mode == 'newtopic') { $topic_id = $db->sql_nextid(); } } $edited_sql = ($mode == 'editpost' && !$post_data['last_post'] && $post_data['poster_post']) ? ", post_edit_time = $current_time, post_edit_count = post_edit_count + 1 " : ""; $sql = ($mode != "editpost") ? "INSERT INTO " . POSTS_TABLE . " (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig) VALUES ($topic_id, $forum_id, " . $userdata['user_id'] . ", '$post_username', $current_time, '$user_ip', $bbcode_on, $html_on, $smilies_on, $attach_sig)" : "UPDATE " . POSTS_TABLE . " SET post_username = '$post_username', enable_bbcode = $bbcode_on, enable_html = $html_on, enable_smilies = $smilies_on, enable_sig = $attach_sig" . $edited_sql . " WHERE post_id = $post_id"; if (!$db->sql_query($sql, BEGIN_TRANSACTION)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } if ($mode != 'editpost') { $post_id = $db->sql_nextid(); } $sql = ($mode != 'editpost') ? "INSERT INTO " . POSTS_TEXT_TABLE . " (post_id, post_subject, bbcode_uid, post_text) VALUES ($post_id, '$post_subject', '$bbcode_uid', '$post_message')" : "UPDATE " . POSTS_TEXT_TABLE . " SET post_text = '$post_message', bbcode_uid = '$bbcode_uid', post_subject = '$post_subject' WHERE post_id = $post_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } add_search_words('single', $post_id, stripslashes($post_message), stripslashes($post_subject)); // // Add poll // if (($mode == 'newtopic' || ($mode == 'editpost' && $post_data['edit_poll'])) && !empty($poll_title) && count($poll_options) >= 2) { $sql = (!$post_data['has_poll']) ? "INSERT INTO " . VOTE_DESC_TABLE . " (topic_id, vote_text, vote_start, vote_length) VALUES ($topic_id, '$poll_title', $current_time, " . ($poll_length * 86400) . ")" : "UPDATE " . VOTE_DESC_TABLE . " SET vote_text = '$poll_title', vote_length = " . ($poll_length * 86400) . " WHERE topic_id = $topic_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } $delete_option_sql = ''; $old_poll_result = array(); if ($mode == 'editpost' && $post_data['has_poll']) { $sql = "SELECT vote_option_id, vote_result FROM " . VOTE_RESULTS_TABLE . " WHERE vote_id = $poll_id ORDER BY vote_option_id ASC"; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Could not obtain vote data results for this topic', '', __LINE__, __FILE__, $sql); } while ($row = $db->sql_fetchrow($result)) { $old_poll_result[$row['vote_option_id']] = $row['vote_result']; if (!isset($poll_options[$row['vote_option_id']])) { $delete_option_sql .= ($delete_option_sql != '') ? ', ' . $row['vote_option_id'] : $row['vote_option_id']; } } } else { $poll_id = $db->sql_nextid(); } @reset($poll_options); $poll_option_id = 1; while (list($option_id, $option_text) = each($poll_options)) { if (!empty($option_text)) { $option_text = str_replace("\'", "''", htmlspecialchars($option_text)); $poll_result = ($mode == "editpost" && isset($old_poll_result[$option_id])) ? $old_poll_result[$option_id] : 0; $sql = ($mode != "editpost" || !isset($old_poll_result[$option_id])) ? "INSERT INTO " . VOTE_RESULTS_TABLE . " (vote_id, vote_option_id, vote_option_text, vote_result) VALUES ($poll_id, $poll_option_id, '$option_text', $poll_result)" : "UPDATE " . VOTE_RESULTS_TABLE . " SET vote_option_text = '$option_text', vote_result = $poll_result WHERE vote_option_id = $option_id AND vote_id = $poll_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } $poll_option_id++; } } if ($delete_option_sql != '') { $sql = "DELETE FROM " . VOTE_RESULTS_TABLE . " WHERE vote_option_id IN ($delete_option_sql) AND vote_id = $poll_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error deleting pruned poll options', '', __LINE__, __FILE__, $sql); } } } $meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">'; $message = $lang['Stored'] . '<br /><br />' . sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>'); return false; } // // Update post stats and details // function update_post_stats(&$mode, &$post_data, &$forum_id, &$topic_id, &$post_id, &$user_id) { global $db; $sign = ($mode == 'delete') ? '- 1' : '+ 1'; $forum_update_sql = "forum_posts = forum_posts $sign"; $topic_update_sql = ''; if ($mode == 'delete') { if ($post_data['last_post']) { if ($post_data['first_post']) { $forum_update_sql .= ', forum_topics = forum_topics - 1'; } else { $topic_update_sql .= 'topic_replies = topic_replies - 1'; $sql = "SELECT MAX(post_id) AS last_post_id FROM " . POSTS_TABLE . " WHERE topic_id = $topic_id"; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } if ($row = $db->sql_fetchrow($result)) { $topic_update_sql .= ', topic_last_post_id = ' . $row['last_post_id']; } } if ($post_data['last_topic']) { $sql = "SELECT MAX(post_id) AS last_post_id FROM " . POSTS_TABLE . " WHERE forum_id = $forum_id"; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } if ($row = $db->sql_fetchrow($result)) { $forum_update_sql .= ($row['last_post_id']) ? ', forum_last_post_id = ' . $row['last_post_id'] : ', forum_last_post_id = 0'; } } } else if ($post_data['first_post']) { $sql = "SELECT MIN(post_id) AS first_post_id FROM " . POSTS_TABLE . " WHERE topic_id = $topic_id"; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } if ($row = $db->sql_fetchrow($result)) { $topic_update_sql .= 'topic_replies = topic_replies - 1, topic_first_post_id = ' . $row['first_post_id']; } } else { $topic_update_sql .= 'topic_replies = topic_replies - 1'; } } else if ($mode != 'poll_delete') { $forum_update_sql .= ", forum_last_post_id = $post_id" . (($mode == 'newtopic') ? ", forum_topics = forum_topics $sign" : ""); $topic_update_sql = "topic_last_post_id = $post_id" . (($mode == 'reply') ? ", topic_replies = topic_replies $sign" : ", topic_first_post_id = $post_id"); } else { $topic_update_sql .= 'topic_vote = 0'; } if ($mode != 'poll_delete') { $sql = "UPDATE " . FORUMS_TABLE . " SET $forum_update_sql WHERE forum_id = $forum_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } } if ($topic_update_sql != '') { $sql = "UPDATE " . TOPICS_TABLE . " SET $topic_update_sql WHERE topic_id = $topic_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } } if ($mode != 'poll_delete') { $sql = "UPDATE " . USERS_TABLE . " SET user_posts = user_posts $sign WHERE user_id = $user_id"; if (!$db->sql_query($sql, END_TRANSACTION)) { mx_message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql); } } return; } // // Delete a post/poll // function delete_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id) { global $board_config, $lang, $db, $phpbb_root_path, $phpEx; global $userdata, $user_ip; if ($mode != 'poll_delete') { if( !function_exists('add_search_words') ) { mx_cache::load_file('functions_search', 'phpbb2'); } $sql = "DELETE FROM " . POSTS_TABLE . " WHERE post_id = $post_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } $sql = "DELETE FROM " . POSTS_TEXT_TABLE . " WHERE post_id = $post_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } if ($post_data['last_post']) { if ($post_data['first_post']) { $forum_update_sql .= ', forum_topics = forum_topics - 1'; $sql = "DELETE FROM " . TOPICS_TABLE . " WHERE topic_id = $topic_id OR topic_moved_id = $topic_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } $sql = "DELETE FROM " . TOPICS_WATCH_TABLE . " WHERE topic_id = $topic_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql); } } } remove_search_post($post_id); } if ($mode == 'poll_delete' || ($mode == 'delete' && $post_data['first_post'] && $post_data['last_post']) && $post_data['has_poll'] && $post_data['edit_poll']) { $sql = "DELETE FROM " . VOTE_DESC_TABLE . " WHERE topic_id = $topic_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting poll', '', __LINE__, __FILE__, $sql); } $sql = "DELETE FROM " . VOTE_RESULTS_TABLE . " WHERE vote_id = $poll_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting poll', '', __LINE__, __FILE__, $sql); } $sql = "DELETE FROM " . VOTE_USERS_TABLE . " WHERE vote_id = $poll_id"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Error in deleting poll', '', __LINE__, __FILE__, $sql); } } if ($mode == 'delete' && $post_data['first_post'] && $post_data['last_post']) { $meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . '=' . $forum_id) . '">'; $message = $lang['Deleted']; } else { $meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $topic_id) . '">'; $message = (($mode == 'poll_delete') ? $lang['Poll_delete'] : $lang['Deleted']) . '<br /><br />' . sprintf($lang['Click_return_topic'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id") . '">', '</a>'); } $message .= '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>'); return; } // // Handle user notification on new post // function user_notification($mode, &$post_data, &$topic_title, &$forum_id, &$topic_id, &$post_id, &$notify_user) { global $board_config, $lang, $db, $phpbb_root_path, $phpEx; global $userdata, $user_ip; $current_time = time(); if ($mode != 'delete') { if ($mode == 'reply') { $sql = "SELECT ban_userid FROM " . BANLIST_TABLE; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Could not obtain banlist', '', __LINE__, __FILE__, $sql); } $user_id_sql = ''; while ($row = $db->sql_fetchrow($result)) { if (isset($row['ban_userid']) && !empty($row['ban_userid'])) { $user_id_sql .= ', ' . $row['ban_userid']; } } $sql = "SELECT u.user_id, u.user_email, u.user_lang FROM " . TOPICS_WATCH_TABLE . " tw, " . USERS_TABLE . " u WHERE tw.topic_id = $topic_id AND tw.user_id NOT IN (" . $userdata['user_id'] . ", " . ANONYMOUS . $user_id_sql . ") AND tw.notify_status = " . TOPIC_WATCH_UN_NOTIFIED . " AND u.user_id = tw.user_id"; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Could not obtain list of topic watchers', '', __LINE__, __FILE__, $sql); } $update_watched_sql = ''; $bcc_list_ary = array(); if ($row = $db->sql_fetchrow($result)) { // Sixty second limit @set_time_limit(60); do { if ($row['user_email'] != '') { $bcc_list_ary[$row['user_lang']][] = $row['user_email']; } $update_watched_sql .= ($update_watched_sql != '') ? ', ' . $row['user_id'] : $row['user_id']; } while ($row = $db->sql_fetchrow($result)); // // Let's do some checking to make sure that mass mail functions // are working in win32 versions of php. // if (preg_match('/[c-z]:\\\.*/i', getenv('PATH')) && !$board_config['smtp_delivery']) { $ini_val = (@phpversion() >= '4.0.0') ? 'ini_get' : 'get_cfg_var'; // We are running on windows, force delivery to use our smtp functions // since php's are broken by default $board_config['smtp_delivery'] = 1; $board_config['smtp_host'] = @$ini_val('SMTP'); } if (sizeof($bcc_list_ary)) { include($phpbb_root_path . 'includes/emailer.'.$phpEx); $emailer = new emailer($board_config['smtp_delivery']); $script_name = preg_replace('/^\/?(.*?)\/?$/', '\1', trim($board_config['script_path'])); $script_name = ($script_name != '') ? $script_name . '/viewtopic.'.$phpEx : 'viewtopic.'.$phpEx; $server_name = trim($board_config['server_name']); $server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://'; $server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) . '/' : '/'; $orig_word = array(); $replacement_word = array(); phpBB2::obtain_word_list($orig_word, $replacement_word); $emailer->from($board_config['board_email']); $emailer->replyto($board_config['board_email']); $topic_title = (count($orig_word)) ? preg_replace($orig_word, $replacement_word, unprepare_message($topic_title)) : unprepare_message($topic_title); @reset($bcc_list_ary); while (list($user_lang, $bcc_list) = each($bcc_list_ary)) { $emailer->use_template('topic_notify', $user_lang); for ($i = 0; $i < count($bcc_list); $i++) { $emailer->bcc($bcc_list[$i]); } // The Topic_reply_notification lang string below will be used // if for some reason the mail template subject cannot be read // ... note it will not necessarily be in the posters own language! $emailer->set_subject($lang['Topic_reply_notification']); // This is a nasty kludge to remove the username var ... till (if?) // translators update their templates $emailer->msg = preg_replace('#[ ]?{USERNAME}#', '', $emailer->msg); $emailer->assign_vars(array( 'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '', 'SITENAME' => $board_config['sitename'], 'TOPIC_TITLE' => $topic_title, 'U_TOPIC' => $server_protocol . $server_name . $server_port . $script_name . '?' . POST_POST_URL . "=$post_id#$post_id", 'U_STOP_WATCHING_TOPIC' => $server_protocol . $server_name . $server_port . $script_name . '?' . POST_TOPIC_URL . "=$topic_id&unwatch=topic") ); $emailer->send(); $emailer->reset(); } } } $db->sql_freeresult($result); if ($update_watched_sql != '') { $sql = "UPDATE " . TOPICS_WATCH_TABLE . " SET notify_status = " . TOPIC_WATCH_NOTIFIED . " WHERE topic_id = $topic_id AND user_id IN ($update_watched_sql)"; $db->sql_query($sql); } } $sql = "SELECT topic_id FROM " . TOPICS_WATCH_TABLE . " WHERE topic_id = $topic_id AND user_id = " . $userdata['user_id']; if (!($result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Could not obtain topic watch information', '', __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); if (!$notify_user && !empty($row['topic_id'])) { $sql = "DELETE FROM " . TOPICS_WATCH_TABLE . " WHERE topic_id = $topic_id AND user_id = " . $userdata['user_id']; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Could not delete topic watch information', '', __LINE__, __FILE__, $sql); } } else if ($notify_user && empty($row['topic_id'])) { $sql = "INSERT INTO " . TOPICS_WATCH_TABLE . " (user_id, topic_id, notify_status) VALUES (" . $userdata['user_id'] . ", $topic_id, 0)"; if (!$db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, 'Could not insert topic watch information', '', __LINE__, __FILE__, $sql); } } } } // // Fill smiley templates (or just the variables) with smileys // Either in a window or inline // function generate_smilies($mode, $page_id) { global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path; global $user_ip, $session_length, $starttime; global $userdata; $inline_columns = 4; $inline_rows = 5; $window_columns = 8; if ($mode == 'window') { $userdata = session_pagestart($user_ip, $page_id); init_userprefs($userdata); $gen_simple_header = TRUE; $page_title = $lang['Emoticons']; include($phpbb_root_path . 'includes/page_header.'.$phpEx); $template->set_filenames(array( 'smiliesbody' => 'posting_smilies.tpl') ); } $sql = "SELECT emoticon, code, smile_url FROM " . SMILIES_TABLE . " ORDER BY smilies_id"; if ($result = $db->sql_query($sql)) { $num_smilies = 0; $rowset = array(); while ($row = $db->sql_fetchrow($result)) { if (empty($rowset[$row['smile_url']])) { $rowset[$row['smile_url']]['code'] = str_replace("'", "\\'", str_replace('\\', '\\\\', $row['code'])); $rowset[$row['smile_url']]['emoticon'] = $row['emoticon']; $num_smilies++; } } if ($num_smilies) { $smilies_count = ($mode == 'inline') ? min(19, $num_smilies) : $num_smilies; $smilies_split_row = ($mode == 'inline') ? $inline_columns - 1 : $window_columns - 1; $s_colspan = 0; $row = 0; $col = 0; while (list($smile_url, $data) = @each($rowset)) { if (!$col) { $template->assign_block_vars('smilies_row', array()); } $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']) ); $s_colspan = max($s_colspan, $col + 1); if ($col == $smilies_split_row) { if ($mode == 'inline' && $row == $inline_rows - 1) { break; } $col = 0; $row++; } else { $col++; } } if ($mode == 'inline' && $num_smilies > $inline_rows * $inline_columns) { $template->assign_block_vars('switch_smilies_extra', array()); $template->assign_vars(array( 'L_MORE_SMILIES' => $lang['More_emoticons'], 'U_MORE_SMILIES' => append_sid("posting.$phpEx?mode=smilies")) ); } $template->assign_vars(array( 'L_EMOTICONS' => $lang['Emoticons'], 'L_CLOSE_WINDOW' => $lang['Close_window'], 'S_SMILIES_COLSPAN' => $s_colspan) ); } } if ($mode == 'window') { $template->pparse('smiliesbody'); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); } } /** * Called from within prepare_message to clean included HTML tags if HTML is * turned on for that post * @param array $tag Matching text from the message to parse */ function clean_html($tag) { global $board_config; if (empty($tag[0])) { return ''; } $allowed_html_tags = preg_split('/, */', strtolower($board_config['allow_html_tags'])); $disallowed_attributes = '/^(?:style|on)/i'; // Check if this is an end tag preg_match('/<[^\w\/]*\/[\W]*(\w+)/', $tag[0], $matches); if (sizeof($matches)) { if (in_array(strtolower($matches[1]), $allowed_html_tags)) { return '</' . $matches[1] . '>'; } else { return htmlspecialchars('</' . $matches[1] . '>'); } } // Check if this is an allowed tag if (in_array(strtolower($tag[1]), $allowed_html_tags)) { $attributes = ''; if (!empty($tag[2])) { preg_match_all('/[\W]*?(\w+)[\W]*?=[\W]*?(["\'])((?:(?!\2).)*)\2/', $tag[2], $test); for ($i = 0; $i < sizeof($test[0]); $i++) { if (preg_match($disallowed_attributes, $test[1][$i])) { continue; } $attributes .= ' ' . $test[1][$i] . '=' . $test[2][$i] . str_replace(array('[', ']'), array('[', ']'), htmlspecialchars($test[3][$i])) . $test[2][$i]; } } if (in_array(strtolower($tag[1]), $allowed_html_tags)) { return '<' . $tag[1] . $attributes . '>'; } else { return htmlspecialchars('<' . $tag[1] . $attributes . '>'); } } // Finally, this is not an allowed tag so strip all the attibutes and escape it else { return htmlspecialchars('<' . $tag[1] . '>'); } } ?> |
|
From: FlorinCB <ory...@us...> - 2008-08-28 18:51:00
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26537 Modified Files: Tag: core28x mx_functions_phpbb.php Log Message: this is required by modules. Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/Attic/mx_functions_phpbb.php,v retrieving revision 1.32.2.17 retrieving revision 1.32.2.18 diff -C2 -d -r1.32.2.17 -r1.32.2.18 *** mx_functions_phpbb.php 27 Mar 2008 14:10:01 -0000 1.32.2.17 --- mx_functions_phpbb.php 28 Aug 2008 18:50:56 -0000 1.32.2.18 *************** *** 519,522 **** --- 519,627 ---- /** + * Append session id to url + * + * @param string $url The url the session id needs to be appended to (can have params) + * @param mixed $params String or array of additional url parameters + * @param bool $is_amp Is url using & (true) or & (false) + * @param string $session_id Possibility to use a custom session id instead of the global one + * + * Examples: + * <code> + * mx_append_sid("{$phpbb_root_path}viewtopic.$phpEx?t=1&f=2", false, true); + * mx_append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=1&f=2', true); + * mx_append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=1&f=2', false); + * mx_append_sid("{$phpbb_root_path}viewtopic.$phpEx", array('t' => 1, 'f' => 2)); + * </code> + */ + function mx3_append_sid($url, $params = false, $is_amp = true, $session_id = false, $mod_rewrite_only = false) + { + global $SID, $_EXTRA_URL, $portal_config, $mx_mod_rewrite; + + // Assign sid if session id is not specified + if ($session_id === false) + { + $session_id = $SID; + } + + if ( is_array($session_id) ) + { + $session_id = $userdata['session_id']; + } + + $amp_delim = ($is_amp) ? '&' : '&'; + $url_delim = (strpos($url, '?') === false) ? '?' : $amp_delim; + + // Appending custom url parameter? + $append_url = (!empty($_EXTRA_URL)) ? implode($amp_delim, $_EXTRA_URL) : ''; + + // Is mod_rewrite enabled? If so, do some url rewrites... + if (is_object($mx_mod_rewrite)) + { + $url = $mx_mod_rewrite->encode($url); + } + + // Replaces same function in mx_sessions_phpbbx.php + if ($mod_rewrite_only) + { + return $url; + } + + $anchor = ''; + if (strpos($url, '#') !== false) + { + list($url, $anchor) = explode('#', $url, 2); + $anchor = '#' . $anchor; + } + else if (!is_array($params) && strpos($params, '#') !== false) + { + list($params, $anchor) = explode('#', $params, 2); + $anchor = '#' . $anchor; + } + + // Use the short variant if possible ;) + if ($params === false) + { + // Append session id + if (!$session_id) + { + return $url . (($append_url) ? $url_delim . $append_url : '') . $anchor; + } + else + { + return $url . (($append_url) ? $url_delim . $append_url . $amp_delim : $url_delim) . 'sid=' . $session_id . $anchor; + } + } + + // Build string if parameters are specified as array + if (is_array($params)) + { + $output = array(); + + foreach ($params as $key => $item) + { + if ($item === NULL) + { + continue; + } + + if ($key == '#') + { + $anchor = '#' . $item; + continue; + } + + $output[] = $key . '=' . $item; + } + + $params = implode($amp_delim, $output); + } + + // Append session id and parameters (even if they are empty) + // If parameters are empty, the developer can still append his/her parameters without caring about the delimiter + return $url . (($append_url) ? $url_delim . $append_url . $amp_delim : $url_delim) . $params . ((!$session_id) ? '' : $amp_delim . 'sid=' . $session_id) . $anchor; + } + + + /** * append_sid. * |
|
From: FlorinCB <ory...@us...> - 2008-08-28 18:31:05
|
Update of /cvsroot/mxbb/mx_calsnails/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13090 Modified Files: cal_settings.php Log Message: use _core style Index: cal_settings.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/cal_settings.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** cal_settings.php 3 Jun 2008 20:07:10 -0000 1.17 --- cal_settings.php 28 Aug 2008 18:31:00 -0000 1.18 *************** *** 28,31 **** --- 28,33 ---- define( 'SECONDS_PER_DAY', 86400 ); // 24h * 60m * 60s + $mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x + // ------------------------------------------------------------------------- // Extend User Style with module lang and images |
|
From: FlorinCB <ory...@us...> - 2008-08-28 11:10:19
|
Update of /cvsroot/mxbb/core/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3881 Added Files: posting_smilies.tpl Log Message: we need this for smiles windows in modules. --- NEW FILE: posting_smilies.tpl --- <script language="javascript" type="text/javascript"> <!-- function emoticon(text) { text = ' ' + text + ' '; if (opener.document.forms['post'].message.createTextRange && opener.document.forms['post'].message.caretPos) { var caretPos = opener.document.forms['post'].message.caretPos; caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text; opener.document.forms['post'].message.focus(); } else { opener.document.forms['post'].message.value += text; opener.document.forms['post'].message.focus(); } } //--> </script> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td><table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline"> <tr> <th class="thHead" height="25">{L_EMOTICONS}</th> </tr> <tr> <td><table width="100" border="0" cellspacing="0" cellpadding="5"> <!-- BEGIN smilies_row --> <tr align="center" valign="middle"> <!-- BEGIN smilies_col --> <td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td> <!-- END smilies_col --> </tr> <!-- END smilies_row --> <!-- BEGIN switch_smilies_extra --> <tr align="center"> <td colspan="{S_SMILIES_COLSPAN}"><span class="nav"><a href="{U_MORE_SMILIES}" onclick="open_window('{U_MORE_SMILIES}', 250, 300);return false" target="_smilies" class="nav">{L_MORE_SMILIES}</a></td> </tr> <!-- END switch_smilies_extra --> </table></td> </tr> <tr> <td align="center"><br /><span class="genmed"><a href="javascript:window.close();" class="genmed">{L_CLOSE_WINDOW}</a></span></td> </tr> </table></td> </tr> </table> |
|
From: FlorinCB <ory...@us...> - 2008-08-28 07:42:30
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16735 Modified Files: page_header.php Log Message: force utf-8 for phpBB3 backend, the config.php setting is used and maybe this can be splited to another admin file... Index: page_header.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/page_header.php,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** page_header.php 20 Jul 2008 01:45:01 -0000 1.57 --- page_header.php 28 Aug 2008 07:42:24 -0000 1.58 *************** *** 233,237 **** 'S_CONTENT_DIRECTION' => $lang['DIRECTION'], ! 'S_CONTENT_ENCODING' => $lang['ENCODING'], 'S_CONTENT_DIR_LEFT' => $lang['LEFT'], 'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'], --- 233,237 ---- 'S_CONTENT_DIRECTION' => $lang['DIRECTION'], ! 'S_CONTENT_ENCODING' => (UTF_STATUS === 'phpbb3') ? 'UTF-8' : $lang['ENCODING'], 'S_CONTENT_DIR_LEFT' => $lang['LEFT'], 'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'], |
|
From: FlorinCB <ory...@us...> - 2008-08-28 05:05:26
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15261 Modified Files: mx_functions.php Log Message: Index: mx_functions.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions.php,v retrieving revision 1.91 retrieving revision 1.92 diff -C2 -d -r1.91 -r1.92 *** mx_functions.php 19 Aug 2008 14:34:57 -0000 1.91 --- mx_functions.php 28 Aug 2008 05:05:20 -0000 1.92 *************** *** 774,778 **** if ( !($result = $db->sql_query($sql, 120)) ) { ! message_die(GENERAL_ERROR, 'Tried obtaining data for a non-existent user', '', __LINE__, __FILE__, $sql); } --- 774,778 ---- if ( !($result = $db->sql_query($sql, 120)) ) { ! mx_message_die(GENERAL_ERROR, 'Tried obtaining data for a non-existent user', '', __LINE__, __FILE__, $sql); } |
|
From: FlorinCB <ory...@us...> - 2008-08-27 22:26:57
|
Update of /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2665/modules/mx_rebuild_search_tables/admin Modified Files: admin_rebuild_mx_search.php admin_rebuild_search.php Log Message: SOME FIX Index: admin_rebuild_mx_search.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/admin/admin_rebuild_mx_search.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** admin_rebuild_mx_search.php 15 Jul 2008 22:04:55 -0000 1.14 --- admin_rebuild_mx_search.php 27 Aug 2008 22:26:48 -0000 1.15 *************** *** 146,150 **** if (($start + $num_rows) != $total_num_rows) { ! $form_action = append_sid ("admin_rebuild_mx_search.$phpEx?start=". ($start + $num_rows) ."&total_num_rows=$total_num_rows&post_limit=". $mx_request_vars->get('post_limit', MX_TYPE_INT) ."&time_limit=$time_limit&refresh_rate=". $mx_request_vars->get('refresh_rate', MX_TYPE_INT)); $next = $lang['Next']; $template->assign_vars(array( --- 146,150 ---- if (($start + $num_rows) != $total_num_rows) { ! $form_action = mx_append_sid("admin_rebuild_mx_search.$phpEx?start=". ($start + $num_rows) ."&total_num_rows=$total_num_rows&post_limit=". $mx_request_vars->get('post_limit', MX_TYPE_INT) ."&time_limit=$time_limit&refresh_rate=". $mx_request_vars->get('refresh_rate', MX_TYPE_INT)); $next = $lang['Next']; $template->assign_vars(array( *************** *** 155,159 **** { $next = $lang['Finished']; ! $form_action = append_sid ("admin_rebuild_mx_search.$phpEx"); } --- 155,159 ---- { $next = $lang['Finished']; ! $form_action = mx_append_sid("admin_rebuild_mx_search.$phpEx"); } *************** *** 184,188 **** 'SESSION_ID' => $userdata['session_id'], ! 'S_REBUILD_SEARCH_ACTION' => append_sid ("admin_rebuild_mx_search.$phpEx")) ); --- 184,188 ---- 'SESSION_ID' => $userdata['session_id'], ! 'S_REBUILD_SEARCH_ACTION' => mx_append_sid ("admin_rebuild_mx_search.$phpEx")) ); Index: admin_rebuild_search.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/admin/admin_rebuild_search.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** admin_rebuild_search.php 15 Jul 2008 22:04:55 -0000 1.12 --- admin_rebuild_search.php 27 Aug 2008 22:26:49 -0000 1.13 *************** *** 17,31 **** } global $mx_request_vars; $start_time = time (); $time_limit = $mx_request_vars->get('time_limit', MX_TYPE_INT); - define ('IN_PORTAL', 1); - $no_page_header = true; ! $module_root_path = '../'; ! $mx_root_path = '../../../'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! require( $mx_root_path . 'admin/pagestart.' . $phpEx ); // ********************************************************************** --- 17,50 ---- } + // + // Security and Page header + // + define('IN_PORTAL', 1); + $module_root_path = '../'; + $mx_root_path = '../../../'; + $phpEx = substr(strrchr(__FILE__, '.'), 1); + include_once($mx_root_path . 'common.' . $phpEx); + global $mx_request_vars; $start_time = time (); $time_limit = $mx_request_vars->get('time_limit', MX_TYPE_INT); $no_page_header = true; ! require_once($mx_root_path . 'admin/pagestart.' . $phpEx); ! ! switch (PORTAL_BACKEND) ! { ! case 'internal': ! case 'phpbb3': ! mx_message_die(GENERAL_MESSAGE, 'This feature is designed for MX-Publisher with phpBB2 backend, thus not compatible with current setup.'); ! ! break; ! ! case 'phpbb2': ! ! break; ! } ! ! // ********************************************************************** *************** *** 111,115 **** if (($start + $num_rows) != $total_num_rows) { ! $form_action = append_sid ("admin_rebuild_search.$phpEx?start=". ($start + $num_rows) ."&total_num_rows=$total_num_rows&post_limit=". $mx_request_vars->get('post_limit',MX_TYPE_INT) ."&time_limit=$time_limit&refresh_rate=". $mx_request_vars->get('refresh_rate', MX_TYPE_INT)); $next = $lang['Next']; $template->assign_vars(array( --- 130,134 ---- if (($start + $num_rows) != $total_num_rows) { ! $form_action = mx_append_sid("admin_rebuild_search.$phpEx?start=". ($start + $num_rows) ."&total_num_rows=$total_num_rows&post_limit=". $mx_request_vars->get('post_limit',MX_TYPE_INT) ."&time_limit=$time_limit&refresh_rate=". $mx_request_vars->get('refresh_rate', MX_TYPE_INT)); $next = $lang['Next']; $template->assign_vars(array( *************** *** 120,127 **** { $next = $lang['Finished']; ! $form_action = append_sid ("admin_rebuild_search.$phpEx"); } ! include( $mx_root_path . 'admin/page_header_admin.' . $phpEx ); $template->assign_vars (array ( --- 139,146 ---- { $next = $lang['Finished']; ! $form_action = mx_append_sid("admin_rebuild_search.$phpEx"); } ! include_once($mx_root_path . 'admin/page_header_admin.' . $phpEx); $template->assign_vars (array ( *************** *** 149,153 **** 'SESSION_ID' => $userdata['session_id'], ! 'S_REBUILD_SEARCH_ACTION' => append_sid ("admin_rebuild_search.$phpEx")) ); --- 168,172 ---- 'SESSION_ID' => $userdata['session_id'], ! 'S_REBUILD_SEARCH_ACTION' => mx_append_sid ("admin_rebuild_search.$phpEx")) ); |
|
From: FlorinCB <ory...@us...> - 2008-08-27 22:26:57
|
Update of /cvsroot/mxbb/core/templates/subsilver2/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2665/templates/subsilver2/admin Modified Files: page_header.tpl Log Message: SOME FIX Index: page_header.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/admin/page_header.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** page_header.tpl 16 Jun 2008 20:26:41 -0000 1.3 --- page_header.tpl 27 Aug 2008 22:26:51 -0000 1.4 *************** *** 1,23 **** ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ! <html dir="{S_CONTENT_DIRECTION}"> <head> {META} ! <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" /> ! <title>{SITENAME} - {L_MX_ADMIN}</title> ! <!-- Then load MX-Publisher template *.css definition for mx, located in the the portal template folder --> <link rel="stylesheet" href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}{T_MXBB_STYLESHEET}" type="text/css" > <link rel="stylesheet" href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}admin/admin.css" type="text/css" > ! <!-- Optionally, redefine some defintions for gecko browsers --> <!-- IF GECKO --> <!-- Optionally, redefine some defintions for gecko browsers --> <link rel="stylesheet" href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}{T_GECKO_STYLESHEET}" type="text/css" > <!-- ENDIF --> ! {MX_ADDITIONAL_CSS} {MX_ICON_CSS} <script language="javascript" type="text/javascript" src="{U_PORTAL_ROOT_PATH}modules/mx_shared/lib/Common.js"></script> <script language="javascript" type="text/javascript" src="{U_PORTAL_ROOT_PATH}modules/mx_shared/lib/Toggle.js"></script> </head> <body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}"> <a name="top"></a> \ No newline at end of file --- 1,38 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> <head> + <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}"> + <meta http-equiv="Content-Style-Type" content="text/css"> + <!-- IF SET_BASE --><base href="{U_PORTAL_ROOT_PATH}" ><!-- ENDIF --> {META} ! {NAV_LINKS} ! ! <title>{SITENAME} :: {PAGE_TITLE}</title> ! ! <!-- This should not be included direct from phpBB but later from MXP template folder wich means can be ported to internal backend with no change in this file --> ! <!-- BEGIN switch_phpbb_stylesheet--> ! <link rel="stylesheet" href="{U_PHPBB_ROOT_PATH}styles/subsilver2/theme/stylesheet.css" type="text/css" > ! <!-- END switch_phpbb_stylesheet--> ! ! <!-- Load mxBB template *.css definition for mx, located in the the portal template folder --> <link rel="stylesheet" href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}{T_MXBB_STYLESHEET}" type="text/css" > + <link rel="stylesheet" href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}admin/admin.css" type="text/css" > ! <!-- IF GECKO --> <!-- Optionally, redefine some defintions for gecko browsers --> <link rel="stylesheet" href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}{T_GECKO_STYLESHEET}" type="text/css" > <!-- ENDIF --> ! ! {MX_ADDITIONAL_CSS_FILES} {MX_ICON_CSS} <script language="javascript" type="text/javascript" src="{U_PORTAL_ROOT_PATH}modules/mx_shared/lib/Common.js"></script> <script language="javascript" type="text/javascript" src="{U_PORTAL_ROOT_PATH}modules/mx_shared/lib/Toggle.js"></script> + {MX_ADDITIONAL_JS_FILES} + {MX_ADDITIONAL_HEADER_TEXT} </head> <body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}"> + <a name="top"></a> \ No newline at end of file |
|
From: FlorinCB <ory...@us...> - 2008-08-27 22:01:15
|
Update of /cvsroot/mxbb/core/templates/subsilver2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1606 Modified Files: mx_main_layout.html Log Message: subsilver2 upg Index: mx_main_layout.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/mx_main_layout.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_main_layout.html 27 Aug 2008 21:56:21 -0000 1.3 --- mx_main_layout.html 27 Aug 2008 22:01:07 -0000 1.4 *************** *** 22,69 **** <!-- BEGIN block_header --> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" style="border-bottom:none; padding: 0px 0px 0px 0px;"> <tr> <td> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-top:none; padding: 0px 0px 0px 0px;"> <tr> ! <!-- END block_header --> <!-- BEGIN show_title --> ! <th class="thLeft" align="left" width="100%">{layout_column.blocks.show_title.L_TITLE}</th> <!-- END show_title --> <!-- BEGIN edit --> ! <th class="thTop" align="right" width="1"> ! <div class="editCP_switch" style="display: {layout_column.blocks.edit.EDITCP_SHOW};"> ! <form action="{layout_column.blocks.edit.EDIT_ACTION}" method="post" class="mx_editform"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0"> ! <tr> ! <!-- BEGIN hidden_block --> ! <td align="right"> ! <span class="gensmall"><i>{layout_column.blocks.edit.hidden_block.HIDDEN_BLOCK}</i></span> ! </td> ! <!-- END hidden_block --> ! <td align="right"> ! {layout_column.blocks.edit.EDIT_IMG} ! {layout_column.blocks.edit.S_HIDDEN_FORM_FIELDS} ! </td> ! </tr> ! </table> ! </form> ! </div> ! </th> ! <!-- END edit --> ! <!-- BEGIN show_title --> ! <th class="header"> ! <dl class="icon"><span class="header"></span></dl> ! </th> ! <!-- END show_title --> ! <!-- BEGIN block_header --> </tr> </table> --- 22,71 ---- <!-- BEGIN block_header --> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" style="border-bottom:none; padding:1px 1px 0px 1px;"> <tr> <td> ! <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> ! <!-- END block_header --> <!-- BEGIN show_title --> ! <th class="thCornerL" align="left" width="100%"> ! {layout_column.blocks.show_title.L_TITLE} ! </th> <!-- END show_title --> <!-- BEGIN edit --> ! <th class="thTop" align="right" width="1"> ! <div class="editCP_switch" style="display: {layout_column.blocks.edit.EDITCP_SHOW};"> ! <form action="{layout_column.blocks.edit.EDIT_ACTION}" method="post" class="mx_editform"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0"> ! <tr> ! <!-- BEGIN hidden_block --> ! <td align="right"> ! <span class="gensmall"><i>{layout_column.blocks.edit.hidden_block.HIDDEN_BLOCK}</i></span> ! </td> ! <!-- END hidden_block --> ! <td align="right"> ! {layout_column.blocks.edit.EDIT_IMG} ! {layout_column.blocks.edit.S_HIDDEN_FORM_FIELDS} ! </td> ! </tr> ! </table> ! </form> ! </div> ! </th> ! <!-- END edit --> ! <!-- BEGIN show_title --> ! <th class="thCornerR" align="right" width="1"> ! </th> ! <!-- END show_title --> ! ! <!-- BEGIN block_header --> </tr> </table> *************** *** 81,85 **** </tr> </table> ! </div > </td> --- 83,87 ---- </tr> </table> ! </div> </td> |