1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 23:11:45 +02:00

[ticket/12613] Remove unnecessary checks and clean up CSS

PHPBB3-12613
This commit is contained in:
PayBas
2014-06-13 12:21:04 +02:00
parent 86a320ff5c
commit 7c527adee8
16 changed files with 62 additions and 115 deletions

View File

@@ -10,10 +10,9 @@
<div class="panel">
<div class="inner">
<!-- IF .pagination or TOTAL_TOPICS -->
<div class="action-bar">
<div class="pagination">
<!-- IF TOTAL_TOPICS -->{TOTAL_TOPICS}<!-- ENDIF -->
{TOTAL_TOPICS}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
@@ -21,7 +20,6 @@
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
<!-- IF .topicrow -->
<ul class="topiclist<!-- IF S_MERGE_SELECT --> missing-column<!-- ENDIF -->">
@@ -103,10 +101,9 @@
<hr />
<!-- IF .pagination or TOTAL_TOPICS -->
<div class="action-bar">
<div class="pagination">
<!-- IF TOTAL_TOPICS -->{TOTAL_TOPICS}<!-- ENDIF -->
{TOTAL_TOPICS}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
@@ -114,7 +111,6 @@
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
</div>
</div>

View File

@@ -9,16 +9,14 @@
<div class="action-bar">
{L_SEARCH_KEYWORDS}{L_COLON} <input type="search" class="inputbox autowidth" name="keywords" value="{S_KEYWORDS}" />&nbsp;<input type="submit" class="button2" name="filter" value="{L_SEARCH}" />
<!-- IF .pagination or TOTAL -->
<div class="pagination">
<!-- IF TOTAL -->{TOTAL}<!-- ENDIF -->
{TOTAL}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
&bull; {PAGE_NUMBER}
<!-- ENDIF -->
</div>
<!-- ENDIF -->
</div>
<table class="table1">
@@ -62,10 +60,9 @@
<hr />
<!-- IF .pagination or TOTAL -->
<div class="action-bar">
<div class="pagination">
<!-- IF TOTAL -->{TOTAL}<!-- ENDIF -->
{TOTAL}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
@@ -73,7 +70,6 @@
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
{S_FORM_TOKEN}
</div>

View File

@@ -52,16 +52,14 @@
<div class="action-bar">
{L_SEARCH_KEYWORDS}{L_COLON} <input type="search" class="inputbox autowidth" name="keywords" value="{S_KEYWORDS}" />&nbsp;<input type="submit" class="button2" name="filter" value="{L_SEARCH}" />
<!-- IF .pagination or TOTAL_REPORTS -->
<div class="pagination">
<!-- IF TOTAL_REPORTS -->{TOTAL_REPORTS}<!-- ENDIF -->
{TOTAL_REPORTS}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
&bull; {PAGE_NUMBER}
<!-- ENDIF -->
</div>
<!-- ENDIF -->
</div>
<table class="table1">
@@ -102,10 +100,9 @@
<hr />
<!-- IF .pagination or TOTAL_REPORTS -->
<div class="action-bar">
<div class="pagination">
<!-- IF TOTAL_REPORTS -->{TOTAL_REPORTS}<!-- ENDIF -->
{TOTAL_REPORTS}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
@@ -113,7 +110,6 @@
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
</div>
</div>

View File

@@ -150,10 +150,9 @@
<hr />
<!-- IF .pagination or TOTAL_POSTS -->
<div class="action-bar">
<div class="pagination">
<!-- IF TOTAL_POSTS -->{TOTAL_POSTS}<!-- ENDIF -->
{TOTAL_POSTS}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
@@ -161,7 +160,6 @@
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
</div>
</div>

View File

@@ -148,7 +148,6 @@
</form>
<!-- IF .pagination or TOTAL_USERS -->
<div class="action-bar">
<div class="pagination">
{TOTAL_USERS}
@@ -159,7 +158,6 @@
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
<!-- IF S_IN_SEARCH_POPUP -->
<!-- INCLUDE simple_footer.html -->

View File

@@ -17,11 +17,11 @@
</div>
</div>
<div class="pagination">
<!-- IF .pagination -->
<!-- IF .pagination -->
<div class="pagination">
<!-- INCLUDE pagination.html -->
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
<a href="#" onclick="window.close(); return false;">{L_CLOSE_WINDOW}</a>
<!-- INCLUDE simple_footer.html -->

View File

