Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/subsilver2 In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15857 Added Files: mx_activity_stats.html mx_announce.html mx_forum.html mx_last_msg.html mx_vieforum.html subsilver2.cfg Log Message: --- NEW FILE: mx_vieforum.html --- <!-- IF U_MCP --><p>[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ENDIF --> <h2><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2> <!-- IF FORUM_DESC or MODERATORS or U_MCP --> <p> <!-- NOTE: remove the style="display: none" when you wnat to have the forum description on the forum body --> <!-- IF FORUM_DESC --><span style="display: none">{FORUM_DESC}<br /></span><!-- ENDIF --> <!-- IF MODERATORS --><strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}<!-- ENDIF --> </p> <!-- ENDIF --> <!-- IF S_FORUM_RULES --> <div class="rules"> <div class="inner"><span class="corners-top"><span></span></span> <!-- IF U_FORUM_RULES --> <a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a> <!-- ELSE --> <strong>{L_FORUM_RULES}</strong><br /> {FORUM_RULES} <!-- ENDIF --> <span class="corners-bottom"><span></span></span></div> </div> <!-- ENDIF --> <!-- IF S_HAS_SUBFORUM --> <!-- IF not S_IS_BOT and U_MARK_FORUMS --> <ul class="linklist"> <li class="rightside"><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a></li> </ul> <!-- ENDIF --> <!-- INCLUDE forumlist_body.html --> <!-- ENDIF --> <!-- IF S_DISPLAY_POST_INFO or PAGINATION or TOTAL_POSTS or TOTAL_TOPICS --> <div class="topic-actions" <!-- IF S_HAS_SUBFORUM -->style="margin-top: 2em;"<!-- ENDIF -->> <!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO --> <div class="buttons"> <div class="post-icon"><a href="{U_POST_NEW_TOPIC}" accesskey="n"><span>{L_POST_TOPIC}</span></a></div> </div> <!-- ENDIF --> <!-- IF S_DISPLAY_SEARCHBOX --> <div class="search-box"> <form method="post" id="forum-search" action="{S_SEARCHBOX_ACTION}"> <fieldset> <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_FORUM}" onclick="if (this.value == '{L_SEARCH_FORUM}') this.value = '';" onblur="if (this.value == '') this.value = '{L_SEARCH_FORUM}';" /> <input class="button2" type="submit" value="{L_SEARCH}" /> <input type="hidden" value="{FORUM_ID}" name="fid[]" /> </fieldset> </form> </div> <!-- ENDIF --> <!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS --> <div class="pagination"> <!-- IF not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}" accesskey="m">{L_MARK_TOPICS_READ}</a> • <!-- ENDIF --><!-- IF TOTAL_TOPICS -->{TOTAL_TOPICS}<!-- ENDIF --> <!-- IF PAGE_NUMBER --> <!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --> <!-- ENDIF --> </div> <!-- ENDIF --> </div> <!-- ENDIF --> <!-- IF S_NO_READ_ACCESS --> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <strong>{L_NO_READ_ACCESS}</strong> <span class="corners-bottom"><span></span></span></div> </div> <!-- IF not S_USER_LOGGED_IN --> <form action="{S_LOGIN_ACTION}" method="post"> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <div class="content"> <h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a> • <a href="{U_REGISTER}">{L_REGISTER}</a></h3> <fieldset class="fields1"> <dl> <dt><label for="username">{L_USERNAME}:</label></dt> <dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd> </dl> <dl> <dt><label for="password">{L_PASSWORD}:</label></dt> <dd><input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" /></dd> <!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="3" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF --> <dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="4" /> {L_HIDE_ME}</label></dd> </dl> <dl> <dt> </dt> <dd><input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" /></dd> </dl> </fieldset> </div> <span class="corners-bottom"><span></span></span></div> </div> <!-- ENDIF --> <!-- ENDIF --> <!-- BEGIN topicrow --> <!-- IF not topicrow.S_TOPIC_TYPE_SWITCH and not topicrow.S_FIRST_ROW --> </ul> <span class="corners-bottom"><span></span></span></div> </div> <!-- ENDIF --> <!-- IF topicrow.S_FIRST_ROW or not topicrow.S_TOPIC_TYPE_SWITCH --> <div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH --> announcement<!-- ENDIF -->"> <div class="inner"><span class="corners-top"><span></span></span> <ul class="topiclist"> <li class="header"> <dl class="icon"> <dt><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and topicrow.S_TOPIC_TYPE gt 1 -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></dt> <dd class="posts">{L_REPLIES}</dd> <dd class="views">{L_VIEWS}</dd> <dd class="lastpost"><span>{L_LAST_POST}</span></dd> </dl> </li> </ul> <ul class="topiclist topics"> <!-- ENDIF --> <li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->"> <dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;"> <dt style="<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS -->background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;<!-- ENDIF -->" title="{topicrow.TOPIC_FOLDER_IMG_ALT}"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a 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 --><br /> <!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF --> <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} {L_POSTED_ON_DATE} {topicrow.FIRST_POST_TIME} </dt> <dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd> <dd class="views">{topicrow.VIEWS} <dfn>{L_VIEWS}</dfn></dd> <dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{L_POSTED_ON_DATE} {topicrow.LAST_POST_TIME}</span> </dd> </dl> </li> <!-- IF topicrow.S_LAST_ROW --> </ul> <span class="corners-bottom"><span></span></span></div> </div> <!-- ENDIF --> <!-- BEGINELSE --> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <strong>{L_NO_TOPICS}</strong> <span class="corners-bottom"><span></span></span></div> </div> <!-- END topicrow --> <!-- IF S_SELECT_SORT_DAYS and not S_DISPLAY_ACTIVE --> <form method="post" action="{S_FORUM_ACTION}"> <fieldset class="display-options"> <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF --> <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF --> <label>{L_DISPLAY_TOPICS}: {S_SELECT_SORT_DAYS}</label> <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label> <label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label> </fieldset> </form> <hr /> <!-- ENDIF --> <!-- IF .topicrow and not S_DISPLAY_ACTIVE --> <div class="topic-actions"> <!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO --> <div class="buttons"> <div class="post-icon"><a href="{U_POST_NEW_TOPIC}"><span>{L_POST_TOPIC}</span></a></div> </div> <!-- ENDIF --> <!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS --> <div class="pagination"> <!-- IF TOTAL_TOPICS and not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a> • <!-- ENDIF --> <!-- IF TOTAL_POSTS and not NEWEST_USER --> {TOTAL_POSTS}<!-- ELSEIF TOTAL_TOPICS and not NEWEST_USER --> {TOTAL_TOPICS}<!-- ENDIF --> <!-- IF TOTAL_USERS -->{TOTAL_USERS}<!-- ENDIF --> <!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --> </div> <!-- ENDIF --> </div> <!-- ENDIF --> <!-- INCLUDE jumpbox.html --> <!-- IF S_DISPLAY_ONLINE_LIST --> <h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3> <p>{LOGGED_IN_USER_LIST}</p> <!-- ENDIF --> <!-- IF S_DISPLAY_POST_INFO --> <h3>{L_FORUM_PERMISSIONS}</h3> <p><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></p> <!-- ENDIF --> --- NEW FILE: mx_forum.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_announce.html --- <!-- BEGIN postrow --> <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> <dl class="textbody"> <dt> <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> </dt> </dl> </div> </div> <div id="p1" class="post bg2 online"> <div class="inner"><span class="corners-top"><span></span></span> <ul class="topiclist"> <li class="header"></li> </ul> <dl class="textbody"> <dt style="vertical-align:middle; text-align:center;"><span class="gensmall">{postrow.L_AUTHOR}: {postrow.POSTER_FULL}</span></dt> <dt style="vertical-align:middle; text-align:center;"><span class="gensmall">{postrow.L_POSTED}:<br />{postrow.FIRST_POST_TIME}</span></dt> <dt style="vertical-align:middle; text-align:center;"><span class="postdetails">{postrow.L_REPLIES}:<br />{postrow.REPLIES}</span></dt> <dt style="vertical-align:middle; text-align:center;"><span class="postdetails">{postrow.L_VIEWS}:<br />{postrow.VIEWS}</span></dt> <dt style="vertical-align:middle; text-align:center;"><span class="postdetails">{postrow.L_LASTPOST}:<br />{postrow.LAST_POST_TIME} {postrow.LAST_POST_AUTHOR} {postrow.LAST_POST_IMG}</span></dt> </dl> </div> </div> <span class="corners-bottom"><span></span></span> </div> <br clear="all" /> <!-- END postrow --> --- NEW FILE: mx_activity_stats.html --- <!-- IF S_DISPLAY_ONLINE_LIST --> <!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF --> <p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST} <!-- IF not S_IS_BOT --><br /><br /> {USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit --> <!-- ENDIF --> <!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p> <!-- ENDIF --> <!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST --> <h3>{L_BIRTHDAYS}</h3> <p><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p> <!-- ENDIF --> <!-- IF NEWEST_USER --> <h3>{L_STATISTICS}</h3> <p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p> <!-- IF not S_IS_BOT --> <h3 id="24hour_stats">{L_24HOUR_STATS}</h3> <p>{24HOUR_POSTS} • {24HOUR_TOPICS} • {24HOUR_USERS}</p> <!-- ENDIF --> <!-- ENDIF --> --- NEW FILE: mx_last_msg.html --- <div class="forabg block"> <div class="inner"> <ul class="topiclist forums"> <!-- BEGIN no_row --> <li class="row bg1">{no_row.L_NO_ITEMS}</li> <!-- END no_row --> <!-- BEGIN msg_row --> <li class="row<!-- IF msg_row.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF msg_row.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF msg_row.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF msg_row.S_TOPIC_REPORTED --> reported<!-- ENDIF -->"> <dl class="icon" style="width:100%"> <dt style="background: transparent url('{msg_row.FOLDER_IMG}') no-repeat 3px 50%;padding-left: 40px;width:75%"> <a href="{msg_row.U_LAST_MSG}" class="topictitle">{msg_row.LAST_MSG}</a> <br /> <span class="gensmall"><a href="{msg_row.U_FORUM}" title="{msg_row.FORUM_NAME_ALT}" class="gensmall">{msg_row.FORUM_NAME}</a></span> </dt> <dd class="lastpost" nowrap="nowrap" style=" white-space:nowrap;clear:both;width:99%;text-align:right;padding-right:5px;border-left: none"> {msg_row.LAST_MSG_DATE} <br /> {msg_row.TOPIC_AUTHOR_FULL} {msg_row.LAST_POSTER_FULL} </dd> </dl> </li> <!-- END msg_row --> </ul> </div> <div class="bg1">{PAGINATION}</div> <span class="corners-bottom"><span></span></span> </div> --- NEW FILE: subsilver2.cfg --- <?php /** * * @package MX-Publisher Module - mx_phpbb3blocks * @version $Id: subsilver2.cfg,v 1.3 2013/06/25 18:16:57 orynider Exp $ * @copyright (c) 2002-2008 MX-Publisher 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: subsilver2.cfg,v 1.3 2013/06/25 18:16:57 orynider 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); $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"; // ------------------------------------------------------------------------- // (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']; // Announce Pics $mx_images['mx_reply'] = "$current_module_images/post_comment.png"; $mx_images['mx_post_print'] = "$current_module_images/post_print.png"; $mx_images['mx_view'] = "$current_module_images/post_view.png"; // // 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_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"; ?> |