1.1 --- a/styles/cubometry-style/template/viewforum_body.html Sat Mar 10 00:18:56 2012 +0400
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,219 +0,0 @@
1.4 -<!-- INCLUDE overall_header.html -->
1.5 -<!-- IF U_MCP --><p>[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ENDIF -->
1.6 -<h2><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2>
1.7 -
1.8 -<!-- IF FORUM_DESC or MODERATORS or U_MCP -->
1.9 -<div>
1.10 - <!-- NOTE: remove the style="display: none" when you want to have the forum description on the forum body -->
1.11 - <!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF -->
1.12 - <!-- IF MODERATORS --><p><strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}</p><!-- ENDIF -->
1.13 -</div>
1.14 -<!-- ENDIF -->
1.15 -
1.16 -<!-- IF S_FORUM_RULES -->
1.17 - <div class="rules">
1.18 - <div class="inner"><span class="corners-top"><span></span></span>
1.19 -
1.20 - <!-- IF U_FORUM_RULES -->
1.21 - <a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
1.22 - <!-- ELSE -->
1.23 - <strong>{L_FORUM_RULES}</strong><br />
1.24 - {FORUM_RULES}
1.25 - <!-- ENDIF -->
1.26 -
1.27 - <span class="corners-bottom"><span></span></span></div>
1.28 - </div>
1.29 -<!-- ENDIF -->
1.30 -
1.31 -<!-- IF S_HAS_SUBFORUM -->
1.32 -<!-- IF not S_IS_BOT and U_MARK_FORUMS -->
1.33 -<ul class="linklist">
1.34 - <li class="rightside"><a href="{U_MARK_FORUMS}">{L_MARK_SUBFORUMS_READ}</a></li>
1.35 -</ul>
1.36 -<!-- ENDIF -->
1.37 - <!-- INCLUDE forumlist_body.html -->
1.38 -<!-- ENDIF -->
1.39 -
1.40 -<!-- IF S_DISPLAY_POST_INFO or PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
1.41 - <div class="topic-actions" <!-- IF S_HAS_SUBFORUM -->style="margin-top: 2em;"<!-- ENDIF -->>
1.42 -
1.43 - <!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
1.44 - <div class="buttons">
1.45 - <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
1.46 - </div>
1.47 - <!-- ENDIF -->
1.48 -
1.49 - <!-- IF S_DISPLAY_SEARCHBOX -->
1.50 - <div class="search-box">
1.51 - <form method="get" id="forum-search" action="{S_SEARCHBOX_ACTION}">
1.52 - <fieldset>
1.53 - <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_FORUM}" onclick="if (this.value == '{LA_SEARCH_FORUM}') this.value = '';" onblur="if (this.value == '') this.value = '{LA_SEARCH_FORUM}';" />
1.54 - <input class="button2" type="submit" value="{L_SEARCH}" />
1.55 - {S_SEARCH_LOCAL_HIDDEN_FIELDS}
1.56 - </fieldset>
1.57 - </form>
1.58 - </div>
1.59 - <!-- ENDIF -->
1.60 -
1.61 - <!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
1.62 - <div class="pagination">
1.63 - <!-- 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 -->
1.64 - <!-- IF PAGE_NUMBER -->
1.65 - <!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF -->
1.66 - <!-- ENDIF -->
1.67 - </div>
1.68 - <!-- ENDIF -->
1.69 -
1.70 - </div>
1.71 -<!-- ENDIF -->
1.72 -
1.73 -<!-- IF S_NO_READ_ACCESS -->
1.74 -
1.75 - <div class="panel">
1.76 - <div class="inner"><span class="corners-top"><span></span></span>
1.77 - <strong>{L_NO_READ_ACCESS}</strong>
1.78 - <span class="corners-bottom"><span></span></span></div>
1.79 - </div>
1.80 -
1.81 - <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
1.82 -
1.83 - <form action="{S_LOGIN_ACTION}" method="post">
1.84 -
1.85 - <div class="panel">
1.86 - <div class="inner"><span class="corners-top"><span></span></span>
1.87 -
1.88 - <div class="content">
1.89 - <h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
1.90 -
1.91 - <fieldset class="fields1">
1.92 - <dl>
1.93 - <dt><label for="username">{L_USERNAME}:</label></dt>
1.94 - <dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd>
1.95 - </dl>
1.96 - <dl>
1.97 - <dt><label for="password">{L_PASSWORD}:</label></dt>
1.98 - <dd><input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" /></dd>
1.99 - <!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="3" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
1.100 - <dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="4" /> {L_HIDE_ME}</label></dd>
1.101 - </dl>
1.102 - <dl>
1.103 - <dt> </dt>
1.104 - <dd><input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" /></dd>
1.105 - </dl>
1.106 - {S_LOGIN_REDIRECT}
1.107 - </fieldset>
1.108 - </div>
1.109 -
1.110 - <span class="corners-bottom"><span></span></span></div>
1.111 - </div>
1.112 -
1.113 - </form>
1.114 -
1.115 - <!-- ENDIF -->
1.116 -
1.117 -<!-- ENDIF -->
1.118 -
1.119 -<!-- BEGIN topicrow -->
1.120 -
1.121 - <!-- IF not topicrow.S_TOPIC_TYPE_SWITCH and not topicrow.S_FIRST_ROW -->
1.122 - </ul>
1.123 - <span class="corners-bottom"><span></span></span></div>
1.124 - </div>
1.125 - <!-- ENDIF -->
1.126 -
1.127 - <!-- IF topicrow.S_FIRST_ROW or not topicrow.S_TOPIC_TYPE_SWITCH -->
1.128 - <div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) --> announcement<!-- ENDIF -->">
1.129 - <div class="inner"><span class="corners-top"><span></span></span>
1.130 - <ul class="topiclist">
1.131 - <li class="header">
1.132 - <dl class="icon">
1.133 - <dt><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></dt>
1.134 - <dd class="posts">{L_REPLIES}</dd>
1.135 - <dd class="views">{L_VIEWS}</dd>
1.136 - <dd class="lastpost"><span>{L_LAST_POST}</span></dd>
1.137 - </dl>
1.138 - </li>
1.139 - </ul>
1.140 - <ul class="topiclist topics">
1.141 - <!-- ENDIF -->
1.142 -
1.143 - <li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
1.144 - <dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
1.145 - <dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="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>
1.146 - <!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
1.147 - <!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br />
1.148 - <!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF -->
1.149 - <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME}
1.150 - </dt>
1.151 - <dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
1.152 - <dd class="views">{topicrow.VIEWS} <dfn>{L_VIEWS}</dfn></dd>
1.153 - <dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}
1.154 - <!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{topicrow.LAST_POST_TIME}</span>
1.155 - </dd>
1.156 - </dl>
1.157 - </li>
1.158 -
1.159 - <!-- IF topicrow.S_LAST_ROW -->
1.160 - </ul>
1.161 - <span class="corners-bottom"><span></span></span></div>
1.162 - </div>
1.163 - <!-- ENDIF -->
1.164 -
1.165 -<!-- BEGINELSE -->
1.166 - <!-- IF S_IS_POSTABLE -->
1.167 - <div class="panel">
1.168 - <div class="inner"><span class="corners-top"><span></span></span>
1.169 - <strong>{L_NO_TOPICS}</strong>
1.170 - <span class="corners-bottom"><span></span></span></div>
1.171 - </div>
1.172 - <!-- ENDIF -->
1.173 -<!-- END topicrow -->
1.174 -
1.175 -<!-- IF S_SELECT_SORT_DAYS and not S_DISPLAY_ACTIVE -->
1.176 - <form method="post" action="{S_FORUM_ACTION}">
1.177 - <fieldset class="display-options">
1.178 - <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
1.179 - <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
1.180 - <!-- IF not S_IS_BOT -->
1.181 - <label>{L_DISPLAY_TOPICS}: {S_SELECT_SORT_DAYS}</label>
1.182 - <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label>
1.183 - <label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label>
1.184 - <!-- ENDIF -->
1.185 - </fieldset>
1.186 - </form>
1.187 - <hr />
1.188 -<!-- ENDIF -->
1.189 -
1.190 -<!-- IF .topicrow and not S_DISPLAY_ACTIVE -->
1.191 - <div class="topic-actions">
1.192 - <!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
1.193 - <div class="buttons">
1.194 - <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
1.195 - </div>
1.196 - <!-- ENDIF -->
1.197 -
1.198 - <!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
1.199 - <div class="pagination">
1.200 - <!-- IF TOTAL_TOPICS and not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a> • <!-- ENDIF -->
1.201 - <!-- IF TOTAL_POSTS and not NEWEST_USER --> {TOTAL_POSTS}<!-- ELSEIF TOTAL_TOPICS and not NEWEST_USER --> {TOTAL_TOPICS}<!-- ENDIF -->
1.202 - <!-- IF TOTAL_USERS -->{TOTAL_USERS}<!-- ENDIF -->
1.203 - <!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a>
1.204 - • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF -->
1.205 - </div>
1.206 - <!-- ENDIF -->
1.207 - </div>
1.208 -<!-- ENDIF -->
1.209 -
1.210 -<!-- INCLUDE jumpbox.html -->
1.211 -
1.212 -<!-- IF S_DISPLAY_ONLINE_LIST -->
1.213 - <h3><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></h3>
1.214 - <p>{LOGGED_IN_USER_LIST}</p>
1.215 -<!-- ENDIF -->
1.216 -
1.217 -<!-- IF S_DISPLAY_POST_INFO -->
1.218 - <h3>{L_FORUM_PERMISSIONS}</h3>
1.219 - <p><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></p>
1.220 -<!-- ENDIF -->
1.221 -
1.222 -<!-- INCLUDE overall_footer.html -->
1.223 \ No newline at end of file