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/core/templates/subsilver2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30070/templates/subsilver2 Modified Files: mx_main_layout.html overall_header.html overall_header_navigation.html overall_header_navigation_phpbb.html subsilver2.css Log Message: subsilver2 upg Index: mx_main_layout.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/mx_main_layout.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_main_layout.html 9 Jul 2008 20:47:53 -0000 1.2 --- mx_main_layout.html 27 Aug 2008 21:56:21 -0000 1.3 *************** *** 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> --- 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> *************** *** 83,87 **** </tr> </table> ! </div> </td> --- 81,85 ---- </tr> </table> ! </div > </td> Index: overall_header_navigation_phpbb.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/overall_header_navigation_phpbb.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** overall_header_navigation_phpbb.html 27 Aug 2008 06:32:47 -0000 1.4 --- overall_header_navigation_phpbb.html 27 Aug 2008 21:56:22 -0000 1.5 *************** *** 75,200 **** <a name="top"></a> ! <table width="780" cellspacing="0" cellpadding="1" border="0" align="center" class="mx_main_table"> <tr> ! <td class="bodyline"> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" class="mx_header_table"> ! <tr> ! <td class="row3" width="25%" align="left" valign="top"><a href="{U_INDEX}"><img src="{LOGO}" border="0" alt="{L_INDEX}" vspace="1"/></a></td> ! <td class="row3" width="50%" align="center" valign="middle">{PAGE_ICON}<span class="pagetitle">{PAGE_TITLE}</span></td> ! <td class="row3" width="25%" align="right" valign="top"><span class="sitetitle">{SITENAME}</span><br /><span class="sitetitle_desc">{SITE_DESCRIPTION}</span></td> ! </tr> ! <tr> ! <td class="row2" align="center" valign="middle" colspan="3"> ! {OVERALL_NAVIGATION} ! </td> ! </tr> ! <tr> ! <td class="cat" align="center" valign="middle" colspan="3"> ! <table cellspacing="1" cellpadding="1" border="0"> ! <tr> ! <td align="center" valign="middle" nowrap > ! <a href="{U_INDEX}" class="mainmenu"><img src="{NAV_IMAGES_HOME}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_INDEX}" class="mainmenu">{L_HOME}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <a href="{U_INDEX_FORUM}" class="mainmenu"><img src="{NAV_IMAGES_FORUM}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_INDEX_FORUM}" class="mainmenu">{L_FORUM}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_PROFILE}" class="mainmenu"><img src="{NAV_IMAGES_PROFILE}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a></span> ! <!-- ENDIF --> ! </td> ! <td align="center" valign="middle" nowrap> ! <a href="{U_FAQ}" class="mainmenu"><img src="{NAV_IMAGES_FAQ}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a></span> ! </td> ! <!-- ! <td align="center" valign="middle" nowrap> ! <a href="{U_SEARCH}" class="mainmenu"><img src="{NAV_IMAGES_SEARCH}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a></span> ! </td> ! --> ! <td align="center" valign="middle" nowrap> ! <a href="{U_MEMBERLIST}" class="mainmenu"><img src="{NAV_IMAGES_MEMBERS}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <a href="{U_GROUP_CP}" class="mainmenu"><img src="{NAV_IMAGES_GROUPS}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="{NAV_IMAGES_PRIVMSG}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_PRIVATEMSGS}" class="mainmenu">{L_PRIVATEMSGS}</a></span> ! <!-- ENDIF --> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! <!-- BEGIN editcp --> ! <tr> ! <td class="row2" align="center" valign="middle" colspan="3"> ! <div class="editCP_switch" style="display: {editcp.EDITCP_SHOW};"> ! <form action="{editcp.EDIT_ACTION}" method="post" class="mx_editform"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> ! <td align="right"> ! {editcp.EDIT_IMG} ! {editcp.S_HIDDEN_FORM_FIELDS} </td> </tr> </table> ! </form> ! </div> ! </td> ! </tr> ! <!-- END editcp --> ! </table> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center"> ! <tr> ! <td align="center" valign="middle" nowrap> ! <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="{NAV_IMAGES_LOGIN_LOGOUT}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_OUT --> ! <a href="{U_REGISTER}" class="mainmenu"><img src="{NAV_IMAGES_REGISTER}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a></span> ! <!-- ENDIF --> ! </td> ! <td valign="top" align="right" width="100%" height="5" > ! <form name="search_block" method="post" action="{U_SEARCH}" onsubmit="return checkSearch()"> ! <a href="{U_SEARCH}" class="gen"><span class="gen">{L_SEARCH}</span></a>: ! <input class="post" type="text" name="search_keywords" size="15" value="...?" ! onfocus="if(this.value=='...?'){this.value='';}" ! onblur="if(this.value==''){this.value='...?';}"> ! <select class="post" name="search_engine"> ! {L_SEARCH_SITE} ! {L_SEARCH_FORUM} ! {L_SEARCH_KB} ! {L_SEARCH_PAFILEDB} ! {L_SEARCH_GOOGLE} ! </select> ! <input type="hidden" name="search_fields" value="all"> ! <input type="hidden" name="show_results" value="topics"> ! <input class="mainoption" type="submit" value="Search"> ! </form> ! </td> ! <td valign="top" align="left" width="5" height="5" > </td> ! </tr> ! </table> ! <!-- IF PHPBB_STATS --> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center"> ! <tr> ! <td align="left" valign="top" ><span class="gensmall"> ! <!-- IF USER_LOGGED_IN --> ! {LAST_VISIT_DATE}<br /> ! <!-- ENDIF --> ! {CURRENT_TIME}<br /></span> ! </td> ! <td align="right" valign="top" > ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br /> ! <!-- ENDIF --> ! <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a> ! </td> ! </tr> ! </table> ! <!-- ENDIF --> --- 75,211 ---- <a name="top"></a> ! <div style="width:960px;clear:both;margin: 0 auto;"> ! <table width="100%" align="center" cellspacing="0" cellpadding="0" border="0" class="mx_main_table"> <tr> ! <td class="leftshadow" width="9" valign="top"><img src="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/images/spacer.gif" alt="" width="9" height="1" /></td> ! <td class="np-body" width="100%" valign="top"> ! <div id="top_logo"> ! <table width="100%" cellspacing="0" cellpadding="0" border="0"> ! <tr> ! <td class="row3" width="25%" align="left" valign="top"><a href="{U_INDEX}"><img src="{LOGO}" border="0" alt="{L_INDEX}" vspace="1"/></a></td> ! <td class="row3" width="50%" align="center" valign="middle">{PAGE_ICON}<span class="pagetitle">{PAGE_TITLE}</span></td> ! <td class="row3" width="25%" align="right" valign="top"><span class="sitetitle">{SITENAME}</span><br /><span class="sitetitle_desc">{SITE_DESCRIPTION}</span></td> ! </tr> ! </table> ! </div> ! <table width="100%" cellspacing="0" cellpadding="1" border="0" align="center" class="mx_main_table"> ! <tr> ! <td class="bodyline"> ! ! <table width="100%" cellspacing="0" cellpadding="2" border="0" class="mx_header_table"> ! <tr> ! <td class="row2" align="center" valign="middle" colspan="3"> ! {OVERALL_NAVIGATION} ! </td> ! </tr> ! <tr> ! <td class="cat" align="center" valign="middle" colspan="3"> ! <table cellspacing="1" cellpadding="1" border="0"> <tr> ! <td align="center" valign="middle" nowrap > ! <a href="{U_INDEX}" class="mainmenu"><img src="{NAV_IMAGES_HOME}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_INDEX}" class="mainmenu">{L_HOME}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <a href="{U_INDEX_FORUM}" class="mainmenu"><img src="{NAV_IMAGES_FORUM}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_INDEX_FORUM}" class="mainmenu">{L_FORUM}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_PROFILE}" class="mainmenu"><img src="{NAV_IMAGES_PROFILE}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a></span> ! <!-- ENDIF --> ! </td> ! <td align="center" valign="middle" nowrap> ! <a href="{U_FAQ}" class="mainmenu"><img src="{NAV_IMAGES_FAQ}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a></span> ! </td> ! <!-- ! <td align="center" valign="middle" nowrap> ! <a href="{U_SEARCH}" class="mainmenu"><img src="{NAV_IMAGES_SEARCH}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a></span> ! </td> ! --> ! <td align="center" valign="middle" nowrap> ! <a href="{U_MEMBERLIST}" class="mainmenu"><img src="{NAV_IMAGES_MEMBERS}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <a href="{U_GROUP_CP}" class="mainmenu"><img src="{NAV_IMAGES_GROUPS}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="{NAV_IMAGES_PRIVMSG}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_PRIVATEMSGS}" class="mainmenu">{L_PRIVATEMSGS}</a></span> ! <!-- ENDIF --> </td> </tr> + </table> ! </td> ! </tr> ! <!-- BEGIN editcp --> ! <tr> ! <td class="row2" align="center" valign="middle" colspan="3"> ! <div class="editCP_switch" style="display: {editcp.EDITCP_SHOW};"> ! <form action="{editcp.EDIT_ACTION}" method="post" class="mx_editform"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0"> ! <tr> ! <td align="right"> ! {editcp.EDIT_IMG} ! {editcp.S_HIDDEN_FORM_FIELDS} ! </td> ! </tr> ! </table> ! </form> ! </div> ! </td> ! </tr> ! <!-- END editcp --> ! </table> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center"> ! <tr> ! <td align="center" valign="middle" nowrap> ! <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="{NAV_IMAGES_LOGIN_LOGOUT}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_OUT --> ! <a href="{U_REGISTER}" class="mainmenu"><img src="{NAV_IMAGES_REGISTER}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a></span> ! <!-- ENDIF --> ! </td> ! <td valign="top" align="right" width="100%" height="5" > ! <form name="search_block" method="post" action="{U_SEARCH}" onsubmit="return checkSearch()"> ! <a href="{U_SEARCH}" class="gen"><span class="gen">{L_SEARCH}</span></a>: ! <input class="post" type="text" name="search_keywords" size="15" value="...?" ! onfocus="if(this.value=='...?'){this.value='';}" ! onblur="if(this.value==''){this.value='...?';}"> ! <select class="post" name="search_engine"> ! {L_SEARCH_SITE} ! {L_SEARCH_FORUM} ! {L_SEARCH_KB} ! {L_SEARCH_PAFILEDB} ! {L_SEARCH_GOOGLE} ! </select> ! <input type="hidden" name="search_fields" value="all"> ! <input type="hidden" name="show_results" value="topics"> ! <input class="mainoption" type="submit" value="Search"> ! </form> ! </td> ! <td valign="top" align="left" width="5" height="5" > </td> ! </tr> ! </table> ! <!-- IF PHPBB_STATS --> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center"> ! <tr> ! <td align="left" valign="top" ><span class="gensmall"> ! <!-- IF USER_LOGGED_IN --> ! {LAST_VISIT_DATE}<br /> ! <!-- ENDIF --> ! {CURRENT_TIME}<br /></span> ! </td> ! <td align="right" valign="top" > ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br /> ! <!-- ENDIF --> ! <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a> ! </td> ! </tr> ! </table> ! <!-- ENDIF --> Index: subsilver2.css =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/subsilver2.css,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** subsilver2.css 16 Jun 2008 20:26:41 -0000 1.8 --- subsilver2.css 27 Aug 2008 21:56:22 -0000 1.9 *************** *** 13,23 **** */ ! /* Include the subSilver css file from phpbb2 */ ! @import url("theme/subsilver.css"); /************************************************************\ | Addon or redefined CSS definitions for MX-Publisher \************************************************************/ ! p, td { font-size: 11px; color: #000000; } /* This is the main table round all portal contents, use with .bodyline */ --- 13,727 ---- */ ! /* 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; ! scrollbar-highlight-color: #FFFFFF; ! scrollbar-shadow-color: #DEE3E7; ! scrollbar-3dlight-color: #D1D7DC; ! 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 */ ! } ! ! #wrapheader { ! min-height: 120px; ! height: auto !important; ! height: 120px; ! background-image: url('./theme/images/background.gif'); ! background-repeat: repeat-x; ! padding: 0 25px 15px 25px; ! padding: 0; ! } ! ! ! #wrapcentre { ! margin: 15px 25px 0 25px; ! } ! ! #wrapfooter { ! text-align: center; ! clear: both; ! } ! ! #wrapnav { ! width: 100%; ! margin: 0; ! background-color: #ECECEC; ! border-width: 1px; ! border-style: solid; ! border-color: #A9B8C2; ! } ! ! #logodesc { ! margin-bottom: 5px; ! padding: 5px 25px; ! background: #D9DFE4; ! border-bottom: 1px solid #4787A7; ! } ! ! #menubar { ! margin: 0 25px; ! } ! ! #datebar { ! margin: 10px 25px 0 25px; ! } ! ! #findbar { ! width: 100%; ! margin: 0; ! padding: 0; ! border: 0; ! } ! ! .forumrules { ! background-color: #F9CC79; ! border-style: solid; ! border-color: #BB9860; ! font-weight: normal; ! font-size: 1.1em; ! font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; ! } ! ! .forumrules h3 { ! color: red; ! } ! ! #pageheader { } ! #pagecontent { } ! #pagefooter { } ! ! #poll { } ! #postrow { } ! #postdata { } ! ! ! /* Text ! --------------------- */ ! h1 { ! color: black; ! font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; ! font-weight: bold; ! font-size: 1.8em; ! text-decoration: none; ! } ! ! h2 { ! font-family: Arial, Helvetica, sans-serif; ! font-weight: bold; ! font-size: 1.5em; ! text-decoration: none; ! line-height: 120%; ! } ! ! h3 { ! font-size: 1.3em; ! font-weight: bold; ! font-family: Arial, Helvetica, sans-serif; ! line-height: 120%; ! } ! ! h4 { ! margin: 0; ! font-size: 1.1em; ! font-weight: bold; ! } ! ! p { ! font-size: 1.1em; ! } ! ! p.moderators { ! margin: 0; ! float: left; ! color: black; ! font-weight: bold; ! } ! ! .rtl p.moderators { ! float: right; ! } ! ! p.linkmcp { ! margin: 0; ! float: right; ! white-space: nowrap; ! } ! ! .rtl p.linkmcp { ! float: left; ! } ! ! p.breadcrumbs { ! margin: 0; ! float: left; ! color: black; ! font-weight: bold; ! white-space: normal; ! font-size: 1em; ! } ! ! .rtl p.breadcrumbs { ! float: right; ! } ! ! p.datetime { ! margin: 0; ! float: right; ! white-space: nowrap; ! font-size: 1em; ! } ! ! .rtl p.datetime { ! float: left; ! } ! ! p.searchbar { ! padding: 2px 0; ! white-space: nowrap; ! } ! ! p.searchbarreg { ! margin: 0; ! float: right; ! white-space: nowrap; ! } ! ! .rtl p.searchbarreg { ! float: left; ! } ! ! p.forumdesc { ! padding-bottom: 4px; ! } ! ! p.topicauthor { ! margin: 1px 0; ! } ! ! p.topicdetails { ! margin: 1px 0; ! } ! ! .postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active { ! margin: 1px 0; ! color: red; ! font-weight:bold; ! } ! ! .postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active { ! color: green; ! font-weight:bold; ! } ! ! .postapprove img, .postreported img { ! vertical-align: bottom; ! } ! ! .postauthor { ! color: #000000; ! } ! ! .postdetails { ! color: #000000; ! } ! ! .postbody { ! font-size: 1.3em; ! line-height: 1.4em; ! font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; ! } ! ! .postbody li, ol, ul { ! margin: 0 0 0 1.5em; ! } ! ! .rtl .postbody li, .rtl ol, .rtl ul { ! margin: 0 1.5em 0 0; ! } ! ! .posthilit { ! background-color: yellow; ! } ! ! .nav { ! margin: 0; ! color: black; ! font-weight: bold; ! } ! ! .pagination { ! padding: 4px; ! color: black; ! font-size: 1em; ! font-weight: bold; ! } ! ! .cattitle { ! ! } ! ! .gen { ! margin: 1px 1px; ! font-size: 1.2em; ! } ! ! .genmed { ! margin: 1px 1px; ! font-size: 1.1em; ! } ! ! .gensmall { ! margin: 1px 1px; ! font-size: 1em; ! } ! ! .copyright { ! color: #444; ! font-weight: normal; ! font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; ! } ! ! .titles { ! font-family: "Lucida Grande", Helvetica, Arial, sans-serif; ! font-weight: bold; ! font-size: 1.3em; ! text-decoration: none; ! } ! ! .error { ! color: red; ! } ! ! ! /* Tables ! ------------ */ ! ! td { ! padding: 0px; ! } ! ! /* ! This is for the table cell above the Topics, Post & Last posts on the index.php page ! By default this is the fading out gradiated silver background. ! However, you could replace this with a bitmap specific for each forum ! */ ! td.rowpic { ! background-color: #FFFFFF; ! background-image: url('./theme/images/cellpic2.jpg'); ! background-repeat: repeat-y; ! } ! ! td.nav { ! padding: 2px; ! } ! ! /* Header cells - the blue and silver gradient backgrounds */ ! th { ! color: #FFA34F; font-size: 11px; font-weight : bold; ! background-color: #006699; ! height: 18px; ! background-image: url('./theme/images/cellpic3.gif'); ! padding: 2px; ! } ! ! td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom { ! background-image: url('./theme/images/cellpic1.gif'); ! background-color:#D1D7DC; ! border: #FFFFFF; ! border-style: solid; ! height: 28px; ! } ! ! td.cat,td.catHead,td.catBottom { ! height: 29px; ! border-width: 0px 0px 0px 0px; ! } ! th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR { ! font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; } ! td.row3Right,td.spaceRow { ! background-color: #D1D7DC; border: #FFFFFF; border-style: solid; } ! ! th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; } ! th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; } ! th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; } ! th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; } ! th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; } ! th.thTop { border-width: 1px 0px 0px 0px; } ! th.thCornerL { border-width: 1px 0px 0px 1px; } ! th.thCornerR { border-width: 1px 1px 0px 0px; } ! ! ! td.profile { ! padding: 4px; ! } ! ! .tablebg { ! background-color: #A9B8C2; ! } ! ! .catdiv { ! height: 28px; ! margin: 0; ! padding: 0; ! border: 0; ! background: white url('./theme/images/cellpic2.jpg') repeat-y scroll top left; ! } ! .rtl .catdiv { ! background: white url('./theme/images/cellpic2_rtl.jpg') repeat-y scroll top right; ! } ! ! .cat { ! height: 28px; ! margin: 0; ! padding: 0; ! border: 0; ! background-color: #C7D0D7; ! background-image: url('./theme/images/cellpic1.gif'); ! text-indent: 4px; ! } ! ! .row1 { ! background-color: #ECECEC; ! padding: 4px; ! } ! ! .row2 { ! background-color: #DCE1E5; ! padding: 4px; ! } ! ! .row3 { ! background-color: #C0C8D0; ! padding: 4px; ! } ! ! .spacer { ! background-color: #D1D7DC; ! } ! ! hr { ! height: 1px; ! border-width: 0; ! background-color: #D1D7DC; ! color: #D1D7DC; ! } ! ! .legend { ! text-align:center; ! margin: 0 auto; ! } ! ! /* Links ! ------------ */ ! a:link { ! color: #006597; ! text-decoration: none; ! } ! ! a:active, ! a:visited { ! color: #005784; ! text-decoration: none; ! } ! ! a:hover { ! color: #D46400; ! text-decoration: underline; ! } ! ! a.forumlink { ! color: #069; ! font-weight: bold; ! font-family: "Lucida Grande", Helvetica, Arial, sans-serif; ! font-size: 1.2em; ! } ! ! a.topictitle { ! margin: 1px 0; ! font-family: "Lucida Grande", Helvetica, Arial, sans-serif; ! font-weight: bold; ! font-size: 1.2em; ! } ! ! a.topictitle:visited { ! color: #5493B4; ! text-decoration: none; ! } ! ! th a, ! th a:visited { ! color: #FFA34F !important; ! text-decoration: none; ! } ! ! th a:hover { ! text-decoration: underline; ! } ! ! ! /* Form Elements ! ------------ */ ! form { ! margin: 0; ! padding: 0; ! border: 0; ! } ! ! input { ! color: #333333; ! font-family: "Lucida Grande", Verdana, Helvetica, sans-serif; ! font-size: 1.1em; ! font-weight: normal; ! padding: 1px; ! border: 1px solid #A9B8C2; ! background-color: #FAFAFA; ! } ! ! textarea { ! background-color: #FAFAFA; ! color: #333333; ! font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; ! font-size: 1.3em; ! line-height: 1.4em; ! font-weight: normal; ! border: 1px solid #A9B8C2; ! padding: 2px; ! } ! ! select { ! color: #333333; ! background-color: #FAFAFA; ! font-family: "Lucida Grande", Verdana, Helvetica, sans-serif; ! font-size: 1.1em; ! font-weight: normal; ! border: 1px solid #A9B8C2; ! padding: 1px; ! } ! ! option { ! padding: 0 1em 0 0; ! } ! ! option.disabled-option { ! color: graytext; ! } ! ! .rtl option { ! padding: 0 0 0 1em; ! } ! ! input.radio { ! border: none; ! background-color: transparent; ! } ! ! .post { ! background-color: white; ! border-style: solid; ! border-width: 1px; ! } ! ! .btnbbcode { ! color: #000000; ! font-weight: normal; ! font-size: 1.1em; ! font-family: "Lucida Grande", Verdana, Helvetica, sans-serif; ! background-color: #EFEFEF; ! border: 1px solid #666666; ! } ! ! .btnmain { ! font-weight: bold; ! background-color: #ECECEC; ! border: 1px solid #A9B8C2; ! cursor: pointer; ! padding: 1px 5px; ! font-size: 1.1em; ! } ! ! .btnlite { ! font-weight: normal; ! background-color: #ECECEC; ! border: 1px solid #A9B8C2; ! cursor: pointer; ! padding: 1px 5px; ! font-size: 1.1em; ! } ! ! .btnfile { ! font-weight: normal; ! background-color: #ECECEC; ! border: 1px solid #A9B8C2; ! padding: 1px 5px; ! font-size: 1.1em; ! } ! ! .helpline { ! background-color: #DEE3E7; ! border-style: none; ! } ! ! ! /* BBCode ! ------------ */ ! .quotetitle, .attachtitle { ! margin: 10px 5px 0 5px; ! padding: 4px; ! border-width: 1px 1px 0 1px; ! border-style: solid; ! border-color: #A9B8C2; ! color: #333333; ! background-color: #A9B8C2; ! font-size: 0.85em; ! font-weight: bold; ! } ! ! .quotetitle .quotetitle { ! font-size: 1em; ! } ! ! .quotecontent, .attachcontent { ! margin: 0 5px 10px 5px; ! padding: 5px; ! border-color: #A9B8C2; ! border-width: 0 1px 1px 1px; ! border-style: solid; ! font-weight: normal; ! font-size: 1em; ! line-height: 1.4em; ! font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; ! background-color: #FAFAFA; ! color: #4B5C77; ! } ! ! .attachcontent { ! font-size: 0.85em; ! } ! ! .codetitle { ! margin: 10px 5px 0 5px; ! padding: 2px 4px; ! border-width: 1px 1px 0 1px; ! border-style: solid; ! border-color: #A9B8C2; ! color: #333333; ! background-color: #A9B8C2; ! font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; ! font-size: 0.8em; ! } ! ! .codecontent { ! direction: ltr; ! margin: 0 5px 10px 5px; ! padding: 5px; ! border-color: #A9B8C2; ! border-width: 0 1px 1px 1px; ! border-style: solid; ! font-weight: normal; ! color: #006600; ! font-size: 0.85em; ! font-family: Monaco, 'Courier New', monospace; ! background-color: #FAFAFA; ! } ! ! .syntaxbg { ! color: #FFFFFF; ! } ! ! .syntaxcomment { ! color: #FF8000; ! } ! ! .syntaxdefault { ! color: #0000BB; ! } ! ! .syntaxhtml { ! color: #000000; ! } ! ! .syntaxkeyword { ! color: #007700; ! } ! ! .syntaxstring { ! color: #DD0000; ! } ! ! ! /* Private messages ! ------------------ */ ! .pm_marked_colour { ! background-color: #000000; ! } ! ! .pm_replied_colour { ! background-color: #A9B8C2; ! } ! ! .pm_friend_colour { ! background-color: #007700; ! } ! ! .pm_foe_colour { ! background-color: #DD0000; ! } ! ! ! /* Misc ! ------------ */ ! img { ! border: none; ! } ! ! .sep { ! color: black; ! background-color: #FFA34F; ! } ! ! table.colortable td { ! padding: 0; ! } ! ! pre { ! font-size: 1.1em; ! font-family: Monaco, 'Courier New', monospace; ! } ! ! .nowrap { ! white-space: nowrap; ! } ! ! .username-coloured { ! font-weight: bold; ! } /************************************************************\ | Addon or redefined CSS definitions for MX-Publisher \************************************************************/ ! ! /* This is the border line & background colour round the entire page */ ! .bodyline { background-color: #FFFFFF; border: 1px #98AAB1 solid; } ! ! /* This is the outline round the main forum tables */ ! .forumline { background-color: #FFFFFF; border: 2px #006699 solid; } /* This is the main table round all portal contents, use with .bodyline */ Index: overall_header.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/overall_header.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** overall_header.html 27 Aug 2008 06:32:39 -0000 1.6 --- overall_header.html 27 Aug 2008 21:56:22 -0000 1.7 *************** *** 73,177 **** </head> <body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}"> <a name="top"></a> ! <table width="100%" cellspacing="0" cellpadding="1" border="0" align="center" class="mx_main_table"> <tr> ! <td class="bodyline"> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" class="mx_header_table"> ! <tr> ! <td class="row3" width="25%" align="left" valign="top"><a href="{U_INDEX}"><img src="{LOGO}" border="0" alt="{L_INDEX}" vspace="1"/></a></td> ! <td class="row3" width="50%" align="center" valign="middle">{PAGE_ICON}<span class="pagetitle">{PAGE_TITLE}</span></td> ! <td class="row3" width="25%" align="right" valign="top"><span class="sitetitle">{SITENAME}</span><br /><span class="sitetitle_desc">{SITE_DESCRIPTION}</span></td> ! </tr> ! <tr> ! <td class="cat" align="center" valign="middle" colspan="3"> ! <table cellspacing="1" cellpadding="1" border="0"> ! <tr> ! <td align="center" valign="middle" nowrap > ! <a href="{U_INDEX}" class="mainmenu"><img src="{NAV_IMAGES_HOME}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_INDEX}" class="mainmenu">{L_HOME}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <a href="{U_INDEX_FORUM}" class="mainmenu"><img src="{NAV_IMAGES_FORUM}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_INDEX_FORUM}" class="mainmenu">{L_FORUM}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_PROFILE}" class="mainmenu"><img src="{NAV_IMAGES_PROFILE}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a></span> ! <!-- ENDIF --> ! </td> ! <td align="center" valign="middle" nowrap> ! <a href="{U_FAQ}" class="mainmenu"><img src="{NAV_IMAGES_FAQ}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a></span> ! </td> ! <!-- ! <td align="center" valign="middle" nowrap> ! <a href="{U_SEARCH}" class="mainmenu"><img src="{NAV_IMAGES_SEARCH}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a></span> ! </td> ! --> ! <td align="center" valign="middle" nowrap> ! <a href="{U_MEMBERLIST}" class="mainmenu"><img src="{NAV_IMAGES_MEMBERS}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <a href="{U_GROUP_CP}" class="mainmenu"><img src="{NAV_IMAGES_GROUPS}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="{NAV_IMAGES_PRIVMSG}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_PRIVATEMSGS}" class="mainmenu">{L_PRIVATEMSGS}</a></span> ! <!-- ENDIF --> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! </table> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center"> ! <tr> ! <td align="center" valign="middle" nowrap> ! <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="{NAV_IMAGES_LOGIN_LOGOUT}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_OUT --> ! <a href="{U_REGISTER}" class="mainmenu"><img src="{NAV_IMAGES_REGISTER}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a></span> ! <!-- ENDIF --> ! </td> ! <td valign="top" align="right" width="100%" height="5" > ! <form name="search_block" method="post" action="{U_SEARCH}" onsubmit="return checkSearch()"> ! <a href="{U_SEARCH}" class="gen"><span class="gen">{L_SEARCH}</span></a>: ! <input class="post" type="text" name="search_keywords" size="15" value="...?" ! onfocus="if(this.value=='...?'){this.value='';}" ! onblur="if(this.value==''){this.value='...?';}"> ! <select class="post" name="search_engine"> ! {L_SEARCH_SITE} ! {L_SEARCH_FORUM} ! {L_SEARCH_KB} ! {L_SEARCH_PAFILEDB} ! {L_SEARCH_GOOGLE} ! </select> ! <input type="hidden" name="search_fields" value="all"> ! <input type="hidden" name="show_results" value="topics"> ! <input class="mainoption" type="submit" value="Search"> ! </form> ! </td> ! <td valign="top" align="left" width="5" height="5" > </td> ! </tr> ! </table> ! <!-- IF PHPBB_STATS --> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center"> ! <tr> ! <td align="left" valign="top" ><span class="gensmall"> ! <!-- IF USER_LOGGED_IN --> ! {LAST_VISIT_DATE}<br /> ! <!-- ENDIF --> ! {CURRENT_TIME}<br /></span> ! </td> ! <td align="right" valign="top" > ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br /> ! <!-- ENDIF --> ! <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a> ! </td> ! </tr> ! </table> ! <!-- ENDIF --> \ No newline at end of file --- 73,189 ---- </head> <body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}"> + <a name="top"></a> ! <div style="width:960px;clear:both;margin: 0 auto;"> ! <table width="100%" align="center" cellspacing="0" cellpadding="0" border="0" class="mx_main_table"> <tr> ! <td class="leftshadow" width="9" valign="top"><img src="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/images/spacer.gif" alt="" width="9" height="1" /></td> ! <td class="np-body" width="100%" valign="top"> ! <div id="top_logo"> ! <table width="100%" cellspacing="0" cellpadding="0" border="0"> ! <tr> ! <td class="row3" width="25%" align="left" valign="top"><a href="{U_INDEX}"><img src="{LOGO}" border="0" alt="{L_INDEX}" vspace="1"/></a></td> ! <td class="row3" width="50%" align="center" valign="middle">{PAGE_ICON}<span class="pagetitle">{PAGE_TITLE}</span></td> ! <td class="row3" width="25%" align="right" valign="top"><span class="sitetitle">{SITENAME}</span><br /><span class="sitetitle_desc">{SITE_DESCRIPTION}</span></td> ! </tr> ! </table> ! </div> ! <table width="100%" cellspacing="0" cellpadding="1" border="0" align="center" class="mx_main_table"> ! <tr> ! <td class="bodyline"> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" class="mx_header_table"> ! <tr> ! <td class="cat" align="center" valign="middle" colspan="3"> ! <table cellspacing="1" cellpadding="1" border="0"> ! <tr> ! <td align="center" valign="middle" nowrap > ! <a href="{U_INDEX}" class="mainmenu"><img src="{NAV_IMAGES_HOME}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_INDEX}" class="mainmenu">{L_HOME}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <a href="{U_INDEX_FORUM}" class="mainmenu"><img src="{NAV_IMAGES_FORUM}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_INDEX_FORUM}" class="mainmenu">{L_FORUM}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_PROFILE}" class="mainmenu"><img src="{NAV_IMAGES_PROFILE}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a></span> ! <!-- ENDIF --> ! </td> ! <td align="center" valign="middle" nowrap> ! <a href="{U_FAQ}" class="mainmenu"><img src="{NAV_IMAGES_FAQ}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a></span> ! </td> ! <!-- ! <td align="center" valign="middle" nowrap> ! <a href="{U_SEARCH}" class="mainmenu"><img src="{NAV_IMAGES_SEARCH}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a></span> ! </td> ! --> ! <td align="center" valign="middle" nowrap> ! <a href="{U_MEMBERLIST}" class="mainmenu"><img src="{NAV_IMAGES_MEMBERS}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <a href="{U_GROUP_CP}" class="mainmenu"><img src="{NAV_IMAGES_GROUPS}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="{NAV_IMAGES_PRIVMSG}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_PRIVATEMSGS}" class="mainmenu">{L_PRIVATEMSGS}</a></span> ! <!-- ENDIF --> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! </table> ! ! <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center"> ! <tr> ! <td align="center" valign="middle" nowrap> ! <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="{NAV_IMAGES_LOGIN_LOGOUT}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_OUT --> ! <a href="{U_REGISTER}" class="mainmenu"><img src="{NAV_IMAGES_REGISTER}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a></span> ! <!-- ENDIF --> ! </td> ! <td valign="top" align="right" width="100%" height="5" > ! <form name="search_block" method="post" action="{U_SEARCH}" onsubmit="return checkSearch()"> ! <a href="{U_SEARCH}" class="gen"><span class="gen">{L_SEARCH}</span></a>: ! <input class="post" type="text" name="search_keywords" size="15" value="...?" ! onfocus="if(this.value=='...?'){this.value='';}" ! onblur="if(this.value==''){this.value='...?';}"> ! <select class="post" name="search_engine"> ! {L_SEARCH_SITE} ! {L_SEARCH_FORUM} ! {L_SEARCH_KB} ! {L_SEARCH_PAFILEDB} ! {L_SEARCH_GOOGLE} ! </select> ! <input type="hidden" name="search_fields" value="all"> ! <input type="hidden" name="show_results" value="topics"> ! <input class="mainoption" type="submit" value="Search"> ! </form> ! </td> ! <td valign="top" align="left" width="5" height="5" > </td> ! </tr> ! </table> ! ! <!-- IF PHPBB_STATS --> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center"> ! <tr> ! <td align="left" valign="top" ><span class="gensmall"> ! <!-- IF USER_LOGGED_IN --> ! {LAST_VISIT_DATE}<br /> ! <!-- ENDIF --> ! {CURRENT_TIME}<br /></span> ! </td> ! <td align="right" valign="top" > ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br /> ! <!-- ENDIF --> ! <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a> ! </td> ! </tr> ! </table> ! <!-- ENDIF --> \ No newline at end of file Index: overall_header_navigation.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/overall_header_navigation.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** overall_header_navigation.html 27 Aug 2008 06:32:40 -0000 1.6 --- overall_header_navigation.html 27 Aug 2008 21:56:22 -0000 1.7 *************** *** 75,162 **** <a name="top"></a> ! <table width="780" cellspacing="0" cellpadding="1" border="0" align="center" class="mx_main_table"> <tr> ! <td class="bodyline"> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" class="mx_header_table"> ! <tr> ! <td class="row3" width="25%" align="left" valign="top"><a href="{U_INDEX}"><img src="{LOGO}" border="0" alt="{L_INDEX}" vspace="1"/></a></td> ! <td class="row3" width="50%" align="center" valign="middle">{PAGE_ICON}<span class="pagetitle">{PAGE_TITLE}</span></td> ! <td class="row3" width="25%" align="right" valign="top"><span class="sitetitle">{SITENAME}</span><br /><span class="sitetitle_desc">{SITE_DESCRIPTION}</span></td> ! </tr> ! <tr> ! <td class="row2" align="center" valign="middle" colspan="3"> ! {OVERALL_NAVIGATION} ! </td> ! </tr> ! <!-- BEGIN editcp --> ! <tr> ! <td class="row2" align="center" valign="middle" colspan="3"> ! <div class="editCP_switch" style="display: {editcp.EDITCP_SHOW};"> ! <form action="{editcp.EDIT_ACTION}" method="post" class="mx_editform"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0"> ! <tr> ! <td align="right"> ! {editcp.EDIT_IMG} ! {editcp.S_HIDDEN_FORM_FIELDS} ! </td> ! </tr> ! </table> ! </form> ! </div> ! </td> ! </tr> ! <!-- END editcp --> ! </table> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center"> ! <tr> ! <td align="center" valign="middle" nowrap> ! <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="{NAV_IMAGES_LOGIN_LOGOUT}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_OUT --> ! <a href="{U_REGISTER}" class="mainmenu"><img src="{NAV_IMAGES_REGISTER}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a></span> ! <!-- ENDIF --> ! </td> ! <td valign="top" align="right" width="100%" height="5" > ! <form name="search_block" method="post" action="{U_SEARCH}" onsubmit="return checkSearch()"> ! <a href="{U_SEARCH}" class="gen"><span class="gen">{L_SEARCH}</span></a>: ! <input class="post" type="text" name="search_keywords" size="15" value="...?" ! onfocus="if(this.value=='...?'){this.value='';}" ! onblur="if(this.value==''){this.value='...?';}"> ! <select class="post" name="search_engine"> ! {L_SEARCH_SITE} ! {L_SEARCH_FORUM} ! {L_SEARCH_KB} ! {L_SEARCH_PAFILEDB} ! {L_SEARCH_GOOGLE} ! </select> ! <input type="hidden" name="search_fields" value="all"> ! <input type="hidden" name="show_results" value="topics"> ! <input class="mainoption" type="submit" value="Search"> ! </form> ! </td> ! <td valign="top" align="left" width="5" height="5" > </td> ! </tr> ! </table> ! <!-- IF PHPBB_STATS --> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center"> ! <tr> ! <td align="left" valign="top" ><span class="gensmall"> ! <!-- IF USER_LOGGED_IN --> ! {LAST_VISIT_DATE}<br /> ! <!-- ENDIF --> ! {CURRENT_TIME}<br /></span> ! </td> ! <td align="right" valign="top" > ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br /> ! <!-- ENDIF --> ! <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a> ! </td> ! </tr> ! </table> ! <!-- ENDIF --> --- 75,173 ---- <a name="top"></a> ! <div style="width:960px;clear:both;margin: 0 auto;"> ! <table width="100%" align="center" cellspacing="0" cellpadding="0" border="0" class="mx_main_table"> <tr> ! <td class="leftshadow" width="9" valign="top"><img src="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/images/spacer.gif" alt="" width="9" height="1" /></td> ! <td class="np-body" width="100%" valign="top"> ! <div id="top_logo"> ! <table width="100%" cellspacing="0" cellpadding="0" border="0"> ! <tr> ! <td class="row3" width="25%" align="left" valign="top"><a href="{U_INDEX}"><img src="{LOGO}" border="0" alt="{L_INDEX}" vspace="1"/></a></td> ! <td class="row3" width="50%" align="center" valign="middle">{PAGE_ICON}<span class="pagetitle">{PAGE_TITLE}</span></td> ! <td class="row3" width="25%" align="right" valign="top"><span class="sitetitle">{SITENAME}</span><br /><span class="sitetitle_desc">{SITE_DESCRIPTION}</span></td> ! </tr> ! </table> ! </div> ! ! <table width="100%" cellspacing="0" cellpadding="1" border="0" align="center" class="mx_main_table"> ! <tr> ! <td class="bodyline"> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" class="mx_header_table"> ! <tr> ! <td class="row2" align="center" valign="middle" colspan="3"> ! {OVERALL_NAVIGATION} ! </td> ! </tr> ! <!-- BEGIN editcp --> ! <tr> ! <td class="row2" align="center" valign="middle" colspan="3"> ! <div class="editCP_switch" style="display: {editcp.EDITCP_SHOW};"> ! <form action="{editcp.EDIT_ACTION}" method="post" class="mx_editform"> ! <table width="100%" cellpadding="0" cellspacing="0" border="0"> ! <tr> ! <td align="right"> ! {editcp.EDIT_IMG} ! {editcp.S_HIDDEN_FORM_FIELDS} ! </td> ! </tr> ! </table> ! </form> ! </div> ! </td> ! </tr> ! <!-- END editcp --> ! </table> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center"> ! <tr> ! <td align="center" valign="middle" nowrap> ! <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="{NAV_IMAGES_LOGIN_LOGOUT}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a></span> ! </td> ! <td align="center" valign="middle" nowrap> ! <!-- IF USER_LOGGED_OUT --> ! <a href="{U_REGISTER}" class="mainmenu"><img src="{NAV_IMAGES_REGISTER}" class="mx_icon" border="0" alt="" hspace="1" align="middle" /></a><span class="mainmenu"><a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a></span> ! <!-- ENDIF --> ! </td> ! <td valign="top" align="right" width="100%" height="5" > ! <form name="search_block" method="post" action="{U_SEARCH}" onsubmit="return checkSearch()"> ! <a href="{U_SEARCH}" class="gen"><span class="gen">{L_SEARCH}</span></a>: ! <input class="post" type="text" name="search_keywords" size="15" value="...?" ! onfocus="if(this.value=='...?'){this.value='';}" ! onblur="if(this.value==''){this.value='...?';}"> ! <select class="post" name="search_engine"> ! {L_SEARCH_SITE} ! {L_SEARCH_FORUM} ! {L_SEARCH_KB} ! {L_SEARCH_PAFILEDB} ! {L_SEARCH_GOOGLE} ! </select> ! <input type="hidden" name="search_fields" value="all"> ! <input type="hidden" name="show_results" value="topics"> ! <input class="mainoption" type="submit" value="Search"> ! </form> ! </td> ! <td valign="top" align="left" width="5" height="5" > </td> ! </tr> ! </table> ! ! <!-- IF PHPBB_STATS --> ! <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center"> ! <tr> ! <td align="left" valign="top" ><span class="gensmall"> ! <!-- IF USER_LOGGED_IN --> ! {LAST_VISIT_DATE}<br /> ! <!-- ENDIF --> ! {CURRENT_TIME}<br /></span> ! </td> ! <td align="right" valign="top" > ! <!-- IF USER_LOGGED_IN --> ! <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br /> ! <!-- ENDIF --> ! <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a> ! </td> ! </tr> ! </table> ! <!-- ENDIF --> |
|
From: FlorinCB <ory...@us...> - 2008-08-27 21:56:25
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/subsilver2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30070/modules/mx_navmenu/templates/subsilver2 Modified Files: mx_menu_overall_navigation.tpl Log Message: subsilver2 upg Index: mx_menu_overall_navigation.tpl =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/templates/subsilver2/mx_menu_overall_navigation.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_menu_overall_navigation.tpl 8 Feb 2008 08:58:32 -0000 1.2 --- mx_menu_overall_navigation.tpl 27 Aug 2008 21:56:20 -0000 1.3 *************** *** 34,38 **** <table cellpadding="5" cellspacing="0" border="0"> <tr> ! <td align="left" width="100%" height="30" style="border:none;"> {catrow.U_MENU_ICON}{catrow.CATEGORY} </td> --- 34,38 ---- <table cellpadding="5" cellspacing="0" border="0"> <tr> ! <td class="cat nav" align="left" width="100%" height="30" style="border:none;"> {catrow.U_MENU_ICON}{catrow.CATEGORY} </td> |
|
From: FlorinCB <ory...@us...> - 2008-08-27 19:56:39
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12898 Modified Files: _core.cfg Log Message: typo Index: _core.cfg =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/_core/_core.cfg,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** _core.cfg 27 Aug 2008 12:23:42 -0000 1.6 --- _core.cfg 27 Aug 2008 19:56:32 -0000 1.7 *************** *** 35,39 **** $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"; // ------------------------------------------------------------------------- --- 35,39 ---- $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"; // ------------------------------------------------------------------------- |
|
From: FlorinCB <ory...@us...> - 2008-08-27 19:55:34
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10954 Modified Files: prosilver.cfg Log Message: typo Index: prosilver.cfg =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver/prosilver.cfg,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** prosilver.cfg 27 Aug 2008 12:23:47 -0000 1.4 --- prosilver.cfg 27 Aug 2008 19:55:29 -0000 1.5 *************** *** 45,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"; // ------------------------------------------------------------------------- --- 45,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"; // ------------------------------------------------------------------------- |
|
From: FlorinCB <ory...@us...> - 2008-08-27 13:43:17
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26377/mx_phpbb3blocks Modified Files: mx_statistics.php Log Message: some rewrites Index: mx_statistics.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/mx_statistics.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_statistics.php 27 Aug 2008 05:22:07 -0000 1.2 --- mx_statistics.php 27 Aug 2008 13:43:10 -0000 1.3 *************** *** 149,153 **** // Top posters SQL // ! $sql = "SELECT user_id, username, user_posts FROM " . USERS_TABLE . " WHERE user_id <> " . ANONYMOUS . " AND user_posts > 0 --- 149,153 ---- // Top posters SQL // ! $sql = "SELECT user_id, username, user_colour, user_posts, user_birthday FROM " . USERS_TABLE . " WHERE user_id <> " . ANONYMOUS . " AND user_posts > 0 *************** *** 162,165 **** --- 162,166 ---- $user_count = $db->sql_numrows($result); $user_data = $db->sql_fetchrowset($result); + $db->sql_freeresult($result); $percentage = 0; $bar_percent = 0; *************** *** 171,174 **** --- 172,177 ---- { do_math($firstcount, $user_data[$i]['user_posts'], $get_db_stats, $percentage, $bar_percent); + + $top_poster_profile = mx_get_username_string('full', $user_data[$i]['user_id'], $user_data[$i]['username'], $user_data[$i]['user_colour']); $template->assign_block_vars('users', array( *************** *** 176,182 **** "CLASS" => ( !( $i + 1 % 2 ) ) ? $theme['td_class2'] : $theme['td_class1'], "USERNAME" => $user_data[$i]['username'], "PERCENTAGE" => $percentage, "BAR" => $bar_percent, ! "URL" => mx_append_sid(PHPBB_URL . "profile.php?mode=viewprofile&u=" . $user_data[$i]['user_id']), "POSTS" => $user_data[$i]['user_posts']) ); --- 179,187 ---- "CLASS" => ( !( $i + 1 % 2 ) ) ? $theme['td_class2'] : $theme['td_class1'], "USERNAME" => $user_data[$i]['username'], + "USERCOLOR" => $user_data[$i]['user_colour'], "PERCENTAGE" => $percentage, "BAR" => $bar_percent, ! "POSTER_URL" => $top_poster_profile, ! "URL" => mx_append_sid(PHPBB_URL . "memberlist.php?mode=viewprofile&u=" . $user_data[$i]['user_id']), "POSTS" => $user_data[$i]['user_posts']) ); *************** *** 326,329 **** --- 331,335 ---- { $row = $db->sql_fetchrow($result); + $db->sql_freeresult($result); $version = $row['mysql_version']; *************** *** 411,416 **** $newest_user = $newest_userdata['username']; $newest_uid = $newest_userdata['user_id']; ! $sql = "SELECT user_regdate ! FROM " . USERS_TABLE . " WHERE user_id = " . $newest_userdata['user_id'] . " LIMIT 1"; --- 417,422 ---- $newest_user = $newest_userdata['username']; $newest_uid = $newest_userdata['user_id']; ! $sql = 'SELECT user_id, username, user_regdate, user_colour, user_birthday ! FROM ' . USERS_TABLE . " WHERE user_id = " . $newest_userdata['user_id'] . " LIMIT 1"; *************** *** 420,425 **** --- 426,434 ---- } $row = $db->sql_fetchrow($result); + $db->sql_freeresult($result); $newest_user_date = $row['user_regdate']; + $newest_user_profile = mx_get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']); //'<a href="' . mx_append_sid(PHPBB_URL . "usercp.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">' . $newest_user . '</a>'; + // // Most Online data *************** *** 434,443 **** } $row = $db->sql_fetchrow($result); $most_users_date = ( $row['config_value'] > 0 ) ? phpBB2::create_date($board_config['default_dateformat'], $row['config_value'], $board_config['board_timezone']) : $lang['Not_available']; ! $row = $db->sql_fetchrow($result); $most_users = ( $row['config_value'] > 0 ) ? $row['config_value'] : $lang['Not_available']; $statistic_array = array($lang['Number_posts'], $lang['Posts_per_day'], $lang['Number_topics'], $lang['Topics_per_day'], $lang['Number_users'], $lang['Users_per_day'], $lang['Board_started'], $lang['Board_Up_Days'], $lang['Database_size'], $lang['Avatar_dir_size'], $lang['Latest_Reg_User_Date'], $lang['Latest_Reg_User'], $lang['Most_Ever_Online_Date'], $lang['Most_Ever_Online'], $lang['Gzip_compression']); ! $value_array = array($total_posts, $posts_per_day, $total_topics, $topics_per_day, $total_users, $users_per_day, $start_date, sprintf('%.2f', $boarddays), $dbsize, $avatar_dir_size, phpBB2::create_date($board_config['default_dateformat'], $newest_user_date, $board_config['board_timezone']), sprintf('<a href="' . mx_append_sid(PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">' . $newest_user . '</a>'), $most_users_date, $most_users, ( $board_config['gzip_compress'] ) ? $lang['Enabled'] : $lang['Disabled']); // --- 443,453 ---- } $row = $db->sql_fetchrow($result); + $db->sql_freeresult($result); $most_users_date = ( $row['config_value'] > 0 ) ? phpBB2::create_date($board_config['default_dateformat'], $row['config_value'], $board_config['board_timezone']) : $lang['Not_available']; ! $most_users = ( $row['config_value'] > 0 ) ? $row['config_value'] : $lang['Not_available']; $statistic_array = array($lang['Number_posts'], $lang['Posts_per_day'], $lang['Number_topics'], $lang['Topics_per_day'], $lang['Number_users'], $lang['Users_per_day'], $lang['Board_started'], $lang['Board_Up_Days'], $lang['Database_size'], $lang['Avatar_dir_size'], $lang['Latest_Reg_User_Date'], $lang['Latest_Reg_User'], $lang['Most_Ever_Online_Date'], $lang['Most_Ever_Online'], $lang['Gzip_compression']); ! $value_array = array($total_posts, $posts_per_day, $total_topics, $topics_per_day, $total_users, $users_per_day, $start_date, sprintf('%.2f', $boarddays), $dbsize, $avatar_dir_size, phpBB2::create_date($board_config['default_dateformat'], $newest_user_date, $board_config['board_timezone']), sprintf($newest_user_profile), $most_users_date, $most_users, ( $board_config['gzip_compress'] ) ? $lang['Enabled'] : $lang['Disabled']); // |
|
From: FlorinCB <ory...@us...> - 2008-08-27 13:43:16
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26377/mx_coreblocks Modified Files: mx_online.php Log Message: some rewrites Index: mx_online.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_online.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** mx_online.php 11 Feb 2008 22:49:29 -0000 1.26 --- mx_online.php 27 Aug 2008 13:43:10 -0000 1.27 *************** *** 53,57 **** break; case 'phpbb3': ! $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_type, u.user_colour, s.session_autologin, s.session_ip FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s WHERE u.user_id = s.session_user_id --- 53,57 ---- break; case 'phpbb3': ! $sql = "SELECT u.user_id, u.username, u.user_regdate, u.user_birthday, u.user_allow_viewonline, u.user_type, u.user_colour, s.session_autologin, s.session_ip FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s WHERE u.user_id = s.session_user_id *************** *** 81,90 **** { $style_color = ''; ! if (PORTAL_BACKEND == 'phpbb3') ! { ! $style_color = ($row['user_colour']) ? ' style="color:#' . $row['user_colour'] . '" class="username-coloured"' : ''; ! } ! else { if ( $row['user_level'] == ADMIN ) { --- 81,90 ---- { $style_color = ''; ! ! switch (PORTAL_BACKEND) { + case 'internal': + case 'phpbb2': + if ( $row['user_level'] == ADMIN ) { *************** *** 96,116 **** $row['username'] = '<b>' . $row['username'] . '</b>'; $style_color = 'style="color:#' . $theme['fontcolor2'] . '"'; ! } ! } ! if ( $row['user_allow_viewonline'] || PORTAL_BACKEND == 'internal') ! { ! $user_online_link = '<a href="' . mx_append_sid(PHPBB_URL."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>'; ! $logged_visible_online++; ! } ! else if (PORTAL_BACKEND == 'phpbb2') ! { ! $user_online_link = '<a href="' . mx_append_sid(PHPBB_URL."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>'; ! $logged_hidden_online++; } ! else if (PORTAL_BACKEND == 'phpbb3') { ! $user_online_link = ($row['user_type'] != USER_IGNORE) ? mx_get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']) : '<span' . $style_color . '>' . $row['username'] . '</span>'; ! $logged_hidden_online++; } if ( $row['user_allow_viewonline'] || $mx_user->data['user_level'] == ADMIN ) { --- 96,131 ---- $row['username'] = '<b>' . $row['username'] . '</b>'; $style_color = 'style="color:#' . $theme['fontcolor2'] . '"'; ! } ! ! break; ! ! case 'phpbb3': ! $style_color = ($row['user_colour']) ? ' style="color:#' . $row['user_colour'] . '" class="username-coloured"' : ''; ! ! break; } ! ! switch (PORTAL_BACKEND) { ! case 'internal': ! case 'phpbb2': ! $user_online_link = '<a href="' . mx_append_sid(PHPBB_URL."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>'; ! $logged_hidden_online++; ! break; ! ! case 'phpbb3': ! if ($row['user_allow_viewonline']) ! { ! $user_online_link = mx_get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']); ! $logged_visible_online++; ! } ! else ! { ! $user_online_link = ($row['user_type'] != USER_IGNORE) ? mx_get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']) : '<span' . $style_color . '>' . $row['username'] . '</span>'; ! $logged_hidden_online++; ! } ! break; } + if ( $row['user_allow_viewonline'] || $mx_user->data['user_level'] == ADMIN ) { *************** *** 118,122 **** } } - $prev_user_id = $row['user_id']; } --- 133,136 ---- *************** *** 261,284 **** $newest_uid = (PORTAL_BACKEND == 'phpbb3') ? $board_config['newest_user_id'] : $newest_userdata['user_id']; ! if (PORTAL_BACKEND == 'phpbb3') ! { ! $newest_color = $board_config['newest_user_colour']; ! $newest_style_color = ($newest_color) ? ' style="color:#' . $newest_color . '" class="username-coloured"' : ''; ! $newest_user = sprintf($mx_user->lang['NEWEST_USER'], mx_get_username_string('full', $newest_uid, $newest_username, $newest_color)); ! } ! else { ! if ( $newest_userdata['user_level'] == ADMIN ) ! { ! $newest_color = $theme['fontcolor3']; ! $newest_username = '<b>' . $newest_username . '</b>'; ! } ! else if ( $newest_userdata['user_level'] == MOD ) ! { ! $newest_color = $theme['fontcolor2']; ! $newest_username = '<b>' . $newest_username . '</b>'; ! } ! $newest_style_color = 'style="color:#' . $newest_color . '"'; ! $newest_user = sprintf($lang['Newest_user'], '<a href="' . mx_append_sid(PHPBB_URL."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '"' . $style_color .'>', $newest_username, '</a>'); } --- 275,302 ---- $newest_uid = (PORTAL_BACKEND == 'phpbb3') ? $board_config['newest_user_id'] : $newest_userdata['user_id']; ! ! switch (PORTAL_BACKEND) { ! case 'internal': ! case 'phpbb2': ! if ( $newest_userdata['user_level'] == ADMIN ) ! { ! $newest_color = $theme['fontcolor3']; ! $newest_username = '<b>' . $newest_username . '</b>'; ! } ! else if ( $newest_userdata['user_level'] == MOD ) ! { ! $newest_color = $theme['fontcolor2']; ! $newest_username = '<b>' . $newest_username . '</b>'; ! } ! $newest_style_color = 'style="color:#' . $newest_color . '"'; ! $newest_user = sprintf($lang['Newest_user'], '<a href="' . mx_append_sid(PHPBB_URL."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '"' . $style_color .'>', $newest_username, '</a>'); ! break; ! ! case 'phpbb3': ! $newest_color = $board_config['newest_user_colour']; ! $newest_style_color = ($newest_color) ? ' style="color:#' . $newest_color . '" class="username-coloured"' : ''; ! $newest_user = sprintf($mx_user->lang['NEWEST_USER'], mx_get_username_string('full', $newest_uid, $newest_username, $newest_color)); ! break; } *************** *** 309,387 **** } ! if (PORTAL_BACKEND == 'phpbb3') { ! // Grab group details for legend display ! if ($phpbb_auth->acl_gets('a_group', 'a_groupadd', 'a_groupdel')) ! { ! $sql = 'SELECT group_id, group_name, group_colour, group_type ! FROM ' . GROUPS_TABLE . ' ! WHERE group_legend = 1 ! ORDER BY group_name ASC'; ! } ! else ! { ! $sql = 'SELECT g.group_id, g.group_name, g.group_colour, g.group_type ! FROM ' . GROUPS_TABLE . ' g ! LEFT JOIN ' . USER_GROUP_TABLE . ' ug ! ON ( ! g.group_id = ug.group_id ! AND ug.user_id = ' . $mx_user->data['user_id'] . ' ! AND ug.user_pending = 0 ! ) ! WHERE g.group_legend = 1 ! AND (g.group_type <> ' . GROUP_HIDDEN . ' OR ug.user_id = ' . $mx_user->data['user_id'] . ') ! ORDER BY g.group_name ASC'; ! } ! $result = $db->sql_query($sql); ! } ! ! $legend = ''; ! if (PORTAL_BACKEND == 'phpbb3') ! { ! while ($row = $db->sql_fetchrow($result)) ! { ! $colour_text = ($row['group_colour']) ? ' style="color:#' . $row['group_colour'] . '"' : ''; ! if ($row['group_name'] == 'BOTS') { ! $legend .= (($legend != '') ? ', ' : '') . '<span' . $colour_text . '>' . $mx_user->lang['G_BOTS'] . '</span>'; } else { ! $legend .= (($legend != '') ? ', ' : '') . '<a' . $colour_text . ' href="' . mx3_append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $mx_user->lang['G_' . $row['group_name']] : $row['group_name']) . '</a>'; } ! } ! $db->sql_freeresult($result); } ! else { ! $legend .= (($legend != '') ? ', ' : '') . '[' . sprintf($lang['Admin_online_color'], '<span style="color:#' . $theme['fontcolor3'] . '">', '</span>') . '] [' . sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>') . ']'; } // Generate birthday list if required ... $birthday_list = ''; ! if (PORTAL_BACKEND == 'phpbb3') { ! if ($board_config['load_birthdays'] && $board_config['allow_birthdays']) ! { ! $now = getdate(time() + $mx_user->timezone + $mx_user->dst - date('Z')); ! $sql = 'SELECT user_id, username, user_colour, user_birthday ! FROM ' . USERS_TABLE . " ! WHERE user_birthday LIKE '" . $db->sql_escape(sprintf('%2d-%2d-', $now['mday'], $now['mon'])) . "%' ! AND user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ')'; ! $result = $db->sql_query($sql); ! while ($row = $db->sql_fetchrow($result)) { ! $birthday_list .= (($birthday_list != '') ? ', ' : '') . mx_get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']); ! if ($age = (int) substr($row['user_birthday'], -4)) { ! $birthday_list .= ' (' . ($now['year'] - $age) . ')'; } } ! $db->sql_freeresult($result); ! } } --- 327,422 ---- } ! switch (PORTAL_BACKEND) { ! case 'internal': ! case 'phpbb2': ! break; ! case 'phpbb3': ! // Grab group details for legend display ! if ($phpbb_auth->acl_gets('a_group', 'a_groupadd', 'a_groupdel')) { ! $sql = 'SELECT group_id, group_name, group_colour, group_type ! FROM ' . GROUPS_TABLE . ' ! WHERE group_legend = 1 ! ORDER BY group_name ASC'; } else { ! $sql = 'SELECT g.group_id, g.group_name, g.group_colour, g.group_type ! FROM ' . GROUPS_TABLE . ' g ! LEFT JOIN ' . USER_GROUP_TABLE . ' ug ! ON ( ! g.group_id = ug.group_id ! AND ug.user_id = ' . $mx_user->data['user_id'] . ' ! AND ug.user_pending = 0 ! ) ! WHERE g.group_legend = 1 ! AND (g.group_type <> ' . GROUP_HIDDEN . ' OR ug.user_id = ' . $mx_user->data['user_id'] . ') ! ORDER BY g.group_name ASC'; } ! $result = $db->sql_query($sql); ! break; } ! ! $legend = ''; ! ! switch (PORTAL_BACKEND) { ! case 'internal': ! case 'phpbb2': ! $legend .= (($legend != '') ? ', ' : '') . '[' . sprintf($lang['Admin_online_color'], '<span style="color:#' . $theme['fontcolor3'] . '">', '</span>') . '] [' . sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>') . ']'; ! break; ! ! case 'phpbb3': ! while ($row = $db->sql_fetchrow($result)) ! { ! $colour_text = ($row['group_colour']) ? ' style="color:#' . $row['group_colour'] . '"' : ''; ! ! if ($row['group_name'] == 'BOTS') ! { ! $legend .= (($legend != '') ? ', ' : '') . '<span' . $colour_text . '>' . $mx_user->lang['G_BOTS'] . '</span>'; ! } ! else ! { ! $legend .= (($legend != '') ? ', ' : '') . '<a' . $colour_text . ' href="' . mx3_append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . (($row['group_type'] == GROUP_SPECIAL) ? $mx_user->lang['G_' . $row['group_name']] : $row['group_name']) . '</a>'; ! } ! } ! $db->sql_freeresult($result); ! break; } // Generate birthday list if required ... $birthday_list = ''; ! ! switch (PORTAL_BACKEND) { ! case 'internal': ! case 'phpbb2': ! break; ! case 'phpbb3': ! if ($board_config['load_birthdays'] && $board_config['allow_birthdays']) { ! $now = getdate(time() + $mx_user->timezone + $mx_user->dst - date('Z')); ! $sql = 'SELECT user_id, username, user_colour, user_birthday ! FROM ' . USERS_TABLE . " ! WHERE user_birthday LIKE '" . $db->sql_escape(sprintf('%2d-%2d-', $now['mday'], $now['mon'])) . "%' ! AND user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ')'; ! $result = $db->sql_query($sql); ! while ($row = $db->sql_fetchrow($result)) { ! $birthday_list .= (($birthday_list != '') ? ', ' : '') . mx_get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']); ! ! if ($age = (int) substr($row['user_birthday'], -4)) ! { ! $birthday_list .= ' (' . ($now['year'] - $age) . ')'; ! } } + $db->sql_freeresult($result); } ! break; } |
|
From: FlorinCB <ory...@us...> - 2008-08-27 12:24:59
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14472/prosilver Modified Files: prosilver.cfg Log Message: voting images Index: prosilver.cfg =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver/prosilver.cfg,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** prosilver.cfg 27 Aug 2008 05:17:39 -0000 1.3 --- prosilver.cfg 27 Aug 2008 12:23:47 -0000 1.4 *************** *** 37,48 **** // Do some checks // ------------------------------------------------------------------------- ! $current_template_path = file_exists( $mx_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path . "/images" : $default_template_path . "/images" ); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- ! $current_template_root_path = str_replace($module_root_path, "", $current_template_path); ! $current_template_images = PORTAL_URL . $current_template_root_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"); // ------------------------------------------------------------------------- --- 37,49 ---- // 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); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- ! $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"; // ------------------------------------------------------------------------- *************** *** 99,104 **** $mx_images['mx_voting_graphic'] = $mx_images['voting_graphic']; // Array() ! $mx_images['mx_vote_bar'] = "$current_template_theme_images/phpbb2/voting_bar.gif"; ! $mx_images['mx_vote_lcap'] = "$current_template_theme_images/phpbb2/vote_lcap.gif"; ! $mx_images['mx_vote_rcap'] = "$current_template_theme_images/phpbb2/vote_rcap.gif"; ?> \ No newline at end of file --- 100,105 ---- $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"; ?> \ No newline at end of file |
|
From: FlorinCB <ory...@us...> - 2008-08-27 12:24:59
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14472/_core Modified Files: _core.cfg Log Message: voting images Index: _core.cfg =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/_core/_core.cfg,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** _core.cfg 27 Aug 2008 05:17:38 -0000 1.5 --- _core.cfg 27 Aug 2008 12:23:42 -0000 1.6 *************** *** 27,38 **** // Do some checks // ------------------------------------------------------------------------- ! $current_template_path = file_exists( $mx_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path . "/images" : $default_template_path . "/images" ); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- ! $current_template_root_path = str_replace($module_root_path, "", $current_template_path); ! $current_template_images = PORTAL_URL . $current_template_root_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"); // ------------------------------------------------------------------------- --- 27,39 ---- // 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); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- ! $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"; // ------------------------------------------------------------------------- *************** *** 89,94 **** $mx_images['mx_voting_graphic'] = $mx_images['voting_graphic']; // Array() ! $mx_images['mx_vote_bar'] = "$current_template_theme_images/phpbb2/voting_bar.gif"; ! $mx_images['mx_vote_lcap'] = "$current_template_theme_images/phpbb2/vote_lcap.gif"; ! $mx_images['mx_vote_rcap'] = "$current_template_theme_images/phpbb2/vote_rcap.gif"; ?> \ No newline at end of file --- 90,95 ---- $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"; ?> \ No newline at end of file |
|
From: FlorinCB <ory...@us...> - 2008-08-27 12:24:24
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14472/prosilver/images Added Files: spacer.gif vote_lcap.gif vote_rcap.gif voting_bar.gif Log Message: voting images --- NEW FILE: voting_bar.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: vote_lcap.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: vote_rcap.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) |
|
From: FlorinCB <ory...@us...> - 2008-08-27 12:24:12
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/_core/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14472/_core/images Added Files: spacer.gif vote_lcap.gif vote_rcap.gif voting_bar.gif Log Message: voting images --- NEW FILE: voting_bar.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: vote_lcap.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: vote_rcap.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) |
|
From: FlorinCB <ory...@us...> - 2008-08-27 09:53:21
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8314 Modified Files: mx_functions_style.php Log Message: grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.86 retrieving revision 1.87 diff -C2 -d -r1.86 -r1.87 *** mx_functions_style.php 27 Aug 2008 09:48:07 -0000 1.86 --- mx_functions_style.php 27 Aug 2008 09:53:16 -0000 1.87 *************** *** 832,836 **** case 'phpbb3': $row['style_copy'] = $template_config_row['template_copy']; ! $row['head_stylesheet'] = $row['style_name'] . '.css'; break; } --- 832,836 ---- case 'phpbb3': $row['style_copy'] = $template_config_row['template_copy']; ! $row['head_stylesheet'] = $row['template_path'] . '.css'; break; } |
|
From: FlorinCB <ory...@us...> - 2008-08-27 09:48:14
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2734 Modified Files: mx_functions_style.php Log Message: well, well Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.85 retrieving revision 1.86 diff -C2 -d -r1.85 -r1.86 *** mx_functions_style.php 27 Aug 2008 08:00:08 -0000 1.85 --- mx_functions_style.php 27 Aug 2008 09:48:07 -0000 1.86 *************** *** 663,681 **** WHERE portal_backend = '" . PORTAL_BACKEND . "' AND themes_id = " . (int) $style; ! break; case 'phpbb2': $sql = "SELECT bbt.* FROM " . MX_THEMES_TABLE . " mxt, " . THEMES_TABLE . " bbt ! WHERE mxt.style_name = bbt.style_name AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND bbt.themes_id = " . (int) $style; ! break; case 'phpbb3': ! $sql = "SELECT bbt.* ! FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt ! WHERE mxt.style_name = bbt.style_name ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND bbt.style_id = " . (int) $style; ! break; } --- 663,682 ---- WHERE portal_backend = '" . PORTAL_BACKEND . "' AND themes_id = " . (int) $style; ! break; case 'phpbb2': $sql = "SELECT bbt.* FROM " . MX_THEMES_TABLE . " mxt, " . THEMES_TABLE . " bbt ! WHERE mxt.template_name = bbt.template_name AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; ! 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 ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; ! break; } *************** *** 690,697 **** if ( !($row = $db->sql_fetchrow($result)) ) { - //mx_message_die(CRITICAL_ERROR, "Could not query database for theme info", '', __LINE__, __FILE__, $sql); - - $style = $portal_config['default_style']; - switch (PORTAL_BACKEND) { --- 691,694 ---- *************** *** 701,747 **** WHERE portal_backend = '" . PORTAL_BACKEND . "' AND themes_id = " . (int) $style; ! break; case 'phpbb2': $sql = "SELECT bbt.* FROM " . MX_THEMES_TABLE . " mxt, " . THEMES_TABLE . " bbt ! WHERE mxt.style_name = bbt.style_name AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; ! break; case 'phpbb3': ! $sql = "SELECT bbt.* ! FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt ! WHERE mxt.style_name = bbt.style_name ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; ! break; } if ( !($result = $db->sql_query($sql, 120)) ) { ! mx_message_die(CRITICAL_ERROR, 'Could not query database for theme info'); } - // - // Last desperate try... - // if ( !($row = $db->sql_fetchrow($result)) ) ! { switch (PORTAL_BACKEND) { case 'internal': ! $sql = 'SELECT * ! FROM ' . MX_THEMES_TABLE . ' ! LIMIT 1'; break; case 'phpbb2': ! $sql = 'SELECT * ! FROM ' . THEMES_TABLE . ' ! LIMIT 1'; break; case 'phpbb3': ! $sql = 'SELECT * ! FROM ' . STYLES_TABLE . ' ! LIMIT 1'; break; } --- 698,750 ---- WHERE portal_backend = '" . PORTAL_BACKEND . "' AND themes_id = " . (int) $style; ! break; case 'phpbb2': $sql = "SELECT bbt.* FROM " . MX_THEMES_TABLE . " mxt, " . THEMES_TABLE . " bbt ! WHERE mxt.style_name = bbt.template_name AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND bbt.themes_id = " . (int) $style; ! 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 ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND stt.template_path = " . (int) $style; ! break; } if ( !($result = $db->sql_query($sql, 120)) ) { ! mx_message_die(CRITICAL_ERROR, "Could not query database for theme info", '', __LINE__, __FILE__, $sql); } if ( !($row = $db->sql_fetchrow($result)) ) ! { ! $style = $portal_config['default_style']; ! switch (PORTAL_BACKEND) { case 'internal': ! $sql = "SELECT * ! FROM " . MX_THEMES_TABLE . " ! WHERE portal_backend = '" . PORTAL_BACKEND . "' ! AND themes_id = " . (int) $style; break; case 'phpbb2': ! $sql = "SELECT bbt.* ! FROM " . MX_THEMES_TABLE . " mxt, " . THEMES_TABLE . " bbt ! WHERE mxt.style_name = bbt.style_name ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; 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 ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; break; } *************** *** 752,760 **** } if ( !($row = $db->sql_fetchrow($result)) ) { ! mx_message_die(CRITICAL_ERROR, "Could not get MX-Publisher style data for themes_id [$style]"); } ! } } --- 755,791 ---- } + // + // Last desperate try... + // if ( !($row = $db->sql_fetchrow($result)) ) { ! switch (PORTAL_BACKEND) ! { ! case 'internal': ! $sql = 'SELECT * ! FROM ' . MX_THEMES_TABLE; ! break; ! case 'phpbb2': ! $sql = 'SELECT * ! FROM ' . THEMES_TABLE; ! break; ! case 'phpbb3': ! $sql = 'SELECT bbt.*, stt.* ! FROM ' . STYLES_TABLE . ' bbt, ' . STYLES_TEMPLATE_TABLE . ' stt ! WERE bbt.style_id = stt.template_id'; ! break; ! } ! ! if ( !($result = $db->sql_query_limit($sql, 1)) ) ! { ! mx_message_die(CRITICAL_ERROR, 'Could not query database for theme info'); ! } ! ! if ( !($row = $db->sql_fetchrow($result)) ) ! { ! mx_message_die(CRITICAL_ERROR, "Could not get MX-Publisher style data for themes_id [$style]"); ! } } ! } } *************** *** 772,776 **** break; case 'phpbb3': ! $this->template_name = $row['style_name']; $style = $row['style_id']; break; --- 803,807 ---- break; case 'phpbb3': ! $this->template_name = $row['template_path']; $style = $row['style_id']; break; *************** *** 855,860 **** // Load MX-Publisher Template configuration data // ! @include($mx_root_path . $this->current_template_path . '/' . $this->template_name . '.cfg'); /* Removed since in 3.0.x+ our default template is no style if ( !$mx_template_config ) --- 886,892 ---- // Load MX-Publisher Template configuration data // ! @include($mx_root_path . $this->current_template_path . '/' . $this->template_name . '.cfg'); + /* Removed since in 3.0.x+ our default template is no style if ( !$mx_template_config ) |
|
From: FlorinCB <ory...@us...> - 2008-08-27 08:00:41
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10961 Modified Files: mx_functions_style.php Log Message: $this->data['user_style'] is the phpBB style id !!!!!!!!!!!!!!!!!!!!!!!! Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.84 retrieving revision 1.85 diff -C2 -d -r1.84 -r1.85 *** mx_functions_style.php 30 Jul 2008 11:59:03 -0000 1.84 --- mx_functions_style.php 27 Aug 2008 08:00:08 -0000 1.85 *************** *** 669,673 **** WHERE mxt.style_name = bbt.style_name AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; break; case 'phpbb3': --- 669,673 ---- WHERE mxt.style_name = bbt.style_name AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND bbt.themes_id = " . (int) $style; break; case 'phpbb3': *************** *** 675,680 **** FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt WHERE mxt.style_name = bbt.style_name ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; break; } --- 675,680 ---- FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt WHERE mxt.style_name = bbt.style_name ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND bbt.style_id = " . (int) $style; break; } *************** *** 690,693 **** --- 690,695 ---- if ( !($row = $db->sql_fetchrow($result)) ) { + //mx_message_die(CRITICAL_ERROR, "Could not query database for theme info", '', __LINE__, __FILE__, $sql); + $style = $portal_config['default_style']; |
|
From: FlorinCB <ory...@us...> - 2008-08-27 07:33:05
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9635 Modified Files: core.php Log Message: fix Index: core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/core.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** core.php 19 Jul 2008 22:49:45 -0000 1.11 --- core.php 27 Aug 2008 07:32:56 -0000 1.12 *************** *** 231,235 **** $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 --- 231,235 ---- $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-27 06:32:54
|
Update of /cvsroot/mxbb/core/templates/subsilver2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17729 Modified Files: overall_header.html overall_header_navigation.html overall_header_navigation_phpbb.html Log Message: some comments added Index: overall_header_navigation.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/overall_header_navigation.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** overall_header_navigation.html 16 Jun 2008 20:26:41 -0000 1.5 --- overall_header_navigation.html 27 Aug 2008 06:32:40 -0000 1.6 *************** *** 7,17 **** --- 7,26 ---- {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" > + <!-- 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} Index: overall_header_navigation_phpbb.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/overall_header_navigation_phpbb.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** overall_header_navigation_phpbb.html 21 Feb 2008 20:04:45 -0000 1.3 --- overall_header_navigation_phpbb.html 27 Aug 2008 06:32:47 -0000 1.4 *************** *** 7,16 **** --- 7,26 ---- {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" > + <!-- 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} Index: overall_header.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/overall_header.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** overall_header.html 16 Jun 2008 20:26:41 -0000 1.5 --- overall_header.html 27 Aug 2008 06:32:39 -0000 1.6 *************** *** 5,17 **** --- 5,27 ---- <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" > + <!-- 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} |
|
From: FlorinCB <ory...@us...> - 2008-08-27 06:28:39
|
Update of /cvsroot/mxbb/core/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10088 Modified Files: overall_header.html overall_header_navigation.html overall_header_navigation_nopageicon.html overall_header_navigation_phpbb.html overall_noheader.html Removed Files: overall_header.tpl Log Message: some comments added Index: overall_header_navigation.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/overall_header_navigation.html,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** overall_header_navigation.html 28 Feb 2008 14:02:43 -0000 1.14 --- overall_header_navigation.html 27 Aug 2008 06:28:16 -0000 1.15 *************** *** 10,14 **** <title>{SITENAME} :: {PAGE_TITLE}</title> ! <!-- BEGIN switch_phpbb_stylesheet--><link rel="stylesheet" href="{U_PHPBB_ROOT_PATH}styles/prosilver/theme/stylesheet.css" type="text/css" ><!-- END switch_phpbb_stylesheet--> <!-- IF ENABLE_PM_POPUP --> --- 10,18 ---- <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/prosilver/theme/stylesheet.css" type="text/css" > ! <!-- END switch_phpbb_stylesheet--> ! <!-- IF ENABLE_PM_POPUP --> Index: overall_noheader.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/overall_noheader.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** overall_noheader.html 16 Jun 2008 18:29:58 -0000 1.5 --- overall_noheader.html 27 Aug 2008 06:28:17 -0000 1.6 *************** *** 1,21 **** ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ! <html dir="{S_CONTENT_DIRECTION}"> <head> ! <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}"> ! <meta http-equiv="Content-Style-Type" content="text/css"> {META} {NAV_LINKS} <title>{SITENAME} :: {PAGE_TITLE}</title> ! <!-- IF PHPBB --> ! <!-- First load standard template *.css definition, located in the the phpbb template folder --> ! <link rel="stylesheet" href="{U_PHPBB_ROOT_PATH}{TEMPLATE_ROOT_PATH}{T_PHPBB_STYLESHEET}" type="text/css" > ! <!-- ENDIF --> ! <!-- Then load mxp 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" > ! <!-- 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 --> <!-- IF ENABLE_PM_POPUP --> --- 1,16 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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/prosilver/theme/stylesheet.css" type="text/css" > ! <!-- END switch_phpbb_stylesheet--> <!-- IF ENABLE_PM_POPUP --> *************** *** 28,35 **** <!-- ENDIF --> <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> --- 23,86 ---- <!-- ENDIF --> + <script language="javascript" type="text/javascript"><!-- + + function checkSearch() + { + if (document.search_block.search_engine.value == 'google') + { + window.open('http://www.google.com/search?q=' + document.search_block.search_keywords.value, '_google', ''); + return false; + } + else if (document.search_block.search_engine.value == 'site') + { + window.open('{U_SEARCH_SITE}&search_keywords=' + document.search_block.search_keywords.value, '_self', ''); + return false; + } + else if (document.search_block.search_engine.value == 'kb') + { + window.open('{U_SEARCH_KB}&search_keywords=' + document.search_block.search_keywords.value, '_self', ''); + return false; + } + else if (document.search_block.search_engine.value == 'pafiledb') + { + window.open('{U_SEARCH_PAFILEDB}&search_keywords=' + document.search_block.search_keywords.value, '_self', ''); + return false; + } + else + { + return true; + } + } + + // --></script> + <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> + + <!-- This force template reloading in ie7 like CTRL+F5 does and is not very nice + <script type="text/javascript" src="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}styleswitcher.js"></script> + --> + <script type="text/javascript" src="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}forum_fn.js"></script> + + <link href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" /> + <link href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}{T_MXBB_STYLESHEET}" rel="stylesheet" type="text/css" media="screen, projection" /> + + <link href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/normal.css" rel="stylesheet" type="text/css" title="A" /> + <link href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/medium.css" rel="alternate stylesheet" type="text/css" title="A+" /> + <link href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/large.css" rel="alternate stylesheet" type="text/css" title="A++" /> + + <!-- IF S_CONTENT_DIRECTION eq 'rtl' --> + <link href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" /> + <!-- ENDIF --> + + <!-- 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} + </head> ! <body id="mxbb" class="section-index {S_CONTENT_DIRECTION}"> <a name="top"></a> --- overall_header.tpl DELETED --- Index: overall_header_navigation_nopageicon.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/overall_header_navigation_nopageicon.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** overall_header_navigation_nopageicon.html 21 Feb 2008 20:04:45 -0000 1.2 --- overall_header_navigation_nopageicon.html 27 Aug 2008 06:28:16 -0000 1.3 *************** *** 10,14 **** <title>{SITENAME} :: {PAGE_TITLE}</title> ! <!-- BEGIN switch_phpbb_stylesheet--><link rel="stylesheet" href="{U_PHPBB_ROOT_PATH}styles/prosilver/theme/stylesheet.css" type="text/css" ><!-- END switch_phpbb_stylesheet--> <!-- IF ENABLE_PM_POPUP --> --- 10,17 ---- <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/prosilver/theme/stylesheet.css" type="text/css" > ! <!-- END switch_phpbb_stylesheet--> <!-- IF ENABLE_PM_POPUP --> Index: overall_header_navigation_phpbb.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/overall_header_navigation_phpbb.html,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** overall_header_navigation_phpbb.html 30 Jul 2008 08:39:06 -0000 1.12 --- overall_header_navigation_phpbb.html 27 Aug 2008 06:28:17 -0000 1.13 *************** *** 10,14 **** <title>{SITENAME} :: {PAGE_TITLE}</title> ! <!-- BEGIN switch_phpbb_stylesheet--><link rel="stylesheet" href="{U_PHPBB_ROOT_PATH}styles/prosilver/theme/stylesheet.css" type="text/css" ><!-- END switch_phpbb_stylesheet--> <!-- IF ENABLE_PM_POPUP --> --- 10,17 ---- <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/prosilver/theme/stylesheet.css" type="text/css" > ! <!-- END switch_phpbb_stylesheet--> <!-- IF ENABLE_PM_POPUP --> Index: overall_header.html =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/overall_header.html,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** overall_header.html 21 Feb 2008 20:04:45 -0000 1.10 --- overall_header.html 27 Aug 2008 06:28:16 -0000 1.11 *************** *** 9,13 **** <title>{SITENAME} :: {PAGE_TITLE}</title> ! <!-- BEGIN switch_phpbb_stylesheet --><link rel="stylesheet" href="{U_PHPBB_ROOT_PATH}styles/prosilver/theme/stylesheet.css" type="text/css" ><!-- END switch_phpbb_stylesheet --> <!-- IF ENABLE_PM_POPUP --> --- 9,16 ---- <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/prosilver/theme/stylesheet.css" type="text/css" > ! <!-- END switch_phpbb_stylesheet--> <!-- IF ENABLE_PM_POPUP --> |
|
From: FlorinCB <ory...@us...> - 2008-08-27 06:00:05
|
Update of /cvsroot/mxbb/core/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1933 Modified Files: prosilver.css Log Message: fix Index: prosilver.css =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/prosilver.css,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** prosilver.css 27 Aug 2008 05:17:40 -0000 1.15 --- prosilver.css 27 Aug 2008 06:00:00 -0000 1.16 *************** *** 10,21 **** */ ! @import url("theme/common.css"); ! @import url("theme/links.css"); ! @import url("theme/content.css"); ! @import url("theme/buttons.css"); ! @import url("theme/cp.css"); ! @import url("theme/forms.css"); ! @import url("theme/tweaks.css"); ! @import url("theme/colours.css"); .block { --- 10,21 ---- */ ! @import url("./theme/common.css"); ! @import url("./theme/links.css"); ! @import url("./theme/content.css"); ! @import url("./theme/buttons.css"); ! @import url("./theme/cp.css"); ! @import url("./theme/forms.css"); ! @import url("./theme/tweaks.css"); ! @import url("./theme/colours.css"); .block { *************** *** 74,78 **** padding: 3px 4px; color: #FFFFFF; ! background: #70AED3 url("images/gradient2b.gif") bottom left repeat-x; border-top: 1px solid #6DACD2; border-bottom: 1px solid #327AA5; --- 74,78 ---- padding: 3px 4px; color: #FFFFFF; ! background: #70AED3 url("./theme/images/gradient2b.gif") bottom left repeat-x; border-top: 1px solid #6DACD2; border-bottom: 1px solid #327AA5; *************** *** 211,215 **** clear: both; margin-top: 2px; ! background: #12A3EB url("theme/images/sitebar_bg.gif") repeat-x; } .sitebar .corners-bottom { --- 211,215 ---- clear: both; margin-top: 2px; ! background: #12A3EB url("./theme/images/sitebar_bg.gif") repeat-x; } .sitebar .corners-bottom { *************** *** 232,236 **** .sitebar .button A.nav, .sitebar .button-current A.nav { text-decoration:none; ! background: #cadceb url("theme/images/sitebar_bg.gif") repeat-x; } --- 232,236 ---- .sitebar .button A.nav, .sitebar .button-current A.nav { text-decoration:none; ! background: #cadceb url("./theme/images/sitebar_bg.gif") repeat-x; } *************** *** 249,253 **** .sitebar UL LI.button A.nav:active, .sitebar UL LI.button-current A.nav:active { background-color: #CCCCCC; ! background-image: url("theme/images/bg_active.gif"); background-position: -1px 0px; color: Red; --- 249,253 ---- .sitebar UL LI.button A.nav:active, .sitebar UL LI.button-current A.nav:active { background-color: #CCCCCC; ! background-image: url("./theme/images/bg_active.gif"); background-position: -1px 0px; color: Red; *************** *** 325,329 **** float: left; display: block; ! background: url("theme/images/bg_tabs2.gif") no-repeat 100% -35px; padding: 7px 10px 4px 4px; color: #767676; --- 325,329 ---- float: left; display: block; ! background: url("./theme/images/bg_tabs2.gif") no-repeat 100% -35px; padding: 7px 10px 4px 4px; color: #767676; |
|
From: FlorinCB <ory...@us...> - 2008-08-27 05:22:12
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10287 Modified Files: mx_statistics.php Log Message: fix Index: mx_statistics.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/mx_statistics.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_statistics.php 27 Aug 2008 05:17:37 -0000 1.1 --- mx_statistics.php 27 Aug 2008 05:22:07 -0000 1.2 *************** *** 2,6 **** /** * ! * @package MX-Publisher Module - mx_phpbb2blocks * @version $Id$ * @copyright (c) 2002-2008 MX-Publisher Project Team --- 2,6 ---- /** * ! * @package MX-Publisher Module - mx_phpbb3blocks * @version $Id$ * @copyright (c) 2002-2008 MX-Publisher Project Team |
|
From: FlorinCB <ory...@us...> - 2008-08-27 05:18:18
|
Update of /cvsroot/mxbb/core/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3560/templates/prosilver Modified Files: prosilver.cfg prosilver.css Log Message: some missing stuff from phpBB3 backend Index: prosilver.cfg =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/prosilver.cfg,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** prosilver.cfg 27 Apr 2008 18:40:25 -0000 1.7 --- prosilver.cfg 27 Aug 2008 05:17:40 -0000 1.8 *************** *** 66,74 **** $mx_images['mx_graphics']['admin_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/admin_icons" ) ? $current_template_path . "/images/admin_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/admin_icons" ) ? $cloned_template_path . "/images/admin_icons" : $default_template_path . "/images/admin_icons" ); $mx_images['mx_graphics']['phpbb_icons'] = !empty($current_template_path) && file_exists( $phpbb_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( !empty($cloned_template_path) && file_exists( $phpbb_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path . "/images" : $default_template_path . "/images"); // // Prefix all paths to get full img URLs // ! $current_template_images = PORTAL_URL . $mx_images['mx_graphics']['general']; // Logo etc $current_template_page_images = PORTAL_URL . $mx_images['mx_graphics']['page_icons']; // Used by adminCP - Pages $current_template_block_images = PORTAL_URL . $mx_images['mx_graphics']['block_icons']; // Used by userCP block buttons --- 66,75 ---- $mx_images['mx_graphics']['admin_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/admin_icons" ) ? $current_template_path . "/images/admin_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/admin_icons" ) ? $cloned_template_path . "/images/admin_icons" : $default_template_path . "/images/admin_icons" ); $mx_images['mx_graphics']['phpbb_icons'] = !empty($current_template_path) && file_exists( $phpbb_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( !empty($cloned_template_path) && file_exists( $phpbb_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path . "/images" : $default_template_path . "/images"); + $mx_images['mx_graphics']['mx_icons'] = !empty($current_template_path) && file_exists( $mx_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( !empty($cloned_template_path) && file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? cloned_template_path . "/images" : $default_template_path . "/images"); // // Prefix all paths to get full img URLs // ! $current_template_images = PORTAL_URL . $mx_images['mx_graphics']['general']; // Logo etc $current_template_page_images = PORTAL_URL . $mx_images['mx_graphics']['page_icons']; // Used by adminCP - Pages $current_template_block_images = PORTAL_URL . $mx_images['mx_graphics']['block_icons']; // Used by userCP block buttons *************** *** 76,80 **** $current_template_admin_images = PORTAL_URL . $mx_images['mx_graphics']['admin_icons']; // Internal graphics for the mxBB adminCP $current_template_phpbb_images = PHPBB_URL . $mx_images['mx_graphics']['phpbb_icons']; // phpBB graphics template ! $current_template_theme_images = PORTAL_URL . $current_template_path . '/theme/images'; // --- 77,81 ---- $current_template_admin_images = PORTAL_URL . $mx_images['mx_graphics']['admin_icons']; // Internal graphics for the mxBB adminCP $current_template_phpbb_images = PHPBB_URL . $mx_images['mx_graphics']['phpbb_icons']; // phpBB graphics template ! $current_template_theme_images = PORTAL_URL . $mx_images['mx_graphics']['mx_icons']; // Index: prosilver.css =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/prosilver.css,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** prosilver.css 14 Feb 2008 09:34:54 -0000 1.14 --- prosilver.css 27 Aug 2008 05:17:40 -0000 1.15 *************** *** 359,361 **** .fieldset1 FORM * { font-size: 1.0em; ! } \ No newline at end of file --- 359,368 ---- .fieldset1 FORM * { font-size: 1.0em; ! } ! ! .row1 { background-color: #ECF3F7; } /* .bg1 */ ! .row2 { background-color: #e1ebf2; } /* .bg2 */ ! .row2 { background-color: #cadceb; } /* .bg3 */ ! .row4 { background-color: #EFEFEF; } ! .row5 { background-color: #DEE3E7; } ! .row6 { background-color: #D1D7DC; } \ No newline at end of file |
|
From: FlorinCB <ory...@us...> - 2008-08-27 05:18:18
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3560/modules/mx_phpbb3blocks/templates/prosilver Modified Files: prosilver.cfg Log Message: some missing stuff from phpBB3 backend Index: prosilver.cfg =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver/prosilver.cfg,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** prosilver.cfg 4 Feb 2008 16:53:58 -0000 1.2 --- prosilver.cfg 27 Aug 2008 05:17:39 -0000 1.3 *************** *** 42,46 **** // Prefix with PORTAL_URL // ------------------------------------------------------------------------- ! $current_template_images = PORTAL_URL . $current_template_path . "/images"; // ------------------------------------------------------------------------- --- 42,48 ---- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- ! $current_template_root_path = str_replace($module_root_path, "", $current_template_path); ! $current_template_images = PORTAL_URL . $current_template_root_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"); // ------------------------------------------------------------------------- *************** *** 90,96 **** // Poll/Statistics Block // ! $mx_images['mx_voting_graphic'] = $images['voting_graphic']; // Array() ! $mx_images['mx_vote_bar'] = PHPBB_URL . $images['mx_graphics']['phpbb_icons'] . "/voting_bar.gif"; ! $mx_images['mx_vote_lcap'] = PHPBB_URL . $images['mx_graphics']['phpbb_icons'] . "/vote_lcap.gif"; ! $mx_images['mx_vote_rcap'] = PHPBB_URL . $images['mx_graphics']['phpbb_icons'] . "/vote_rcap.gif"; ?> \ No newline at end of file --- 92,104 ---- // 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"; ! $mx_images['voting_graphic'][2] = "$current_template_theme_images/phpbb2/voting_bar.gif"; ! $mx_images['voting_graphic'][3] = "$current_template_theme_images/phpbb2/voting_bar.gif"; ! $mx_images['voting_graphic'][4] = "$current_template_theme_images/phpbb2/voting_bar.gif"; ! ! $mx_images['mx_voting_graphic'] = $mx_images['voting_graphic']; // Array() ! $mx_images['mx_vote_bar'] = "$current_template_theme_images/phpbb2/voting_bar.gif"; ! $mx_images['mx_vote_lcap'] = "$current_template_theme_images/phpbb2/vote_lcap.gif"; ! $mx_images['mx_vote_rcap'] = "$current_template_theme_images/phpbb2/vote_rcap.gif"; ?> \ No newline at end of file |
|
From: FlorinCB <ory...@us...> - 2008-08-27 05:18:17
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3560/modules/mx_phpbb3blocks Modified Files: phpbb3blocks.pak Added Files: mx_statistics.php Log Message: some missing stuff from phpBB3 backend --- NEW FILE: mx_statistics.php --- <?php /** * * @package MX-Publisher Module - mx_phpbb2blocks * @version $Id: mx_statistics.php,v 1.1 2008/08/27 05:17:37 orynider Exp $ * @copyright (c) 2002-2008 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com * */ if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // =================================================== // Include the constants file // =================================================== require_once( $module_root_path . 'includes/phpbb3blocks_constants.' . $phpEx ); // // Start user modifiable variables // $return_limit = 10; // // End user modifiable variables // $template->assign_block_vars('switch_view', array()); // // Vote Images based on the theme path, (i.e. templates/CURRNT_THEME/ is already inserted) // $vote_left = $images['mx_vote_lcap'] ; $vote_right = $images['mx_vote_rcap'] ; $vote_bar = $images['mx_vote_bar']; $graph_image = $images['mx_voting_graphic']; if( file_exists($module_root_path . 'language/lang_' . $mx_user->lang['default_lang'] . '/lang_main.' . $phpEx) ) { include($mx_root_path . 'includes/shared/phpbb2/language/lang_' . $mx_user->lang['default_lang'] . '/lang_admin.' . $phpEx); include($module_root_path . 'language/lang_' . $mx_user->lang['default_lang'] . '/lang_main.' . $phpEx); } else { include($mx_root_path . 'includes/shared/phpbb2/language/lang_english/lang_admin.' . $phpEx); include($module_root_path . 'language/lang_english/lang_main.' . $phpEx); } // // Do the math :) (i think this is the same method as in philip mayer's statistic's file) // Taken from Acyd Burn. // function do_math($firstval, $value, $total, &$percentage, &$bar_percent) { $cst = ( $firstval > 0 ) ? 90 / $firstval : 90; if( $value != 0 ) { $percentage = ( $total ) ? round(min(100, ( $value / $total ) * 100)) : 0; } else { $percentage = 0; } $bar_percent = round($value * $cst); } $template->set_filenames(array( 'body' => 'mx_statistics.tpl') ); $template->assign_vars(array( "GRAPH_IMAGE" => $graph_image, "L_ADMIN_STATISTICS" => $lang['Admin_Stats'], "L_TOP_SMILIES" => $lang['Top_Smilies'], "L_MOST_ACTIVE" => $lang['Most_Active_Topics'], "L_MOST_VIEWED" => $lang['Most_Viewed_Topics'], "L_TOP_POSTERS" => $lang['Top_Posting_Users'], "L_USES" => $lang['Uses'], "L_RANK" => $lang['Rank'], "L_PERCENTAGE" => $lang['Percent'], "L_GRAPH" => $lang['Graph'], "L_REPLIES" => $lang['Replies'], "L_TOPIC" => $lang['Topic'], "L_VIEWS" => $lang['Views'], "L_USERNAME" => $lang['Username'], "L_POSTS" => $lang['Posts'], "L_STATISTIC" => $lang['Statistic'], "L_VALUE" => $lang['Value'], "L_IMAGE" => $lang['smiley_url'], "L_CODE" => $lang['smiley_code'], "PAGE_NAME" => $lang['Statistics']) ); // // Authorization SQL // $phpbb_auth->acl($mx_user->data); // Do only once, in user_init // Move later $auth_data_sql_stats = $phpbb_auth->get_auth_forum(); // // Getting voting bar info from template // /* if( !$board_config['override_user_style'] ) { if( $userdata['user_id'] != ANONYMOUS && isset($userdata['user_style']) ) { $style = $userdata['user_style']; if( !$theme ) { $style = $board_config['default_style']; } } else { $style = $board_config['default_style']; } } else { $style = $board_config['default_style']; } $sql = "SELECT * FROM " . THEMES_TABLE . " WHERE themes_id = $style"; if( !($result = $db->sql_query($sql)) ) { mx_message_die(CRITICAL_ERROR, "Couldn't query database for theme info."); } if( !($row = $db->sql_fetchrow($result)) ) { mx_message_die(CRITICAL_ERROR, "Couldn't get theme data for themes_id=$style."); } */ $template->assign_vars(array( "LEFT_GRAPH_IMAGE" => $vote_left, "RIGHT_GRAPH_IMAGE" => $vote_right, "GRAPH_IMAGE" => $vote_bar) ); // // Top posters SQL // $sql = "SELECT user_id, username, user_posts FROM " . USERS_TABLE . " WHERE user_id <> " . ANONYMOUS . " AND user_posts > 0 ORDER BY user_posts DESC LIMIT " . $return_limit; if( !($result = $db->sql_query($sql)) ) { mx_message_die(GENERAL_ERROR, "Couldn't retrieve users data", "", __LINE__, __FILE__, $sql); } $user_count = $db->sql_numrows($result); $user_data = $db->sql_fetchrowset($result); $percentage = 0; $bar_percent = 0; $firstcount = $user_data[0]['user_posts']; $get_db_stats = phpBB2::get_db_stat( 'postcount' ); for( $i = 0; $i < $user_count; $i++ ) { do_math($firstcount, $user_data[$i]['user_posts'], $get_db_stats, $percentage, $bar_percent); $template->assign_block_vars('users', array( "RANK" => $i + 1, "CLASS" => ( !( $i + 1 % 2 ) ) ? $theme['td_class2'] : $theme['td_class1'], "USERNAME" => $user_data[$i]['username'], "PERCENTAGE" => $percentage, "BAR" => $bar_percent, "URL" => mx_append_sid(PHPBB_URL . "profile.php?mode=viewprofile&u=" . $user_data[$i]['user_id']), "POSTS" => $user_data[$i]['user_posts']) ); } // // Most active topics SQL // $sql = "SELECT topic_id, topic_title, topic_replies FROM " . TOPICS_TABLE . " WHERE forum_id IN ( $auth_data_sql_stats ) AND topic_status <> 2 AND topic_replies > 0 ORDER BY topic_replies DESC LIMIT " . $return_limit; if( !($result = $db->sql_query($sql)) ) { mx_message_die(GENERAL_ERROR, "Couldn't retrieve topic data", "", __LINE__, __FILE__, $sql); } $topic_data = $db->sql_fetchrowset($result); for( $i = 0; $i < count($topic_data); $i++ ) { $template->assign_block_vars('topicreplies', array( "RANK" => $i + 1, "CLASS" => ( !( $i + 1 % 2 ) ) ? $theme['td_class2'] : $theme['td_class1'], "TITLE" => $topic_data[$i]['topic_title'], "REPLIES" => $topic_data[$i]['topic_replies'], "URL" => mx_append_sid(PHPBB_URL . "viewtopic.php?t=" . $topic_data[$i]['topic_id'])) ); } // // Most viewed topics SQL // $rank = 0; $sql = "SELECT topic_id, topic_title, topic_views FROM " . TOPICS_TABLE . " WHERE forum_id IN ( $auth_data_sql_stats ) AND topic_status <> 2 AND topic_views > 0 ORDER BY topic_views DESC LIMIT " . $return_limit; if( !($result = $db->sql_query($sql)) ) { mx_message_die(GENERAL_ERROR, "Couldn't retrieve topic data", "", __LINE__, __FILE__, $sql); } $topic_data = $db->sql_fetchrowset($result); for( $i = 0; $i < count($topic_data); $i++ ) { $template->assign_block_vars('topicviews', array( "RANK" => $i + 1, "CLASS" => ( !( $i + 1 % 2 ) ) ? $theme['td_class2'] : $theme['td_class1'], "TITLE" => $topic_data[$i]['topic_title'], "VIEWS" => $topic_data[$i]['topic_views'], "URL" => mx_append_sid(PHPBB_URL . "viewtopic.php?t=" . $topic_data[$i]['topic_id'])) ); } // // Begin Of Administrative Statistics (based on admin/index.php) // Also, takes into MX-Publisher tables (DB Size) and Attachment MOD // // // Get forum statistics // $total_posts = $get_db_stats; //Already queried above $total_users = phpBB2::get_db_stat('usercount'); $total_topics = phpBB2::get_db_stat('topiccount'); $start_date = phpBB2::create_date($board_config['default_dateformat'], $board_config['board_startdate'], $board_config['board_timezone']); $boarddays = ( time() - $board_config['board_startdate'] ) / 86400; $posts_per_day = sprintf("%.2f", $total_posts / $boarddays); $topics_per_day = sprintf("%.2f", $total_topics / $boarddays); $users_per_day = sprintf("%.2f", $total_users / $boarddays); $avatar_dir_size = 0; if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path'])) { while( $file = @readdir($avatar_dir) ) { if( $file != "." && $file != ".." ) { $avatar_dir_size += @filesize($phpbb_root_path . $board_config['avatar_path'] . "/" . $file); } } @closedir($avatar_dir); // // This bit of code translates the avatar directory size into human readable format // Borrowed the code from the PHP.net annoted manual, origanally written by: // Jesse (je...@je...) // if($avatar_dir_size >= 1048576) { $avatar_dir_size = round($avatar_dir_size / 1048576 * 100) / 100 . " MB"; } else if($avatar_dir_size >= 1024) { $avatar_dir_size = round($avatar_dir_size / 1024 * 100) / 100 . " KB"; } else { $avatar_dir_size = $avatar_dir_size . " Bytes"; } } else { // Couldn't open Avatar dir. $avatar_dir_size = $lang['Not_available']; } if($posts_per_day > $total_posts) { $posts_per_day = $total_posts; } if($topics_per_day > $total_topics) { $topics_per_day = $total_topics; } if($users_per_day > $total_users) { $users_per_day = $total_users; } // // DB size ... MySQL only // // This code is heavily influenced by a similar routine // in phpMyAdmin 2.2.0 // if( preg_match("/^mysql/", SQL_LAYER) ) { $sql = "SELECT VERSION() AS mysql_version"; if($result = $db->sql_query($sql)) { $row = $db->sql_fetchrow($result); $version = $row['mysql_version']; if( preg_match("/^(3\.23|4\.)/", $version) ) { $db_name = ( preg_match("/^(3\.23\.[6-9])|(3\.23\.[1-9][1-9])|(4\.)/", $version) ) ? "`$dbname`" : $dbname; $sql = "SHOW TABLE STATUS FROM " . $db_name; if($result = $db->sql_query($sql)) { $tabledata_ary = $db->sql_fetchrowset($result); $dbsize = 0; for($i = 0; $i < count($tabledata_ary); $i++) { if( $tabledata_ary[$i]['Type'] != "MRG_MyISAM" ) { if( $table_prefix != "" && $mx_table_prefix != "" ) { if( strstr($tabledata_ary[$i]['Name'], $table_prefix) || strstr($tabledata_ary[$i]['Name'], $mx_table_prefix) ) { $dbsize += $tabledata_ary[$i]['Data_length'] + $tabledata_ary[$i]['Index_length']; } } else { $dbsize += $tabledata_ary[$i]['Data_length'] + $tabledata_ary[$i]['Index_length']; } } } } // Else we couldn't get the table status. } else { $dbsize = $lang['Not_available']; } } else { $dbsize = $lang['Not_available']; } } else if( preg_match("/^mssql/", SQL_LAYER) ) { $sql = "SELECT ((SUM(size) * 8.0) * 1024.0) as dbsize FROM sysfiles"; if( $result = $db->sql_query($sql) ) { $dbsize = ( $row = $db->sql_fetchrow($result) ) ? intval($row['dbsize']) : $lang['Not_available']; } else { $dbsize = $lang['Not_available']; } } else { $dbsize = $lang['Not_available']; } if ( is_integer($dbsize) ) { if( $dbsize >= 1048576 ) { $dbsize = sprintf("%.2f MB", ( $dbsize / 1048576 )); } else if( $dbsize >= 1024 ) { $dbsize = sprintf("%.2f KB", ( $dbsize / 1024 )); } else { $dbsize = sprintf("%.2f Bytes", $dbsize); } } // // End Of Administrative Statistics // // // Newest user data // $newest_userdata = phpBB2::get_db_stat('newestuser'); $newest_user = $newest_userdata['username']; $newest_uid = $newest_userdata['user_id']; $sql = "SELECT user_regdate FROM " . USERS_TABLE . " WHERE user_id = " . $newest_userdata['user_id'] . " LIMIT 1"; if( !($result = $db->sql_query($sql)) ) { mx_message_die(GENERAL_ERROR, "Couldn't retrieve users data", "", __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); $newest_user_date = $row['user_regdate']; // // Most Online data // $sql = "SELECT * FROM " . CONFIG_TABLE . " WHERE config_name = 'record_online_users' OR config_name = 'record_online_date'"; if( !($result = $db->sql_query($sql)) ) { mx_message_die(GENERAL_ERROR, "Couldn't retrieve configuration data", "", __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); $most_users_date = ( $row['config_value'] > 0 ) ? phpBB2::create_date($board_config['default_dateformat'], $row['config_value'], $board_config['board_timezone']) : $lang['Not_available']; $row = $db->sql_fetchrow($result); $most_users = ( $row['config_value'] > 0 ) ? $row['config_value'] : $lang['Not_available']; $statistic_array = array($lang['Number_posts'], $lang['Posts_per_day'], $lang['Number_topics'], $lang['Topics_per_day'], $lang['Number_users'], $lang['Users_per_day'], $lang['Board_started'], $lang['Board_Up_Days'], $lang['Database_size'], $lang['Avatar_dir_size'], $lang['Latest_Reg_User_Date'], $lang['Latest_Reg_User'], $lang['Most_Ever_Online_Date'], $lang['Most_Ever_Online'], $lang['Gzip_compression']); $value_array = array($total_posts, $posts_per_day, $total_topics, $topics_per_day, $total_users, $users_per_day, $start_date, sprintf('%.2f', $boarddays), $dbsize, $avatar_dir_size, phpBB2::create_date($board_config['default_dateformat'], $newest_user_date, $board_config['board_timezone']), sprintf('<a href="' . mx_append_sid(PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">' . $newest_user . '</a>'), $most_users_date, $most_users, ( $board_config['gzip_compress'] ) ? $lang['Enabled'] : $lang['Disabled']); // // Disk Usage, if Attachment Mod is installed // if( defined('ATTACH_VERSION') ) { include($phpbb_root_path . 'attach_mod/includes/functions_admin.'.$phpEx); $disk_usage = get_formatted_dirsize(); $statistic_array[] = $lang['Disk_usage']; $value_array[] = $disk_usage; } // // Output Administrative Statistics // for( $i = 0; $i < count($statistic_array); $i += 2 ) { $template->assign_block_vars('adminrow', array( "STATISTIC" => $statistic_array[$i], "VALUE" => $value_array[$i], "STATISTIC2" => ( isset($statistic_array[$i + 1]) ) ? $statistic_array[$i + 1] : '', "VALUE2" => ( isset($value_array[$i + 1]) ) ? $value_array[$i + 1] : '') ); } // // Output the page // $template->pparse('body'); ?> Index: phpbb3blocks.pak =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/phpbb3blocks.pak,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** phpbb3blocks.pak 5 Jul 2008 22:38:22 -0000 1.4 --- phpbb3blocks.pak 27 Aug 2008 05:17:37 -0000 1.5 *************** *** 36,37 **** --- 36,42 ---- block=+:=+:phpBB Index=+:Demo block=+:52=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 + New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 + function=+:30=+:41=+:Statistics=+:Site Statistics Function=+:mx_statistics.php=+: + parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 + block=+:=+:Demo - Statistics=+:Demo block=+:41=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 + function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: FlorinCB <ory...@us...> - 2008-08-27 05:18:17
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3560/modules/mx_phpbb3blocks/templates/_core Modified Files: _core.cfg mx_statistics.html Log Message: some missing stuff from phpBB3 backend Index: mx_statistics.html =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/_core/mx_statistics.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_statistics.html 5 Jul 2008 22:38:24 -0000 1.1 --- mx_statistics.html 27 Aug 2008 05:17:39 -0000 1.2 *************** *** 1,124 **** ! <table border="0" cellpadding="0" cellspacing="0" class="forumline" width="100%" style="border-top:none;"> ! <tr> ! <td class="catHead" align="center"><span class="cattitle">{L_ADMIN_STATISTICS}</span></td> ! </tr> ! <tr> ! <td> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border:none;"> ! <tr> ! <th width="25%" class="thCornerL" align="center"><b>{L_STATISTIC}</b></td> ! <th width="25%" class="thTop" align="center"><b>{L_VALUE}</b></td> ! <th width="25%" class="thTop" align="center"><b>{L_STATISTIC}</b></td> ! <th width="25%" class="thCornerR" align="center"><b>{L_VALUE}</b></td> ! </tr> ! <!-- BEGIN adminrow --> ! <tr> ! <td class="row2" align="center"><span class="gen">{adminrow.STATISTIC}</span></td> ! <td class="row1" align="center"><span class="gen">{adminrow.VALUE}</span></td> ! <td class="row2" align="center"><span class="gen">{adminrow.STATISTIC2}</span></td> ! <td class="row1" align="center"><span class="gen">{adminrow.VALUE2}</span></td> ! </tr> ! <!-- END adminrow --> ! </table> ! </td> ! </tr> ! </table> ! <br clear="all" /> ! <table border="0" cellpadding="0" cellspacing="0" class="forumline" width="100%"> ! <tr> ! <td class="catHead" align="center"><span class="cattitle">{L_TOP_POSTERS}</span></td> ! </tr> ! <tr> ! <td> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border:none;"> <tr> ! <th class="thCornerL" align="center" width="10%"><b>{L_RANK}</b></th> ! <th class="thTop" align="center" width="20%"><b>{L_USERNAME}</b></th> ! <th class="thTop" align="center" width="10%"><b>{L_POSTS}</b></th> ! <th class="thTop" align="center" width="10%"><b>{L_PERCENTAGE}</b></th> ! <th class="thCornerR" align="center" width="50%"><b>{L_GRAPH}</b></th> </tr> - <!-- BEGIN users --> <tr> ! <td class="{users.CLASS}" align="center"><span class="gen">{users.RANK}</span></td> ! <td class="{users.CLASS}" align="center"><span class="gen"><a href="{users.URL}">{users.USERNAME}</a></span></td> ! <td class="{users.CLASS}" align="center"><span class="gen">{users.POSTS}</span></td> ! <td class="{users.CLASS}" align="center"><span class="gen">{users.PERCENTAGE}%</span></td> ! <td class="{users.CLASS}" align="left"> ! <table cellspacing="0" cellpadding="0" border="0" align="left"> ! <tr> ! <td align="right"><img src="{LEFT_GRAPH_IMAGE}" width="4" height="12" alt="{users.PERCENTAGE}%" title="{users.PERCENTAGE}%" /></td> ! </tr> ! </table> ! <table cellspacing="0" cellpadding="0" border="0" align="left" width="{users.BAR}%"> <tr> ! <td><img src="{GRAPH_IMAGE}" width="100%" height="12" alt="{users.PERCENTAGE}%" title="{users.PERCENTAGE}%" /></td> </tr> ! </table> ! <table cellspacing="0" cellpadding="0" border="0" align="left"> <tr> ! <td align="left"><img src="{RIGHT_GRAPH_IMAGE}" width="4" height="12" alt="{users.PERCENTAGE}%" title="{users.PERCENTAGE}%" /></td> </tr> </table> </td> </tr> - <!-- END users --> </table> ! </td> ! </tr> ! </table> ! <br clear="all" /> ! <table width="100%" border="0" cellspacing="0" cellpadding="0"> ! <tr> ! <td valign="top" width="50%" style="padding-right:2px;"> ! <table border="0" cellpadding="0" cellspacing="0" class="forumline" width="100%"> ! <tr> ! <td class="catHead" align="center"><span class="cattitle">{L_MOST_VIEWED}</span></td> ! </tr> <tr> ! <td> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border:none;"> <tr> ! <th class="thCornerL" align="left" width="5%"><b>{L_RANK}</b></th> ! <th class="thTop" align="center" width="20%"><b>{L_VIEWS}</b></th> ! <th class="thCornerR" align="center" width="75%"><b>{L_TOPIC}</b></th> </tr> - <!-- BEGIN topicviews --> <tr> ! <td class="{topicviews.CLASS}" align="left"><span class="gen">{topicviews.RANK}</span></td> ! <td class="{topicviews.CLASS}" align="center"><span class="gen">{topicviews.VIEWS}</span></td> ! <td class="{topicviews.CLASS}" align="left"><span class="gen"><a href="{topicviews.URL}">{topicviews.TITLE}</a></span></td> </tr> - <!-- END topicviews --> </table> </td> ! </tr> ! </table> ! </td> ! <td valign="top" width="50%" style="padding-left:2px;"> ! <table border="0" cellpadding="0" cellspacing="0" class="forumline" width="100%"> ! <tr> ! <td class="catHead" align="center"> <span class="cattitle">{L_MOST_ACTIVE}</span></td> ! </tr> ! <tr> ! <td> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border:none;"> <tr> ! <th class="thCornerL" align="left" width="5%"><b>{L_RANK}</b></th> ! <th class="thTop" align="center" width="20%"><b>{L_REPLIES}</b></th> ! <th class="thCornerR" align="center" width="75%"><b>{L_TOPIC}</b></th> </tr> - <!-- BEGIN topicreplies --> <tr> ! <td class="{topicreplies.CLASS}" align="left"><span class="gen">{topicreplies.RANK}</span></td> ! <td class="{topicreplies.CLASS}" align="center"><span class="gen">{topicreplies.REPLIES}</span></td> ! <td class="{topicreplies.CLASS}" align="left"><span class="gen"><a href="{topicreplies.URL}">{topicreplies.TITLE}</a></span></td> </tr> - <!-- END topicreplies --> </table> </td> </tr> </table> ! </td> ! </tr> ! </table> \ No newline at end of file --- 1,134 ---- ! <div class="clear"></div> ! <div class="forabg block"> ! <div id="p1" class="post bg2 online"> ! <div class="inner"><span class="corners-top"><span></span></span> ! <div class="textbody"> ! <table border="0" cellpadding="0" cellspacing="0" class="forumline" width="100%" style="border-top:none;"> ! <tr class="textbody"> ! <td style="vertical-align:middle; text-align:center;"><span class="cat" style="font-weight: bold;">{L_ADMIN_STATISTICS}</span></td> ! </tr> ! <tr> ! <td> ! <table class="textbody"> ! <tr> ! <th width="25%" class="thCornerL bg1" style="vertical-align:middle; text-align:center;"><span class="gensmall" style="font-weight: bold;">{L_STATISTIC}</span></th> ! <th width="25%" class="thTop bg3" style="vertical-align:top; text-align:center;"><span style="font-weight: bold;">{L_VALUE}</span></th> ! <th width="25%" class="thTop bg1" style="vertical-align:top; text-align:center;"><span style="font-weight: bold;">{L_STATISTIC}</span></th> ! <th width="25%" class="thCornerR bg3" style="vertical-align:middle; text-align:center;"><span style="font-weight: bold;">{L_VALUE}</span></th> ! </tr> ! <!-- BEGIN adminrow --> ! <tr> ! <td class="row2 bg2" style="vertical-align:top; text-align:center;"><span class="gen">{adminrow.STATISTIC}</span></td> ! <td class="row1 bg1" style="vertical-align:top; text-align:center;"><span class="gen">{adminrow.VALUE}</span></td> ! <td class="row2 bg2" style="vertical-align:top; text-align:center;"><span class="gen">{adminrow.STATISTIC2}</span></td> ! <td class="row1 bg1" style="vertical-align:top; text-align:center;"><span class="gen">{adminrow.VALUE2}</span></td> ! </tr> ! <!-- END adminrow --> ! </table> ! </td> ! </tr> ! </table> ! <br clear="all" /> ! <table border="0" cellpadding="0" cellspacing="0" class="forumline" width="100%"> <tr> ! <td style="vertical-align:middle; text-align:center;"><span class="cat" style="font-weight: bold;">{L_TOP_POSTERS}</span></td> </tr> <tr> ! <td> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border:none;"> <tr> ! <th class="thCornerL bg1" align="center" width="10%"><b>{L_RANK}</b></th> ! <th class="thTop bg3" align="center" width="20%"><b>{L_USERNAME}</b></th> ! <th class="thTop bg1" align="center" width="10%"><b>{L_POSTS}</b></th> ! <th class="thTop bg3" align="center" width="10%"><b>{L_PERCENTAGE}</b></th> ! <th class="thCornerR bg2" align="center" width="50%"><b>{L_GRAPH}</b></th> </tr> ! <!-- BEGIN users --> <tr> ! <td class="{users.CLASS} bg3" align="center"><span class="gen">{users.RANK}</span></td> ! <td class="{users.CLASS} bg1" align="center"><span class="gen"><a href="{users.URL}">{users.USERNAME}</a></span></td> ! <td class="{users.CLASS} bg3" align="center"><span class="gen">{users.POSTS}</span></td> ! <td class="{users.CLASS} bg1" align="center"><span class="gen">{users.PERCENTAGE}%</span></td> ! <td class="{users.CLASS} bg2" align="left"> ! <table cellspacing="0" cellpadding="0" border="0" align="left"> ! <tr> ! <td align="right"><img src="{LEFT_GRAPH_IMAGE}" width="4" height="12" alt="{users.PERCENTAGE}%" title="{users.PERCENTAGE}%" /></td> ! </tr> ! </table> ! <table cellspacing="0" cellpadding="0" border="0" align="left" width="{users.BAR}%"> ! <tr> ! <td><img src="{GRAPH_IMAGE}" width="100%" height="12" alt="{users.PERCENTAGE}%" title="{users.PERCENTAGE}%" /></td> ! </tr> ! </table> ! <table cellspacing="0" cellpadding="0" border="0" align="left"> ! <tr> ! <td align="left"><img src="{RIGHT_GRAPH_IMAGE}" width="4" height="12" alt="{users.PERCENTAGE}%" title="{users.PERCENTAGE}%" /></td> ! </tr> ! </table> ! </td> </tr> + <!-- END users --> </table> </td> </tr> </table> ! <br clear="all" /> ! <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> ! <td valign="top" width="50%" style="padding-right:2px;"> ! <table border="0" cellpadding="0" cellspacing="0" class="forumline" width="100%"> <tr> ! <td style="vertical-align:middle; text-align:center;"><span class="cat" style="font-weight: bold;">{L_MOST_VIEWED}</span></td> </tr> <tr> ! <td> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border:none;"> ! <tr> ! <th class="thCornerL bg1" align="left" width="5%"><b>{L_RANK}</b></th> ! <th class="thTop bg3" align="center" width="20%"><b>{L_VIEWS}</b></th> ! <th class="thCornerR bg1" align="center" width="75%"><b>{L_TOPIC}</b></th> ! </tr> ! <!-- BEGIN topicviews --> ! <tr> ! <td class="{topicviews.CLASS} bg1" align="left"><span class="gen">{topicviews.RANK}</span></td> ! <td class="{topicviews.CLASS} bg3" align="center"><span class="gen">{topicviews.VIEWS}</span></td> ! <td class="{topicviews.CLASS} bg1" align="left"><span class="gen"><a href="{topicviews.URL}">{topicviews.TITLE}</a></span></td> ! </tr> ! <!-- END topicviews --> ! </table> ! </td> </tr> </table> </td> ! <td valign="top" width="50%" style="padding-left:2px;"> ! <table border="0" cellpadding="0" cellspacing="0" class="forumline" width="100%"> <tr> ! <td style="vertical-align:middle; text-align:center;"><span class="cat" style="font-weight: bold;">{L_MOST_ACTIVE}</span></td> </tr> <tr> ! <td> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border:none;"> ! <tr> ! <th class="thCornerL" align="left bg1" width="5%"><b>{L_RANK}</b></th> ! <th class="thTop bg3" align="center" width="20%"><b>{L_REPLIES}</b></th> ! <th class="thCornerR bg1" align="center" width="75%"><b>{L_TOPIC}</b></th> ! </tr> ! <!-- BEGIN topicreplies --> ! <tr> ! <td class="{topicreplies.CLASS} bg1" align="left"><span class="gen">{topicreplies.RANK}</span></td> ! <td class="{topicreplies.CLASS} bg3" align="center"><span class="gen">{topicreplies.REPLIES}</span></td> ! <td class="{topicreplies.CLASS} bg1" align="left"><span class="gen"><a href="{topicreplies.URL}">{topicreplies.TITLE}</a></span></td> ! </tr> ! <!-- END topicreplies --> ! </table> ! </td> </tr> </table> </td> </tr> </table> ! </div></div> ! </div> ! <span class="corners-bottom"><span></span></span> ! </div> ! <br clear="all" /> \ No newline at end of file Index: _core.cfg =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/_core/_core.cfg,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** _core.cfg 3 Jun 2008 20:05:44 -0000 1.4 --- _core.cfg 27 Aug 2008 05:17:38 -0000 1.5 *************** *** 27,36 **** // 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 ); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- ! $current_template_images = PORTAL_URL . $current_template_path . "/images"; // ------------------------------------------------------------------------- --- 27,38 ---- // Do some checks // ------------------------------------------------------------------------- ! $current_template_path = file_exists( $mx_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path . "/images" : $default_template_path . "/images" ); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- ! $current_template_root_path = str_replace($module_root_path, "", $current_template_path); ! $current_template_images = PORTAL_URL . $current_template_root_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"); // ------------------------------------------------------------------------- *************** *** 80,86 **** // Poll/Statistics Block // ! $mx_images['mx_voting_graphic'] = $images['voting_graphic']; // Array() ! $mx_images['mx_vote_bar'] = PHPBB_URL . $images['mx_graphics']['phpbb_icons'] . "/voting_bar.gif"; ! $mx_images['mx_vote_lcap'] = PHPBB_URL . $images['mx_graphics']['phpbb_icons'] . "/vote_lcap.gif"; ! $mx_images['mx_vote_rcap'] = PHPBB_URL . $images['mx_graphics']['phpbb_icons'] . "/vote_rcap.gif"; ?> \ No newline at end of file --- 82,94 ---- // 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"; ! $mx_images['voting_graphic'][2] = "$current_template_theme_images/phpbb2/voting_bar.gif"; ! $mx_images['voting_graphic'][3] = "$current_template_theme_images/phpbb2/voting_bar.gif"; ! $mx_images['voting_graphic'][4] = "$current_template_theme_images/phpbb2/voting_bar.gif"; ! ! $mx_images['mx_voting_graphic'] = $mx_images['voting_graphic']; // Array() ! $mx_images['mx_vote_bar'] = "$current_template_theme_images/phpbb2/voting_bar.gif"; ! $mx_images['mx_vote_lcap'] = "$current_template_theme_images/phpbb2/vote_lcap.gif"; ! $mx_images['mx_vote_rcap'] = "$current_template_theme_images/phpbb2/vote_rcap.gif"; ?> \ No newline at end of file |
|
From: FlorinCB <ory...@us...> - 2008-08-27 05:18:16
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3560/includes Modified Files: mx_functions_admincp.php mx_functions_core.php Log Message: some missing stuff from phpBB3 backend Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.99 retrieving revision 1.100 diff -C2 -d -r1.99 -r1.100 *** mx_functions_core.php 15 Jul 2008 22:02:45 -0000 1.99 --- mx_functions_core.php 27 Aug 2008 05:17:35 -0000 1.100 *************** *** 452,455 **** --- 452,456 ---- $sql = "SELECT col.page_id, pag.page_name, + pag.page_desc, pag.page_parent, pag.parents_data, *************** *** 503,506 **** --- 504,508 ---- "page_id" => $row['page_id'], "page_name" => $row['page_name'], + "page_desc" => $row['page_desc'], "page_parent" => $row['page_parent'], "parent_data" => $row['parents_data'], Index: mx_functions_admincp.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_admincp.php,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** mx_functions_admincp.php 19 Aug 2008 14:34:58 -0000 1.59 --- mx_functions_admincp.php 27 Aug 2008 05:17:35 -0000 1.60 *************** *** 375,379 **** $ipfilter = addslashes( serialize( $ipfilter ) ); ! $sql = "SELECT MAX(page_id) AS next_id FROM " . PAGE_TABLE; if( !($result = $db->sql_query($sql)) ) { --- 375,379 ---- $ipfilter = addslashes( serialize( $ipfilter ) ); ! $sql = "SELECT MAX(page_id) AS next_id, MAX(page_order) AS next_order FROM " . PAGE_TABLE; if( !($result = $db->sql_query($sql)) ) { *************** *** 382,386 **** $row = $db->sql_fetchrow($result); ! $page_id_new = $row[next_id] + 1; if( empty($page_id_new) ) --- 382,388 ---- $row = $db->sql_fetchrow($result); ! $page_id_new = $row['next_id'] + 1; ! ! $page_order_new = $row['next_order'] + 1; if( empty($page_id_new) ) *************** *** 388,409 **** die('Couldn\'t find max page_id'); } ! $sql = "INSERT INTO " . PAGE_TABLE . " ( page_id, page_name, page_desc, page_parent, page_icon, page_alt_icon, auth_view, default_style, override_user_style, page_header, page_footer, page_main_layout, navigation_block, ip_filter, phpbb_stats ) ! VALUES ( '" . $page_id_new . "', ! '" . $page_name . "', ! '" . $page_desc . "', ! '" . $page_parent . "', ! '" . $page_icon . "', ! '" . $page_alt_icon . "', ! '" . $auth_view . "', ! '" . $default_style . "', ! '" . $override_user_style . "', ! '" . $page_header . "', ! '" . $page_footer . "', ! '" . $page_main_layout . "', ! '" . $navigation_block . "', ! '" . $ipfilter . "', ! '" . $phpbb_stats . "' )"; if( !($result = $db->sql_query($sql)) ) { --- 390,429 ---- die('Couldn\'t find max page_id'); } + + if( empty($page_order_new) ) + { + $page_order_new = 0; + } ! $parents_data = ''; //To do ! ! $page_row = array( ! "page_id" => (int) $page_id_new, ! "page_name" => $page_name, ! "page_desc" => $page_desc, ! "page_parent" => (int) $page_parent, ! "parents_data" => $parents_data, ! "page_order" => (int) $page_order_new, ! "page_icon" => $page_icon , ! "page_alt_icon" => $page_alt_icon, ! //"menu_icon" => $menu_icon, ! //"menu_alt_icon" => $menu_alt_icon, ! //"menu_alt_icon_hot" => $menu_alt_icon_hot, ! //"menu_active" => (int) $menu_active, ! "auth_view" => (int) $auth_view, ! //"auth_view_group" => $auth_view_group, ! //"auth_moderator_group" => $auth_moderator_group, ! "default_style" => (int) $default_style, ! "override_user_style" => (int) $override_user_style, ! "page_header" => $page_header, ! "page_footer" => $page_footer, ! "page_main_layout" => $page_main_layout, ! "navigation_block" => (int) $navigation_block, ! "ip_filter" => $ipfilter , ! "phpbb_stats" => (int) $phpbb_stats, ! ); + $sql = "INSERT INTO " . PAGE_TABLE . $db->sql_build_array('INSERT', $page_row); + if( !($result = $db->sql_query($sql)) ) { |
|
From: FlorinCB <ory...@us...> - 2008-08-27 01:49:14
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17155 Modified Files: mysql_41_schema_install.sql mysql_schema_install.sql Log Message: mysql version fix for text in page_data Index: mysql_schema_install.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_install.sql,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** mysql_schema_install.sql 19 Aug 2008 02:46:24 -0000 1.55 --- mysql_schema_install.sql 27 Aug 2008 01:49:04 -0000 1.56 *************** *** 338,342 **** `page_desc` varchar(255), `page_parent` int(50) DEFAULT '0', ! `parents_data` text NOT NULL, `page_order` smallint(5) DEFAULT '0', `page_icon` varchar(255), --- 338,342 ---- `page_desc` varchar(255), `page_parent` int(50) DEFAULT '0', ! `parents_data` mediumblob NOT NULL, `page_order` smallint(5) DEFAULT '0', `page_icon` varchar(255), Index: mysql_41_schema_install.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_41_schema_install.sql,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mysql_41_schema_install.sql 19 Aug 2008 14:35:02 -0000 1.5 --- mysql_41_schema_install.sql 27 Aug 2008 01:49:03 -0000 1.6 *************** *** 338,342 **** `page_desc` varchar(255), `page_parent` int(50) DEFAULT '0', ! `parents_data` text NOT NULL, `page_order` smallint(5) DEFAULT '0', `page_icon` varchar(255), --- 338,342 ---- `page_desc` varchar(255), `page_parent` int(50) DEFAULT '0', ! `parents_data` mediumtext NOT NULL, `page_order` smallint(5) DEFAULT '0', `page_icon` varchar(255), |
|
From: FlorinCB <ory...@us...> - 2008-08-24 13:21:17
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16708 Modified Files: mx_install.php Log Message: fix Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.101 retrieving revision 1.102 diff -C2 -d -r1.101 -r1.102 *** mx_install.php 19 Aug 2008 14:35:00 -0000 1.101 --- mx_install.php 24 Aug 2008 13:21:09 -0000 1.102 *************** *** 846,938 **** //Creating the forum page ! if(PORTAL_BACKEND !== 'internal') { ! $sql = array(); ! ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block VALUES('6', 'Poll', 'This is a Demo Block', '14', '0', '5', '0', '0', '0', '0', '0', '1', '1', '0', '1125841942', '2')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block VALUES('16', 'Last Message Post', 'This is a Demo Block', '31', '0', '5', '0', '0', '0', '0', '0', '1', '1', '0', '1125842159', '2')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block VALUES('18', 'Announcements', 'This is a Demo Block', '2', '0', '5', '0', '0', '0', '0', '0', '1', '1', '0', '1125868467', '2')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block VALUES('24', 'Forum', 'This is a Demo Block', '8', '0', '5', '0', '0', '0', '0', '0', '1', '1', '0', '1125841817', '2')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block VALUES('26', 'Statistics', 'This is a Demo Block', '41', '0', '5', '0', '0', '0', '0', '0', '1', '1', '0', '1125842177', '2')"; ! ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('6', '36', '', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('6', '13', '0', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '17', '5', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '18', 'TRUE', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '19', '30', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '20', '_self', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '21', 'left', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '22', 'TRUE', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '37', '', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '38', 'TRUE', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '39', 'TRUE', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '40', 'TRUE', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '95', '5', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '1', '3', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '2', '10', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '3', 'TRUE', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '4', 'TRUE', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '5', 'FALSE', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '7', 'thumb_news.gif', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '8', 'thumb_globe.gif', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '9', 'thumb_globe.gif', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '6', 'TRUE', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '10', 'thumb_globe.gif', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '11', '', '', '0')"; ! ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column VALUES('8', 'Main', '50', NULL, '100%', '4')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column VALUES('7', 'Left', '40', NULL, '200', '4')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column VALUES('4', 'Main', '50', NULL, '100%', '2')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column VALUES('3', 'Left', '40', NULL, '200', '2')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('4', '19', '20')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('8', '19', '20')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('4', '24', '10')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('3', '16', '20')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('8', '26', '10')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('7', '8', '10')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('5', '7', '20')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('3', '13', '30')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('3', '8', '10')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "function VALUES('8', '30', 'phpBB Index', 'phpBB Index Block', 'mx_forum.php', '')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "function VALUES('14', '30', 'MXP Polls', 'MXP Polls', 'mx_poll.php', '')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "function VALUES('2', '30', 'phpBB Announcements', 'phpBB Announcements Block', 'mx_announce.php', '')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "function VALUES('31', '30', 'Last Posts', 'phpBB Last Posts Function', 'mx_last_msg.php', '')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "function VALUES('41', '30', 'Statistics', 'Site Statistics Function', 'mx_statistics.php', '')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "page VALUES('2', 'Forum', 'This is the phpBB Forum startpage', '0', '', '20', 'icon_forum.gif', '', '', '', '', '1', '0', '0', '0', '-1', '-1', '', '', '', '0', 'a:1:{i:0;s:0:\"\";}', '1')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "page VALUES('4', 'Sitestats', 'Sitestats page', '0', '', '40', 'icon_stats.gif', '', '', '', '', '1', '0', '0', '0', '-1', '-1', '', '', '', '0', 'a:1:{i:0;s:0:\"\";}', '-1')"; ! ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('1', '2', 'announce_nbr_display', 'Number', '1', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('2', '2', 'announce_nbr_days', 'Number', '14', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('3', '2', 'announce_display', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('4', '2', 'announce_display_sticky', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('5', '2', 'announce_display_normal', 'Boolean', 'FALSE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('7', '2', 'announce_img', 'Text', 'thumb_globe.gif', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('8', '2', 'announce_img_sticky', 'Text', 'thumb_globe.gif', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('9', '2', 'announce_img_normal', 'Text', 'thumb_globe.gif', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('6', '2', 'announce_display_global', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('10', '2', 'announce_img_global', 'Text', 'thumb_globe.gif', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('11', '2', 'announce_forum', 'Function', '', 'get_list_multiple(\"{parameter_id}[]\", FORUMS_TABLE, \'forum_id\', \'forum_name\', \"{parameter_value}\", TRUE)', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('13', '14', 'Poll_Display', 'Function', '0', 'poll_select( {parameter_value}, \"{parameter_id}\" )', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('36', '14', 'poll_forum', 'Function', '', 'get_list_multiple(\"{parameter_id}[]\", FORUMS_TABLE, \'forum_id\', \'forum_name\', \"{parameter_value}\", TRUE)', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('17', '31', 'Last_Msg_Number_Title', 'Number', '15', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('18', '31', 'Last_Msg_Display_Date', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('19', '31', 'Last_Msg_Title_Length', 'Number', '33', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('20', '31', 'Last_Msg_Target', 'Values', '_blank', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('21', '31', 'Last_Msg_Align', 'Values', 'left', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('22', '31', 'Last_Msg_Display_Forum', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('37', '31', 'Last_Msg_forum', 'Function', '', 'get_list_multiple(\"{parameter_id}[]\", FORUMS_TABLE, \'forum_id\', \'forum_name\', \"{parameter_value}\", TRUE)', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('38', '31', 'Last_Msg_Display_Last_Author', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('39', '31', 'Last_Msg_Display_Author', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('40', '31', 'Last_Msg_Display_Icon_View', 'Boolean', 'TRUE', '', '0', '0')"; ! } --- 846,945 ---- //Creating the forum page ! switch (PORTAL_BACKEND) { ! case 'internal': ! break; + case 'phpbb2': + case 'phpbb3': ! $sql = array(); ! ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block VALUES('6', 'Poll', 'This is a Demo Block', '14', '0', '5', '0', '0', '0', '0', '0', '1', '1', '0', '1125841942', '2')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block VALUES('16', 'Last Message Post', 'This is a Demo Block', '31', '0', '5', '0', '0', '0', '0', '0', '1', '1', '0', '1125842159', '2')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block VALUES('18', 'Announcements', 'This is a Demo Block', '2', '0', '5', '0', '0', '0', '0', '0', '1', '1', '0', '1125868467', '2')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block VALUES('24', 'Forum', 'This is a Demo Block', '8', '0', '5', '0', '0', '0', '0', '0', '1', '1', '0', '1125841817', '2')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block VALUES('26', 'Statistics', 'This is a Demo Block', '41', '0', '5', '0', '0', '0', '0', '0', '1', '1', '0', '1125842177', '2')"; ! ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('6', '36', '', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('6', '13', '0', NULL, '0')"; ! ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '17', '5', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '18', 'TRUE', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '19', '30', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '20', '_self', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '21', 'left', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '22', 'TRUE', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '37', '', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '38', 'TRUE', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '39', 'TRUE', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '40', 'TRUE', NULL, '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('16', '95', '5', NULL, '0')"; ! ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '1', '3', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '2', '10', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '3', 'TRUE', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '4', 'TRUE', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '5', 'FALSE', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '7', 'thumb_news.gif', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '8', 'thumb_globe.gif', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '9', 'thumb_globe.gif', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '6', 'TRUE', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '10', 'thumb_globe.gif', '', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "block_system_parameter VALUES('18', '11', '', '', '0')"; ! ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column VALUES('8', 'Main', '50', NULL, '100%', '4')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column VALUES('7', 'Left', '40', NULL, '200', '4')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column VALUES('4', 'Main', '50', NULL, '100%', '2')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column VALUES('3', 'Left', '40', NULL, '200', '2')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('4', '19', '20')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('8', '19', '20')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('4', '24', '10')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('3', '16', '20')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('8', '26', '10')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('7', '8', '10')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('5', '7', '20')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('3', '13', '30')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "column_block VALUES('3', '8', '10')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "function VALUES('8', '30', 'phpBB Index', 'phpBB Index Block', 'mx_forum.php', '')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "function VALUES('14', '30', 'MXP Polls', 'MXP Polls', 'mx_poll.php', '')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "function VALUES('2', '30', 'phpBB Announcements', 'phpBB Announcements Block', 'mx_announce.php', '')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "function VALUES('31', '30', 'Last Posts', 'phpBB Last Posts Function', 'mx_last_msg.php', '')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "function VALUES('41', '30', 'Statistics', 'Site Statistics Function', 'mx_statistics.php', '')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "page VALUES('2', 'Forum', 'This is the phpBB Forum startpage', '0', '', '20', 'icon_forum.gif', '', '', '', '', '1', '0', '0', '0', '-1', '-1', '', '', '', '0', 'a:1:{i:0;s:0:\"\";}', '1')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "page VALUES('4', 'Sitestats', 'Sitestats page', '0', '', '40', 'icon_stats.gif', '', '', '', '', '1', '0', '0', '0', '-1', '-1', '', '', '', '0', 'a:1:{i:0;s:0:\"\";}', '-1')"; ! ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('1', '2', 'announce_nbr_display', 'Number', '1', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('2', '2', 'announce_nbr_days', 'Number', '14', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('3', '2', 'announce_display', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('4', '2', 'announce_display_sticky', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('5', '2', 'announce_display_normal', 'Boolean', 'FALSE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('7', '2', 'announce_img', 'Text', 'thumb_globe.gif', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('8', '2', 'announce_img_sticky', 'Text', 'thumb_globe.gif', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('9', '2', 'announce_img_normal', 'Text', 'thumb_globe.gif', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('6', '2', 'announce_display_global', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('10', '2', 'announce_img_global', 'Text', 'thumb_globe.gif', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('11', '2', 'announce_forum', 'Function', '', 'get_list_multiple(\"{parameter_id}[]\", FORUMS_TABLE, \'forum_id\', \'forum_name\', \"{parameter_value}\", TRUE)', '0', '0')"; + $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('13', '14', 'Poll_Display', 'Function', '0', 'poll_select( {parameter_value}, \"{parameter_id}\" )', '0', '0')"; + $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('36', '14', 'poll_forum', 'Function', '', 'get_list_multiple(\"{parameter_id}[]\", FORUMS_TABLE, \'forum_id\', \'forum_name\', \"{parameter_value}\", TRUE)', '0', '0')"; ! ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('17', '31', 'Last_Msg_Number_Title', 'Number', '15', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('18', '31', 'Last_Msg_Display_Date', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('19', '31', 'Last_Msg_Title_Length', 'Number', '33', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('20', '31', 'Last_Msg_Target', 'Values', '_blank', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('21', '31', 'Last_Msg_Align', 'Values', 'left', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('22', '31', 'Last_Msg_Display_Forum', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('37', '31', 'Last_Msg_forum', 'Function', '', 'get_list_multiple(\"{parameter_id}[]\", FORUMS_TABLE, \'forum_id\', \'forum_name\', \"{parameter_value}\", TRUE)', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('38', '31', 'Last_Msg_Display_Last_Author', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('39', '31', 'Last_Msg_Display_Author', 'Boolean', 'TRUE', '', '0', '0')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "parameter VALUES('40', '31', 'Last_Msg_Display_Icon_View', 'Boolean', 'TRUE', '', '0', '0')"; ! break; } *************** *** 940,943 **** --- 947,952 ---- { case 'internal': + + break; case 'phpbb2': |