|
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 |