mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +02:00
[ticket/12155] Move icon class directly to <a> and use <span> consistently.
PHPBB3-12155
This commit is contained in:
@@ -57,7 +57,11 @@
|
||||
</a>
|
||||
</li>
|
||||
<!-- IF U_EDIT -->
|
||||
<li class="edit-icon"><a href="{U_EDIT}" title="{L_EDIT_POST}" class="button icon-button"><span>{L_EDIT_POST}</span></a></li>
|
||||
<li>
|
||||
<a href="{U_EDIT}" title="{L_EDIT_POST}" class="button icon-button edit-icon">
|
||||
<span>{L_EDIT_POST}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
</ul>
|
||||
|
||||
|
@@ -97,8 +97,8 @@
|
||||
|
||||
<div class="postbody" id="pr{postrow.POST_ID}">
|
||||
<ul class="post-buttons">
|
||||
<li class="info-icon">
|
||||
<a href="{postrow.U_POST_DETAILS}" title="{L_POST_DETAILS}" class="button icon-button">
|
||||
<li>
|
||||
<a href="{postrow.U_POST_DETAILS}" title="{L_POST_DETAILS}" class="button icon-button info-icon">
|
||||
<span>{L_POST_DETAILS}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
@@ -27,15 +27,15 @@
|
||||
<!-- IF (topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE) or topic_review_row.U_MCP_DETAILS -->
|
||||
<ul class="post-buttons">
|
||||
<!-- IF topic_review_row.U_MCP_DETAILS -->
|
||||
<li class="info-icon">
|
||||
<a href="{topic_review_row.U_MCP_DETAILS}" title="{L_POST_DETAILS}" class="button icon-button">
|
||||
<li>
|
||||
<a href="{topic_review_row.U_MCP_DETAILS}" title="{L_POST_DETAILS}" class="button icon-button info-icon">
|
||||
<span>{L_POST_DETAILS}</span>
|
||||
</a>
|
||||
<li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE -->
|
||||
<li class="quote-icon">
|
||||
<a href="#postingbox" onclick="addquote({topic_review_row.POST_ID}, '{topic_review_row.POSTER_QUOTE}', '{LA_WROTE}');" title="{L_QUOTE} {topic_review_row.POST_AUTHOR}" class="button icon-button">
|
||||
<li>
|
||||
<a href="#postingbox" onclick="addquote({topic_review_row.POST_ID}, '{topic_review_row.POSTER_QUOTE}', '{LA_WROTE}');" title="{L_QUOTE} {topic_review_row.POST_AUTHOR}" class="button icon-button quote-icon">
|
||||
<span>{L_QUOTE} {topic_review_row.POST_AUTHOR}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
@@ -19,8 +19,8 @@
|
||||
|
||||
<!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE -->
|
||||
<ul class="post-buttons">
|
||||
<li class="quote-icon">
|
||||
<a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#postingbox" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{LA_WROTE}');"<!-- ENDIF --> title="{L_QUOTE} {history_row.MESSAGE_AUTHOR}" class="button icon-button">
|
||||
<li>
|
||||
<a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#postingbox" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{LA_WROTE}');"<!-- ENDIF --> title="{L_QUOTE} {history_row.MESSAGE_AUTHOR}" class="button icon-button quote-icon">
|
||||
<span>{L_QUOTE} {history_row.MESSAGE_AUTHOR}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
@@ -9,31 +9,23 @@
|
||||
<!-- IF U_POST_REPLY_PM or U_POST_NEW_TOPIC or U_FORWARD_PM -->
|
||||
<div class="buttons">
|
||||
<!-- IF U_POST_REPLY_PM -->
|
||||
<div class="pmreply-icon">
|
||||
<a title="{L_POST_REPLY_PM}" href="{U_POST_REPLY_PM}" class="button icon-button">
|
||||
<span></span>{L_BUTTON_PM_REPLY}
|
||||
</a>
|
||||
</div>
|
||||
<a title="{L_POST_REPLY_PM}" href="{U_POST_REPLY_PM}" class="button icon-button pmreply-icon">
|
||||
<span>{L_BUTTON_PM_REPLY}</span>
|
||||
</a>
|
||||
<!-- ELSEIF U_POST_NEW_TOPIC -->
|
||||
<div class="newpm-icon">
|
||||
<a href="{U_POST_NEW_TOPIC}" accesskey="n" title="{L_UCP_PM_COMPOSE}" class="button icon-button">
|
||||
<span></span>{L_BUTTON_PM_NEW}
|
||||
</a>
|
||||
</div>
|
||||
<a href="{U_POST_NEW_TOPIC}" accesskey="n" title="{L_UCP_PM_COMPOSE}" class="button icon-button newpm-icon">
|
||||
<span>{L_BUTTON_PM_NEW}</span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_FORWARD_PM -->
|
||||
<div class="forwardpm-icon">
|
||||
<a title="{L_POST_FORWARD_PM}" href="{U_FORWARD_PM}" class="button icon-button">
|
||||
<span></span>{L_BUTTON_PM_FORWARD}
|
||||
</a>
|
||||
</div>
|
||||
<a title="{L_POST_FORWARD_PM}" href="{U_FORWARD_PM}" class="button icon-button forwardpm-icon">
|
||||
<span>{L_BUTTON_PM_FORWARD}</span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_POST_REPLY_PM and S_PM_RECIPIENTS gt 1 -->
|
||||
<div class="reply-all">
|
||||
<a title="{L_REPLY_TO_ALL}" href="{U_POST_REPLY_ALL}" class="button icon-button">
|
||||
<span></span>{L_BUTTON_PM_REPLY_ALL}
|
||||
</a>
|
||||
</div>
|
||||
<a title="{L_REPLY_TO_ALL}" href="{U_POST_REPLY_ALL}" class="button icon-button reply-all">
|
||||
<span>{L_BUTTON_PM_REPLY_ALL}</span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
@@ -68,16 +68,24 @@
|
||||
<!-- IF U_DELETE or U_EDIT or U_QUOTE or U_REPORT -->
|
||||
<ul class="post-buttons">
|
||||
<!-- IF U_EDIT -->
|
||||
<li class="edit-icon"><a href="{U_EDIT}" title="{L_POST_EDIT_PM}" class="button icon-button"><span>{L_POST_EDIT_PM}</span></a></li>
|
||||
<li>
|
||||
<a href="{U_EDIT}" title="{L_POST_EDIT_PM}" class="button icon-button edit-icon"><span>{L_POST_EDIT_PM}</span></a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_DELETE -->
|
||||
<li class="delete-icon"><a href="{U_DELETE}" title="{L_DELETE_MESSAGE}" class="button icon-button"><span>{L_DELETE_MESSAGE}</span></a></li>
|
||||
<li>
|
||||
<a href="{U_DELETE}" title="{L_DELETE_MESSAGE}" class="button icon-button delete-icon"><span>{L_DELETE_MESSAGE}</span></a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_REPORT -->
|
||||
<li class="report-icon"><a href="{U_REPORT}" title="{L_REPORT_PM}" class="button icon-button"><span>{L_REPORT_PM}</span></a></li>
|
||||
<li>
|
||||
<a href="{U_REPORT}" title="{L_REPORT_PM}" class="button icon-button report-icon"><span>{L_REPORT_PM}</span></a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_QUOTE -->
|
||||
<li class="quote-icon"><a href="{U_QUOTE}" title="{L_POST_QUOTE_PM}" class="button icon-button"><span>{L_POST_QUOTE_PM}</span></a></li>
|
||||
<li>
|
||||
<a href="{U_QUOTE}" title="{L_POST_QUOTE_PM}" class="button icon-button quote-icon"><span>{L_POST_QUOTE_PM}</span></a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
</ul>
|
||||
<!-- ENDIF -->
|
||||
|
@@ -39,11 +39,9 @@
|
||||
|
||||
<!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
|
||||
<div class="buttons">
|
||||
<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->">
|
||||
<a href="{U_POST_NEW_TOPIC}" class="button icon-button">
|
||||
<span></span><!-- IF S_IS_LOCKED -->{L_BUTTON_FORUM_LOCKED}<!-- ELSE -->{L_BUTTON_NEW_TOPIC}<!-- ENDIF -->
|
||||
</a>
|
||||
</div>
|
||||
<a href="{U_POST_NEW_TOPIC}" class="button icon-button <!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->">
|
||||
<span><!-- IF S_IS_LOCKED -->{L_BUTTON_FORUM_LOCKED}<!-- ELSE -->{L_BUTTON_NEW_TOPIC}<!-- ENDIF --></span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
@@ -226,13 +224,11 @@
|
||||
<!-- IF .topicrow and not S_DISPLAY_ACTIVE -->
|
||||
<div class="topic-actions">
|
||||
<!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
|
||||
<div class="buttons">
|
||||
<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->">
|
||||
<a href="{U_POST_NEW_TOPIC}" class="button icon-button">
|
||||
<span></span><!-- IF S_IS_LOCKED -->{L_BUTTON_FORUM_LOCKED}<!-- ELSE -->{L_BUTTON_NEW_TOPIC}<!-- ENDIF -->
|
||||
<div class="buttons">
|
||||
<a href="{U_POST_NEW_TOPIC}" class="button icon-button <!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->">
|
||||
<span><!-- IF S_IS_LOCKED -->{L_BUTTON_FORUM_LOCKED}<!-- ELSE -->{L_BUTTON_NEW_TOPIC}<!-- ENDIF --></span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="pagination">
|
||||
|
@@ -29,11 +29,9 @@
|
||||
|
||||
<div class="buttons">
|
||||
<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
|
||||
<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->">
|
||||
<a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->" class="icon-button button">
|
||||
<span></span><!-- IF S_IS_LOCKED -->{L_BUTTON_TOPIC_LOCKED}<!-- ELSE -->{L_BUTTON_POST_REPLY}<!-- ENDIF -->
|
||||
</a>
|
||||
</div>
|
||||
<a href="{U_POST_REPLY_TOPIC}" class="button icon-button <!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->">
|
||||
<span><!-- IF S_IS_LOCKED -->{L_BUTTON_TOPIC_LOCKED}<!-- ELSE -->{L_BUTTON_POST_REPLY}<!-- ENDIF --></span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
@@ -204,33 +202,33 @@
|
||||
<ul class="post-buttons">
|
||||
<!-- EVENT viewtopic_body_post_buttons_before -->
|
||||
<!-- IF postrow.U_EDIT -->
|
||||
<li class="edit-icon">
|
||||
<a href="{postrow.U_EDIT}" title="{L_EDIT_POST}" class="button icon-button"><span>{L_BUTTON_EDIT}</span></a>
|
||||
<li>
|
||||
<a href="{postrow.U_EDIT}" title="{L_EDIT_POST}" class="button icon-button edit-icon"><span>{L_BUTTON_EDIT}</span></a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF postrow.U_DELETE -->
|
||||
<li class="delete-icon">
|
||||
<a href="{postrow.U_DELETE}" title="{L_DELETE_POST}" class="button icon-button"><span>{L_DELETE_POST}</span></a>
|
||||
<li>
|
||||
<a href="{postrow.U_DELETE}" title="{L_DELETE_POST}" class="button icon-button delete-icon"><span>{L_DELETE_POST}</span></a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF postrow.U_REPORT -->
|
||||
<li class="report-icon">
|
||||
<a href="{postrow.U_REPORT}" title="{L_REPORT_POST}" class="button icon-button"><span>{L_REPORT_POST}</span></a>
|
||||
<li>
|
||||
<a href="{postrow.U_REPORT}" title="{L_REPORT_POST}" class="button icon-button report-icon"><span>{L_REPORT_POST}</span></a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF postrow.U_WARN -->
|
||||
<li class="warn-icon">
|
||||
<a href="{postrow.U_WARN}" title="{L_WARN_USER}" class="button icon-button"><span>{L_WARN_USER}</span></a>
|
||||
<li>
|
||||
<a href="{postrow.U_WARN}" title="{L_WARN_USER}" class="button icon-button warn-icon"><span>{L_WARN_USER}</span></a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF postrow.U_INFO -->
|
||||
<li class="info-icon">
|
||||
<a href="{postrow.U_INFO}" title="{L_INFORMATION}" class="button icon-button"><span>{L_INFORMATION}</span></a>
|
||||
<li>
|
||||
<a href="{postrow.U_INFO}" title="{L_INFORMATION}" class="button icon-button info-icon"><span>{L_INFORMATION}</span></a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF postrow.U_QUOTE -->
|
||||
<li class="quote-icon">
|
||||
<a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}" class="button icon-button"><span>{L_QUOTE}</span></a>
|
||||
<li>
|
||||
<a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}" class="button icon-button quote-icon"><span>{L_QUOTE}</span></a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_body_post_buttons_after -->
|
||||
@@ -344,11 +342,9 @@
|
||||
<div class="topic-actions">
|
||||
<div class="buttons">
|
||||
<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
|
||||
<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->">
|
||||
<a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->" class="button icon-button">
|
||||
<span></span><!-- IF S_IS_LOCKED -->{L_BUTTON_TOPIC_LOCKED}<!-- ELSE -->{L_BUTTON_POST_REPLY}<!-- ENDIF -->
|
||||
</a>
|
||||
</div>
|
||||
<a href="{U_POST_REPLY_TOPIC}" class="button icon-button <!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->">
|
||||
<span><!-- IF S_IS_LOCKED -->{L_BUTTON_TOPIC_LOCKED}<!-- ELSE -->{L_BUTTON_POST_REPLY}<!-- ENDIF --></span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user