mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +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
67 lines
3.2 KiB
HTML
67 lines
3.2 KiB
HTML
<!-- INCLUDE ucp_header.html -->
|
|
|
|
<h2>{L_TITLE}</h2>
|
|
|
|
<div class="panel">
|
|
<div class="inner">
|
|
|
|
<p>{L_UCP_WELCOME}</p>
|
|
|
|
<!-- IF .topicrow -->
|
|
<h3>{L_IMPORTANT_NEWS}</h3>
|
|
|
|
<ul class="topiclist cplist two-long-columns">
|
|
<!-- BEGIN topicrow -->
|
|
<li class="row<!-- IF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
|
<dl class="icon {topicrow.TOPIC_IMG_STYLE}">
|
|
<dt <!-- IF topicrow.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->>
|
|
<div class="list-inner">
|
|
<!-- IF topicrow.S_UNREAD --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a><br />
|
|
<!-- IF .topicrow.pagination -->
|
|
<div class="pagination">
|
|
<ul>
|
|
<!-- BEGIN pagination -->
|
|
<!-- IF topicrow.pagination.S_IS_PREV -->
|
|
<!-- ELSEIF topicrow.pagination.S_IS_CURRENT --><li class="active"><span>{topicrow.pagination.PAGE_NUMBER}</span></li>
|
|
<!-- ELSEIF topicrow.pagination.S_IS_ELLIPSIS --><li class="ellipsis"><span>{L_ELLIPSIS}</span></li>
|
|
<!-- ELSEIF topicrow.pagination.S_IS_NEXT -->
|
|
<!-- ELSE --><li><a href="{topicrow.pagination.PAGE_URL}">{topicrow.pagination.PAGE_NUMBER}</a></li>
|
|
<!-- ENDIF -->
|
|
<!-- END pagination -->
|
|
</ul>
|
|
</div>
|
|
<!-- ENDIF -->
|
|
<div class="responsive-hide">
|
|
<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->
|
|
{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME}
|
|
</div>
|
|
<div class="responsive-show" style="display: none;">
|
|
<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->
|
|
{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « <a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_TIME}</a>
|
|
</div>
|
|
</div>
|
|
</dt>
|
|
<dd class="lastpost"><span>{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}
|
|
<a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span>
|
|
</dd>
|
|
</dl>
|
|
</li>
|
|
<!-- END topicrow -->
|
|
</ul>
|
|
<!-- ENDIF -->
|
|
|
|
<h3>{L_YOUR_DETAILS}</h3>
|
|
|
|
<dl class="details">
|
|
<dt>{L_JOINED}{L_COLON}</dt> <dd>{JOINED}</dd>
|
|
<dt>{L_VISITED}{L_COLON}</dt> <dd>{LAST_VISIT_YOU}</dd>
|
|
<dt>{L_TOTAL_POSTS}{L_COLON}</dt> <dd><!-- IF POSTS_PCT -->{POSTS}<!-- IF S_DISPLAY_SEARCH --> | <strong><a href="{U_SEARCH_USER}">{L_SEARCH_YOUR_POSTS}</a></strong><!-- ENDIF --><br />({POSTS_DAY} / {POSTS_PCT})<!-- ELSE -->{POSTS}<!-- ENDIF --></dd>
|
|
<!-- IF ACTIVE_FORUM != '' --><dt>{L_ACTIVE_IN_FORUM}{L_COLON}</dt> <dd><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})</dd><!-- ENDIF -->
|
|
<!-- IF ACTIVE_TOPIC != '' --><dt>{L_ACTIVE_IN_TOPIC}{L_COLON}</dt> <dd><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})</dd><!-- ENDIF -->
|
|
<!-- IF WARNINGS --><dt>{L_YOUR_WARNINGS}{L_COLON}</dt> <dd class="error">{WARNING_IMG} [{WARNINGS}]</dd><!-- ENDIF -->
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- INCLUDE ucp_footer.html -->
|