|
From: Jon O. <jon...@us...> - 2007-09-09 16:53:44
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11517/subSilver Added Files: mx_forum.html mx_viewforum.html subSilver.cfg Log Message: Ok, massive update for 2.9.x. --- NEW FILE: subSilver.cfg --- <?php /** * * @package mxBB Portal Module - mx_phpbb3blocks * @version $Id: subSilver.cfg,v 1.1 2007/09/09 16:53:40 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: subSilver.cfg,v 1.1 2007/09/09 16:53:40 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_viewforum.html --- <!-- IF S_HAS_SUBFORUM --> <!-- INCLUDE forumlist_body.html --> <br clear="all" /> <!-- ENDIF --> <div id="pagecontent"> <table class="tablebg" width="100%" cellspacing="1"> <tr> <td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"> <table width="100%" cellspacing="0"> <tr class="nav"> <td valign="middle"> <!-- IF S_WATCH_FORUM_LINK and not S_IS_BOT --><a href="{S_WATCH_FORUM_LINK}">{S_WATCH_FORUM_TITLE}</a><!-- ENDIF --></td> <td align="{S_CONTENT_FLOW_END}" valign="middle"><!-- IF not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a><!-- ENDIF --> </td> </tr> </table> </td> </tr> <tr> <!-- IF S_TOPIC_ICONS --> <th colspan="3"> {L_TOPICS} </th> <!-- ELSE --> <th colspan="2"> {L_TOPICS} </th> <!-- ENDIF --> <th> {L_AUTHOR} </th> <th> {L_REPLIES} </th> <th> {L_VIEWS} </th> <th> {L_LAST_POST} </th> </tr> <!-- BEGIN topicrow --> <!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 --> <tr> <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_ANNOUNCEMENTS}</b></td> </tr> <!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH eq 0 --> <tr> <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_TOPICS}</b></td> </tr> <!-- ENDIF --> <tr> <td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td> <!-- IF S_TOPIC_ICONS --> <td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td> <!-- ENDIF --> <td class="row1"> <!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF --> {topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> <!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --> <a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF --> <!-- IF topicrow.S_TOPIC_REPORTED --> <a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a> <!-- ENDIF --> <!-- IF topicrow.PAGINATION --> <p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p> <!-- ENDIF --> </td> <td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.TOPIC_AUTHOR_FULL}</p></td> <td class="row1" width="50" align="center"><p class="topicdetails">{topicrow.REPLIES}</p></td> <td class="row2" width="50" align="center"><p class="topicdetails">{topicrow.VIEWS}</p></td> <td class="row1" width="140" align="center"> <p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p> <p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL} <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> </p> </td> </tr> <!-- BEGINELSE --> <tr> <!-- IF S_TOPIC_ICONS --> <td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td> <!-- ELSE --> <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td> <!-- ENDIF --> </tr> <!-- END topicrow --> <br clear="all" /> </div> <br clear="all" /> --- NEW FILE: mx_forum.html --- <table class="tablebg" cellspacing="1" width="100%"> <tr> <td class="cat" colspan="5" align="{S_CONTENT_FLOW_END}"><!-- IF not S_IS_BOT and U_MARK_FORUMS --><a class="nav" href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a><!-- ENDIF --> </td> </tr> <tr> <th colspan="2"> {L_FORUM} </th> <th width="50"> {L_TOPICS} </th> <th width="50"> {L_POSTS} </th> <th> {L_LAST_POST} </th> </tr> <!-- BEGIN forumrow --> <!-- IF forumrow.S_IS_CAT --> <tr> <td class="cat" colspan="2"><h4><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></td> <td class="catdiv" colspan="3"> </td> </tr> <!-- ELSEIF forumrow.S_IS_LINK --> <tr> <td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td> <td class="row1"> <!-- IF forumrow.FORUM_IMAGE --> <div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- ENDIF --> <a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a> <p class="forumdesc">{forumrow.FORUM_DESC}</p> <!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF --> </td> <!-- IF forumrow.CLICKS --> <td class="row2" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td> <!-- ELSE --> <td class="row2" colspan="3" align="center"> </td> <!-- ENDIF --> </tr> <!-- ELSE --> <!-- IF forumrow.S_NO_CAT --> <tr> <td class="cat" colspan="2"><h4>{L_FORUM}</h4></td> <td class="catdiv" colspan="3"> </td> </tr> <!-- ENDIF --> <tr> <td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td> <td class="row1" width="100%"> <!-- IF forumrow.FORUM_IMAGE --> <div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- ENDIF --> <a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a> <p class="forumdesc">{forumrow.FORUM_DESC}</p> <!-- IF forumrow.MODERATORS --> <p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p> <!-- ENDIF --> <!-- IF forumrow.SUBFORUMS --> <p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p> <!-- ENDIF --> <!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF --> </td> <td class="row2" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td> <td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td> <td class="row2" align="center" nowrap="nowrap"> <!-- IF forumrow.LAST_POST_TIME --> <p class="topicdetails">{forumrow.LAST_POST_TIME}</p> <p class="topicdetails">{forumrow.LAST_POSTER_FULL} <a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> </p> <!-- ELSE --> <p class="topicdetails">{L_NO_POSTS}</p> <!-- ENDIF --> </td> </tr> <!-- ENDIF --> <!-- BEGINELSE --> <tr> <td class="row1" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td> </tr> <!-- END forumrow --> </table> |