mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17459] Move mark forums read to quick links
PHPBB-17459
This commit is contained in:
parent
23010abcb8
commit
2d392791ad
3 changed files with 17 additions and 8 deletions
|
@ -953,11 +953,19 @@ index_body_forumlist_body_after
|
|||
* Since: 3.1.1
|
||||
* Purpose: Add content after the forum list body on the index page
|
||||
|
||||
index_body_forumlist_body_before
|
||||
===
|
||||
* Locations:
|
||||
+ styles/prosilver/template/index_body.html
|
||||
* Since: 4.0.0-a1
|
||||
* Purpose: Add content before the forum list body on the index page
|
||||
|
||||
index_body_markforums_after
|
||||
===
|
||||
* Locations:
|
||||
+ styles/prosilver/template/index_body.html
|
||||
* Since: 3.1.0-RC2
|
||||
* Deprecated: 4.0.0-a1 Use index_body_forumlist_body_before instead
|
||||
* Purpose: Add content after the mark-read link above the forum list on Board index
|
||||
|
||||
index_body_markforums_before
|
||||
|
@ -965,6 +973,7 @@ index_body_markforums_before
|
|||
* Locations:
|
||||
+ styles/prosilver/template/index_body.html
|
||||
* Since: 3.1.0-RC2
|
||||
* Deprecated: 4.0.0-a1 Use index_body_forumlist_body_before instead
|
||||
* Purpose: Add content before the mark-read link above the forum list on Board index
|
||||
|
||||
index_body_stat_blocks_after
|
||||
|
|
|
@ -1,15 +1,8 @@
|
|||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<p class="{S_CONTENT_FLOW_END} responsive-center time<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p>
|
||||
<!-- IF S_USER_LOGGED_IN --><p class="responsive-center time">{CURRENT_TIME}</p><!-- ENDIF -->
|
||||
|
||||
<!-- EVENT index_body_markforums_before -->
|
||||
<!-- IF U_MARK_FORUMS -->
|
||||
<div class="action-bar compact">
|
||||
<a href="{U_MARK_FORUMS}" class="mark-read rightside" accesskey="m" data-ajax="mark_forums_read">{L_MARK_FORUMS_READ}</a>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT index_body_markforums_after -->
|
||||
<!-- EVENT index_body_forumlist_body_before -->
|
||||
|
||||
<!-- INCLUDE forumlist_body.html -->
|
||||
|
||||
|
|
|
@ -44,6 +44,13 @@
|
|||
{{ Icon('font', 'file-lines', lang('SEARCH_ACTIVE_TOPICS'), false, 'far icon icon-blue') }}
|
||||
</a>
|
||||
</li>
|
||||
{% if U_MARK_FORUMS %}
|
||||
<li>
|
||||
<a href="{{ U_MARK_FORUMS }}" role="menuitem" accesskey="m" data-ajax="mark_forums_read">
|
||||
{{ Icon('font', 'book-open-reader', lang('MARK_FORUMS_READ'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="separator"></li>
|
||||
<li>
|
||||
<a href="{{ U_SEARCH }}" role="menuitem">
|
||||
|
|
Loading…
Add table
Reference in a new issue