mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-31 11:39:37 +02: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
106 lines
4.2 KiB
HTML
106 lines
4.2 KiB
HTML
<!-- INCLUDE ucp_header.html -->
|
|
|
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
|
|
|
<h2>{L_TITLE}</h2>
|
|
|
|
<div class="panel">
|
|
<div class="inner">
|
|
|
|
<p>{L_BOOKMARKS_EXPLAIN}</p>
|
|
|
|
<!-- IF S_NO_DISPLAY_BOOKMARKS -->
|
|
<p class="error">{L_BOOKMARKS_DISABLED}</p>
|
|
<!-- ELSE -->
|
|
|
|
<!-- IF .topicrow -->
|
|
<ul class="topiclist missing-column">
|
|
<li class="header">
|
|
<dl class="icon">
|
|
<dt><div class="list-inner">{L_BOOKMARKS}</div></dt>
|
|
<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
|
|
<dd class="mark">{L_MARK}</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<ul class="topiclist cplist missing-column">
|
|
|
|
<!-- BEGIN topicrow -->
|
|
<li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
|
<!-- IF topicrow.S_DELETED_TOPIC -->
|
|
<dl>
|
|
<dt><div class="list-inner"><strong>{L_DELETED_TOPIC}</strong></div></dt>
|
|
<dd class="lastpost"><span> </span></dd>
|
|
<dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd>
|
|
</dl>
|
|
<!-- ELSE -->
|
|
<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 --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
|
|
<div class="list-inner">
|
|
<!-- 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 -->
|
|
<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><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 />{topicrow.LAST_POST_TIME}</span>
|
|
</dd>
|
|
<dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd>
|
|
</dl>
|
|
<!-- ENDIF -->
|
|
</li>
|
|
<!-- END topicrow -->
|
|
</ul>
|
|
<ul class="linklist">
|
|
<li class="rightside pagination">
|
|
<!-- IF TOTAL_TOPICS --> {TOTAL_TOPICS} • <!-- ENDIF -->
|
|
<!-- IF .pagination -->
|
|
<!-- INCLUDE pagination.html -->
|
|
<!-- ELSE -->
|
|
{PAGE_NUMBER}
|
|
<!-- ENDIF -->
|
|
</li>
|
|
</ul>
|
|
<!-- ELSE -->
|
|
<p><strong>{L_NO_BOOKMARKS}</strong></p>
|
|
<!-- ENDIF -->
|
|
|
|
<!-- ENDIF -->
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- IF .topicrow and not S_NO_DISPLAY_BOOKMARKS -->
|
|
<fieldset class="display-actions">
|
|
<input type="submit" name="unbookmark" value="{L_REMOVE_BOOKMARK_MARKED}" class="button2" />
|
|
<div><a href="#" onclick="marklist('ucp', '', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('ucp', '', false); return false;">{L_UNMARK_ALL}</a></div>
|
|
{S_FORM_TOKEN}
|
|
</fieldset>
|
|
<!-- ENDIF -->
|
|
</form>
|
|
|
|
<!-- INCLUDE ucp_footer.html -->
|