mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[ticket/9550] Break up a long ugly line in subsilver2 viewtopic_body.html
Per request of nickvergessen, break up the long post buttons line in viewtopic_body.html of subsilver2 into nicely indented parent and child elements. Keep the whitespace in such a way that browsers display the buttons pixel-perfectly equal to the old code. In the process, move the viewtopic_body_post_buttons_before event to a more logical (though possibly less intuitive) place (only in subsilver2). PHPBB3-9550
This commit is contained in:
parent
61fd61692b
commit
351abf3883
@ -317,7 +317,21 @@
|
||||
<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||
|
||||
<td class="profile"><strong><a href="#wrapheader">{L_BACK_TO_TOP}</a></strong></td>
|
||||
<td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- EVENT viewtopic_body_post_buttons_before --><!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}" class="imageset">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}" class="imageset">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}" class="imageset">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}" class="imageset">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}" class="imageset">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --><!-- EVENT viewtopic_body_post_buttons_after --> </div></td>
|
||||
<td>
|
||||
<div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">
|
||||
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}" class="imageset">{PROFILE_IMG}</a><!-- ENDIF -->
|
||||
<!-- IF postrow.U_PM --><a href="{postrow.U_PM}" class="imageset">{PM_IMG}</a><!-- ENDIF -->
|
||||
<!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}" class="imageset">{EMAIL_IMG}</a><!-- ENDIF -->
|
||||
</div>
|
||||
<div class="gensmall" style="float: {S_CONTENT_FLOW_END};">
|
||||
<!-- EVENT viewtopic_body_post_buttons_before -->
|
||||
<!-- IF not S_IS_BOT -->
|
||||
<!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}" class="imageset">{EDIT_IMG}</a><!-- ENDIF -->
|
||||
<!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}" class="imageset">{QUOTE_IMG}</a><!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_body_post_buttons_after -->
|
||||
</div>
|
||||
</td>
|
||||
<!-- ENDIF -->
|
||||
</tr>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user