|
From: Jon O. <jon...@us...> - 2007-09-09 16:53:13
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb2blocks/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11076/_core Added Files: _core.cfg index.htm mx_announce.tpl mx_forum.tpl mx_last_msg.tpl mx_poll_ballot.tpl mx_poll_result.tpl mx_statistics.tpl Log Message: Ok, massive update for 2.9.x. --- NEW FILE: mx_poll_ballot.tpl --- <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <tr> <td class="row1"><br clear="all" /> <form method="POST" action="{S_POLL_ACTION}"> <table cellspacing="0" cellpadding="4" border="0" align="center"> <tr> <td align="center"><span class="gen"><a href="{U_URL}"><b>{POLL_QUESTION}</b></a></span></td> </tr> <tr> <td align="center"> <table cellspacing="0" cellpadding="2" border="0"> <!-- BEGIN poll_option --> <tr> <td><input type="radio" name="{poll_option.VOTE_ID}" value="{poll_option.POLL_OPTION_ID}" /> </td> <td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td> </tr> <!-- END poll_option --> </table> </td> </tr> <tr> <td align="center"> <input type="submit" name="submit" value="{L_SUBMIT_VOTE}" class="liteoption" /> </td> </tr> <tr> <td align="center"><span class="gensmall"><b><a href="{U_VIEW_RESULTS}" class="gensmall">{L_VIEW_RESULTS}</a></b></span></td> </tr> </table>{S_HIDDEN_FIELDS} </form> </td> </tr> </table> --- NEW FILE: mx_last_msg.tpl --- <table width="{BLOCK_SIZE}" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <!-- BEGIN no_row --> <tr> <td class="row1" align="left" colspan="2">{no_row.L_NO_ITEMS}</td> </tr> <!-- END no_row --> <!-- BEGIN msg_row --> <tr> <td class="row2" align="center"> <span class="cattitle"> <img src="{msg_row.FOLDER_IMG}" width="19" height="18" alt="{msg_row.L_TOPIC_FOLDER_ALT}" title="{msg_row.L_TOPIC_FOLDER_ALT}" /> </span> </td> <td class="row1" align="{U_ALIGN}"> <span class="genmed"> <b><a href="{msg_row.U_LAST_MSG}" target="{U_TARGET}" title="{msg_row.LAST_MSG_ALT}" class="genmed">{msg_row.LAST_MSG}</a></b> </span><br /> <span class="gensmall"> <a href="{msg_row.U_FORUM}" target="{U_TARGET}" title="{msg_row.FORUM_NAME_ALT}" class="gensmall">{msg_row.FORUM_NAME}</a> </span> <div align="right"> <span class="gensmall" nowrap="nowrap"> {msg_row.LAST_MSG_DATE} </span> <span class="gensmall" nowrap="nowrap"> {msg_row.TOPIC_AUTHOR} {msg_row.LAST_POST_AUTHOR}{msg_row.LAST_POST_IMG} </span> </div> </td> </tr> <!-- END msg_row --> <tr valign="middle"> <td align="right" valign="top" nowrap="nowrap" colspan="2" height="28" class="cat"><span class="gensmall">{PAGINATION}</span></td> </tr> </table> --- NEW FILE: _core.cfg --- <?php /** * * @package mxBB Portal Module - mx_phpbb2blocks * @version $Id: _core.cfg,v 1.1 2007/09/09 16:53:02 jonohlsson Exp $ * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // ** Configuration file for subSilver template ** // // ** copyright (C) 2001 The phpBB Group ** // ** Created by subBlue design ** // ** www.subBlue.com ** // // ** subSilver dev. forum: www.subSky.com/phpBB2/ ** // // $Id: _core.cfg,v 1.1 2007/09/09 16:53:02 jonohlsson Exp $ // // Please note that to enable support of different languages // the {LANG} place holder is available. This will be replaced // with xxx where xxx is the users selected language. If // that language isn't available it will default to english. // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // // // Do not alter this line! // define(MX_TEMPLATE_CONFIG, TRUE); $mx_template_config = true; // ------------------------------------------------------------------------- // 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"; // ------------------------------------------------------------------------- // (Re)Define images // ------------------------------------------------------------------------- // // Last Message block // $mx_images['last_msg_folder'] = $images['folder']; $mx_images['last_msg_folder_new'] = $images['folder_new']; $mx_images['last_msg_folder_announce'] = $images['folder_announce']; $mx_images['last_msg_folder_announce_new'] = $images['folder_announce_new']; $mx_images['last_msg_folder_sticky'] = $images['folder_sticky']; $mx_images['last_msg_folder_sticky_new'] = $images['folder_sticky_new']; $mx_images['last_msg_folder_locked'] = $images['folder_locked']; $mx_images['last_msg_folder_locked_new'] = $images['folder_locked_new']; $mx_images['last_msg_folder_hot'] = $images['folder_hot']; $mx_images['last_msg_folder_hot_new'] = $images['folder_hot_new']; $mx_images['last_msg_icon_newest_reply'] = $images['icon_newest_reply']; $mx_images['last_msg_icon_latest_reply'] = $images['icon_latest_reply']; // // Announcement Block // $mx_images['mx_folder'] = $images['folder']; $mx_images['mx_folder_new'] = $images['folder_new']; $mx_images['mx_folder_announce'] = $images['folder_announce']; $mx_images['mx_folder_announce_new'] = $images['folder_announce_new']; $mx_images['mx_folder_sticky'] = $images['folder_sticky']; $mx_images['mx_folder_sticky_new'] = $images['folder_sticky_new']; $mx_images['mx_folder_locked'] = $images['folder_locked']; $mx_images['mx_folder_locked_new'] = $images['folder_locked_new']; $mx_images['mx_folder_hot'] = $images['folder_hot']; $mx_images['mx_folder_hot_new'] = $images['folder_hot_new']; $mx_images['mx_icon_newest_reply'] = $images['icon_newest_reply']; $mx_images['mx_icon_latest_reply'] = $images['icon_latest_reply']; // // Forum Block // $mx_images['mx_forum'] = $images['forum']; $mx_images['mx_forum_new'] = $images['forum_new']; $mx_images['mx_forum_locked'] = $images['forum_locked']; // // 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"; ?> --- NEW FILE: mx_statistics.tpl --- <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> --- NEW FILE: mx_forum.tpl --- <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <tr> <th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th> <th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th> <th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th> <th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th> </tr> <!-- BEGIN catrow --> <tr> <td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td> <td class="rowpic" colspan="3" align="right"> </td> </tr> <!-- BEGIN forumrow --> <tr> <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td> <td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /> </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br /> </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td> <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td> <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td> <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td> </tr> <!-- END forumrow --> <!-- END catrow --> </table> <table width="100%" cellspacing="0" border="0" align="center" cellpadding="2"> <tr> <td align="left"><span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span></td> <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td> </tr> </table> <br clear="all" /> <table cellspacing="3" border="0" align="center" cellpadding="0"> <tr> <td width="20" align="center"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}"/></td> <td><span class="gensmall">{L_NEW_POSTS}</span></td> <td> </td> <td width="20" align="center"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td> <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td> <td> </td> <td width="20" align="center"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td> <td><span class="gensmall">{L_FORUM_LOCKED}</span></td> </tr> </table> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: mx_announce.tpl --- <!-- BEGIN postrow --> <table width="100%" border="0" cellpadding="1" cellspacing="0" class="forumline" style="border-top:none;"> <tr> <td class="row1"> <table width="100%" border="0" cellpadding="2" cellspacing="1"> <tbody> <tr> <td class="row1"> <p> <a href="{postrow.U_TOPIC_URL}"> <img src="{postrow.IMAGE}" align="right" hspace="5" vspace="5" border="1" title="{postrow.TITLE}" alt="{postrow.TITLE}" /> </a> <a href="{postrow.U_LAST_POST_URL}" class="topictitle"> <img src="{postrow.FOLDER_IMG}" alt="{postrow.L_TOPIC_FOLDER_ALT}" title="{postrow.L_TOPIC_FOLDER_ALT}" border="0" align="absmiddle" /></a> <a href="{postrow.U_TOPIC_URL}" class="topictitle">{postrow.TITLE}</a> </p> <span class="postbody">{postrow.MESSAGE}</span> </td> </tr> </tbody> </table> </td> </tr> <tr> <td class="row1" width="100%" valign="top"> <table width="100%" border="0" cellpadding="2" cellspacing="1"> <tr> <td class="row2" align="center" valign="middle"><span class="gensmall">{postrow.L_AUTHOR}: <a href="{postrow.U_PROFILE_POSTER}">{postrow.POSTER_NAME}</a></span></td> <td class="row2" align="center" valign="middle"><span class="gensmall">{postrow.L_POSTED}:<br />{postrow.FIRST_POST_TIME}</span></td> <td class="row2" align="center" valign="middle"><span class="postdetails">{postrow.L_REPLIES}:<br />{postrow.REPLIES}</span></td> <td class="row2" align="center" valign="middle"><span class="postdetails">{postrow.L_VIEWS}:<br />{postrow.VIEWS}</span></td> <td class="row2" align="center" valign="middle"><span class="postdetails">{postrow.L_LASTPOST}:<br />{postrow.LAST_POST_TIME} {postrow.LAST_POST_AUTHOR} {postrow.LAST_POST_IMG}</span></td> </tr> </table> </td> </tr> </table> <br clear="all" /> <!-- END postrow --> --- NEW FILE: mx_poll_result.tpl --- <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <tr> <td class="row1"><br clear="all" /> <table cellspacing="0" cellpadding="4" border="0" align="center"> <tr> <td align="center"><span class="gen"><a href="{U_URL}"><b>{POLL_QUESTION}</b></a></span></td> </tr> <tr> <td align="center"> <table cellspacing="0" cellpadding="2" border="0"> <!-- BEGIN poll_option --> <tr> <td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td> </tr> <tr> <td> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><img src="{VOTE_LCAP}" width="4" alt="" height="12" /></td> <td><img src="{poll_option.POLL_OPTION_IMG}" width="{poll_option.POLL_OPTION_IMG_WIDTH}" height="12" alt="{poll_option.POLL_OPTION_PERCENT}" /></td> <td><img src="{VOTE_RCAP}" width="4" alt="" height="12" /></td> </tr> </table> </td> </tr> <tr> <td align="center"><span class="gensmall"> {poll_option.POLL_OPTION_PERCENT} [{poll_option.POLL_OPTION_RESULT}]</span></td> </tr> <!-- END poll_option --> </table> </td> </tr> <tr> <td align="center"><span class="gen"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></span></td> </tr> </table> <br clear="all" /> </td> </tr> </table> |