@@ -10,11 +10,9 @@
<p>{L_ATTACHMENTS_EXPLAIN}</p>
<!-- IF .attachrow -->
<!-- IF .pagination or TOTAL_ATTACHMENTS -->
<div class="action-bar">
<div class="pagination">
<!-- IF TOTAL_ATTACHMENTS -->{TOTAL_ATTACHMENTS} {L_TITLE}<!-- ENDIF -->
{TOTAL_ATTACHMENTS} {L_TITLE}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
@@ -22,7 +20,6 @@
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
<ul class="topiclist">
<li class="header">
@@ -61,11 +58,10 @@
</fieldset>
<hr />
<!-- IF .pagination or TOTAL_ATTACHMENTS -->
<div class="action-bar">
<div class="pagination">
<!-- IF TOTAL_ATTACHMENTS -->{TOTAL_ATTACHMENTS} {L_TITLE}<!-- ENDIF -->
{TOTAL_ATTACHMENTS} {L_TITLE}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
@@ -73,7 +69,6 @@
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
<!-- ELSE -->
<p><strong>{L_UCP_NO_ATTACHMENTS}</strong></p>

View File

@@ -76,10 +76,9 @@
<!-- END topicrow -->
</ul>
<!-- IF .pagination or TOTAL_TOPICS -->
<div class="action-bar">
<div class="pagination">
<!-- IF TOTAL_TOPICS -->{TOTAL_TOPICS}<!-- ENDIF -->
{TOTAL_TOPICS}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
@@ -87,7 +86,6 @@
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
<!-- ELSE -->
<p><strong>{L_NO_BOOKMARKS}</strong></p>

View File

@@ -110,10 +110,9 @@
<!-- END topicrow -->
</ul>
<!-- IF .pagination or TOTAL_TOPICS -->
<div class="action-bar">
<div class="pagination">
<!-- IF TOTAL_TOPICS -->{TOTAL_TOPICS}<!-- ENDIF -->
{TOTAL_TOPICS}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
@@ -121,7 +120,6 @@
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
<!-- ELSEIF S_TOPIC_NOTIFY -->
<ul class="topiclist">

View File

@@ -42,11 +42,10 @@
</table>
<!-- ELSE -->
<!-- IF .notification_list -->
<!-- IF .pagination or TOTAL_COUNT -->
<div class="topic-actions">
<div class="pagination">
<!-- IF U_MARK_ALL --><a href="{U_MARK_ALL}">{L_NOTIFICATIONS_MARK_ALL_READ}</a> &bull; <!-- ENDIF -->
<!-- IF TOTAL_COUNT -->{L_NOTIFICATIONS} [<strong>{TOTAL_COUNT}</strong>]<!-- ENDIF -->
{L_NOTIFICATIONS} [<strong>{TOTAL_COUNT}</strong>]
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
@@ -54,7 +53,6 @@
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
<div class="notification_list">
<ul class="topiclist two-columns">
@@ -91,18 +89,16 @@
</ul>
</div>
<!-- IF .pagination or TOTAL_COUNT -->
<div class="topic-actions">
<div class="pagination">
<!-- IF TOTAL_COUNT -->{L_NOTIFICATIONS} [<strong>{TOTAL_COUNT}</strong>]<!-- ENDIF -->
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
&bull; {PAGE_NUMBER}
<!-- ENDIF -->
</div>
<div class="topic-actions">
<div class="pagination">
{L_NOTIFICATIONS} [<strong>{TOTAL_COUNT}</strong>]
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
&bull; {PAGE_NUMBER}
<!-- ENDIF -->
</div>
<!-- ENDIF -->
</div>
<!-- ELSE -->
<p><strong>{L_NO_NOTIFICATIONS}</strong></p>

View File

@@ -48,7 +48,7 @@
<!-- IF S_VIEW_MESSAGE -->
<a class="arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_CURRENT_FOLDER}">{L_RETURN_TO_FOLDER}</a>
<!-- ELSEIF FOLDER_CUR_MESSAGES neq 0 -->
<!-- IF TOTAL_MESSAGES -->{TOTAL_MESSAGES}<!-- ENDIF -->
{TOTAL_MESSAGES}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->

View File

@@ -104,10 +104,9 @@
<hr />
<!-- IF TOTAL_MESSAGES or S_VIEW_MESSAGE -->
<div class="action-bar">
<div class="pagination">
<!-- IF TOTAL_MESSAGES -->{TOTAL_MESSAGES}<!-- ENDIF -->
{TOTAL_MESSAGES}
<!-- IF .pagination -->
<!-- INCLUDE pagination.html -->
<!-- ELSE -->
@@ -115,7 +114,6 @@
<!-- ENDIF -->
</div>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
</div>