mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Changes behavior of topiclist lists on mobile devices. Shows/hides certain elements in each row to present all important information to visitor on mobile devices, such as last post when viewing forum instead of first post. Also fixes topiclist layout bug in drafts.html PHPBB3-11956
94 lines
3.9 KiB
HTML
94 lines
3.9 KiB
HTML
|
|
<!-- BEGIN forumrow -->
|
|
<!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT -->
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
<!-- ENDIF -->
|
|
|
|
<!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT -->
|
|
<div class="forabg">
|
|
<div class="inner">
|
|
<ul class="topiclist">
|
|
<li class="header">
|
|
<dl class="icon">
|
|
<dt><div class="list-inner"><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></div></dt>
|
|
<dd class="topics">{L_TOPICS}</dd>
|
|
<dd class="posts">{L_POSTS}</dd>
|
|
<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<ul class="topiclist forums">
|
|
<!-- ENDIF -->
|
|
|
|
<!-- IF not forumrow.S_IS_CAT -->
|
|
<li class="row">
|
|
<dl class="icon {forumrow.FORUM_IMG_STYLE}">
|
|
<dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">
|
|
<div class="list-inner">
|
|
<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF -->
|
|
|
|
<!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF -->
|
|
<a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br />
|
|
{forumrow.FORUM_DESC}
|
|
<!-- IF forumrow.MODERATORS -->
|
|
<br /><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS}
|
|
<!-- ENDIF -->
|
|
<!-- IF .forumrow.subforum and forumrow.S_LIST_SUBFORUMS -->
|
|
<br /><strong>{forumrow.L_SUBFORUM_STR}</strong>
|
|
<!-- BEGIN subforum -->
|
|
<a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.UNREAD -->{L_UNREAD_POSTS}<!-- ELSE -->{L_NO_UNREAD_POSTS}<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->,<!-- ENDIF -->
|
|
<!-- END subforum -->
|
|
<!-- ENDIF -->
|
|
|
|
<!-- IF not S_IS_BOT -->
|
|
<div class="responsive-show" style="display: none;">
|
|
<!-- IF forumrow.CLICKS -->
|
|
{L_REDIRECTS}{L_COLON} <strong>{forumrow.CLICKS}</strong>
|
|
<!-- ELSEIF not forumrow.S_IS_LINK and forumrow.TOPICS -->
|
|
{L_TOPICS}{L_COLON} <strong>{forumrow.TOPICS}</strong>
|
|
<!-- ENDIF -->
|
|
</div>
|
|
<!-- ENDIF -->
|
|
</div>
|
|
</dt>
|
|
<!-- IF forumrow.CLICKS -->
|
|
<dd class="redirect"><span>{L_REDIRECTS}{L_COLON} {forumrow.CLICKS}</span></dd>
|
|
<!-- ELSEIF not forumrow.S_IS_LINK -->
|
|
<dd class="topics">{forumrow.TOPICS} <dfn>{L_TOPICS}</dfn></dd>
|
|
<dd class="posts">{forumrow.POSTS} <dfn>{L_POSTS}</dfn></dd>
|
|
<dd class="lastpost"><span>
|
|
<!-- IF forumrow.U_UNAPPROVED_TOPICS -->
|
|
<a href="{forumrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a>
|
|
<!-- ELSEIF forumrow.U_UNAPPROVED_POSTS -->
|
|
<a href="{forumrow.U_UNAPPROVED_POSTS}">{UNAPPROVED_POST_IMG}</a>
|
|
<!-- ENDIF -->
|
|
<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn>
|
|
<!-- IF forumrow.S_DISPLAY_SUBJECT -->
|
|
<!-- EVENT forumlist_body_last_post_title_prepend -->
|
|
<a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}" class="lastsubject">{forumrow.LAST_POST_SUBJECT_TRUNCATED}</a> <br />
|
|
<!-- ENDIF -->
|
|
{L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}
|
|
<!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<br /> <!-- ENDIF --></span>
|
|
</dd>
|
|
<!-- ENDIF -->
|
|
</dl>
|
|
</li>
|
|
<!-- ENDIF -->
|
|
|
|
<!-- IF forumrow.S_LAST_ROW -->
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
<!-- ENDIF -->
|
|
|
|
<!-- BEGINELSE -->
|
|
<div class="panel">
|
|
<div class="inner">
|
|
<strong>{L_NO_FORUMS}</strong>
|
|
</div>
|
|
</div>
|
|
<!-- END forumrow -->
|