mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
Subforums handling part 2, it almost works. Also added: the "Explain" link at the bottom page, can be removed easily before official release if necessary.
git-svn-id: file:///svn/phpbb/trunk@2913 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -4,7 +4,11 @@
|
||||
<tr>
|
||||
<td width="100%" align="left" valign="bottom"><table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="bottom"><p><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span></p><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
|
||||
<td align="left" valign="bottom"><p><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span></p><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a>
|
||||
<!-- BEGIN navlinks -->
|
||||
-> <a class="nav" href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a>
|
||||
<!-- END navlinks -->
|
||||
</span></td>
|
||||
<td align="right" class="gensmall" valign="bottom"><!-- IF S_USER_LOGGED_IN --><a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br /><!-- ENDIF --><a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br /><br /><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<br /><!-- ENDIF -->{CURRENT_TIME}</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
@@ -13,37 +17,63 @@
|
||||
|
||||
<table class="forumline" width="100%" cellspacing="1" cellpadding="2" border="0">
|
||||
<tr>
|
||||
<th class="thCornerL" colspan="2" height="25" nowrap="nowrap"> {L_FORUM} </th>
|
||||
<th class="thCornerL" colspan="3" height="25" nowrap="nowrap"> {L_FORUM} </th>
|
||||
<th class="thTop" width="50" nowrap="nowrap"> {L_TOPICS} </th>
|
||||
<th class="thTop" width="50" nowrap="nowrap"> {L_POSTS} </th>
|
||||
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
|
||||
<th class="thTop" nowrap="nowrap"> {L_LASTPOST} </th>
|
||||
<th class="thCornerR"> {L_MODERATORS} </th>
|
||||
</tr>
|
||||
<!-- BEGIN forumrow -->
|
||||
<!-- IF forumrow.S_IS_CAT -->
|
||||
<tr>
|
||||
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{forumrow.U_VIEWCAT}" class="cattitle">{forumrow.CAT_NAME}</a></span></td>
|
||||
<td class="rowpic" colspan="3" align="right"> </td>
|
||||
<td class="catLeft" colspan="3" height="28"><span class="cattitle"><a href="{forumrow.U_VIEWCAT}" class="cattitle">{forumrow.CAT_NAME}</a></span></td>
|
||||
<td class="rowpic" colspan="4" align="right"> </td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF forumrow.S_IS_ROOTFORUM -->
|
||||
<tr>
|
||||
<td class="row1" width="50" height="50" align="center" valign="middle">{forumrow.FORUM_FOLDER_IMG}</td>
|
||||
<td class="row1" width="100%" height="50"><span class="forumlink"><a href="{forumrow.U_VIEWFORUM}" class="forumlink">{forumrow.FORUM_NAME}</a><br /></span> <span class="genmed">{forumrow.FORUM_DESC}<br /></span>
|
||||
<!-- IF forumrow.MODERATORS -->
|
||||
<span class="gensmall">{forumrow.L_MODERATOR} {forumrow.MODERATORS}</span><br />
|
||||
<!-- ENDIF -->
|
||||
<tr>
|
||||
<td class="row1" colspan="2" width="50" height="50" align="center" valign="middle">{forumrow.FORUM_FOLDER_IMG}</td>
|
||||
<td class="row1" width="100%" height="50"><span class="forumlink"><a href="{forumrow.U_VIEWFORUM}" class="forumlink">{forumrow.FORUM_NAME}</a><br /></span> <span class="genmed">{forumrow.FORUM_DESC}</span><br />
|
||||
<!-- IF forumrow.SUBFORUMS -->
|
||||
<span class="gensmall">{forumrow.L_SUBFORUM} {forumrow.SUBFORUMS}</span>
|
||||
<span class="gensmall"><b>{forumrow.L_SUBFORUM}</b> {forumrow.SUBFORUMS}</span>
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
</td>
|
||||
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{forumrow.TOPICS}</span></td>
|
||||
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{forumrow.POSTS}</span></td>
|
||||
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{forumrow.LAST_POST}</span></td>
|
||||
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{forumrow.MODERATORS}</span></td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF forumrow.S_IS_FORUM -->
|
||||
<tr>
|
||||
<td class="spaceRow" width="8"></td>
|
||||
<td class="row1" width="50" height="50" align="center" valign="middle">{forumrow.FORUM_FOLDER_IMG}</td>
|
||||
<td class="row1" width="100%" height="50"><span class="forumlink"><a href="{forumrow.U_VIEWFORUM}" class="forumlink">{forumrow.FORUM_NAME}</a><br /></span> <span class="genmed">{forumrow.FORUM_DESC}</span><br />
|
||||
<!-- IF forumrow.SUBFORUMS -->
|
||||
<span class="gensmall"><b>{forumrow.L_SUBFORUM}</b> {forumrow.SUBFORUMS}</span>
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{forumrow.TOPICS}</span></td>
|
||||
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{forumrow.POSTS}</span></td>
|
||||
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{forumrow.LAST_POST}</span></td>
|
||||
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{forumrow.MODERATORS}</span></td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF forumrow.S_IS_SUBCAT -->
|
||||
<tr>
|
||||
<td class="spaceRow" width="8"></td>
|
||||
<td class="row1" width="50" height="50" align="center" valign="middle">{forumrow.FORUM_FOLDER_IMG}</td>
|
||||
<td class="row1" width="100%" height="50"><span class="forumlink"><a href="{forumrow.U_VIEWFORUM}" class="forumlink">{forumrow.FORUM_NAME}</a><br /></span> <span class="genmed">{forumrow.FORUM_DESC}</span><br />
|
||||
<!-- IF forumrow.SUBFORUMS -->
|
||||
<span class="gensmall"><b>{forumrow.L_SUBFORUM}</b> {forumrow.SUBFORUMS}</span>
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
<td class="row2" colspan="4"> </td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- BEGINELSE -->
|
||||
<tr>
|
||||
<td class="row1" colspan="5" height="28" align="center"><span class="gen">{L_NO_FORUMS}</span></td>
|
||||
<td class="row1" colspan="7" height="28" align="center"><span class="gen">{L_NO_FORUMS}</span></td>
|
||||
</tr>
|
||||
<!-- END forumrow -->
|
||||
</table>
|
||||
|
@@ -11,7 +11,11 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50" align="left" valign="middle"><a href="{U_POST_NEW_TOPIC}"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a></a></td>
|
||||
<td class="nav" width="100%" align="left" valign="middle"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
|
||||
<td class="nav" width="100%" align="left" valign="middle"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a>
|
||||
<!-- BEGIN navlinks -->
|
||||
-> <a class="nav" href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a>
|
||||
<!-- END navlinks -->
|
||||
</span></td>
|
||||
<td class="nav" align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -21,9 +25,9 @@
|
||||
<th class="thCornerL" colspan="3" height="25" align="center" nowrap="nowrap"> {L_TOPICS} </th>
|
||||
<th class="thTop" width="100" align="center" nowrap="nowrap"> {L_AUTHOR} </th>
|
||||
<th class="thTop" width="50" align="center" nowrap="nowrap"> {L_REPLIES} </th>
|
||||
<th width="50" align="center" nowrap="nowrap"> {L_VIEWS} </th>
|
||||
<th class="thTop" width="50" align="center" nowrap="nowrap"> {L_VIEWS} </th>
|
||||
<th class="thTop" align="center" nowrap="nowrap"> {L_LASTPOST} </th>
|
||||
<th class="thCornerR">Rating</th>
|
||||
<th class="thCornerR" align="center" nowrap="nowrap"> {L_RATING} </th>
|
||||
</tr>
|
||||
<!-- BEGIN topicrow -->
|
||||
<tr>
|
||||
@@ -49,7 +53,11 @@
|
||||
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
|
||||
<tr>
|
||||
<td align="left" width="50" valign="middle"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a></td>
|
||||
<td align="left" width="100%" valign="middle"><span class="nav"> <a class="nav" href="{U_INDEX}">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
|
||||
<td class="nav" width="100%" align="left" valign="middle"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a>
|
||||
<!-- BEGIN navlinks -->
|
||||
-> <a class="nav" href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a>
|
||||
<!-- END navlinks -->
|
||||
</span></td>
|
||||
<td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user