mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
[ticket/10620] Moved quote's date to the upper corner
PHPBB3-10620
This commit is contained in:
parent
1f6b9bc048
commit
9d364aee4a
@ -19,7 +19,6 @@
|
||||
<div>
|
||||
<xsl:if test="@author">
|
||||
<cite>
|
||||
<xsl:if test="@date"><xsl:value-of select="@date"/> </xsl:if>
|
||||
<xsl:choose>
|
||||
<xsl:when test="@url">
|
||||
<a href="{@url}" class="postlink"><xsl:value-of select="@author"/></a>
|
||||
@ -38,6 +37,9 @@
|
||||
<xsl:text> </xsl:text>
|
||||
<a href="{@post_url}" data-post-id="{@post_id}" onclick="if(document.getElementById(hash.substr(1)))href=hash">↑</a>
|
||||
</xsl:if>
|
||||
<xsl:if test="@date">
|
||||
<div class="responsive-hide"><xsl:value-of select="@date"/></div>
|
||||
</xsl:if>
|
||||
</cite>
|
||||
</xsl:if>
|
||||
<xsl:apply-templates/>
|
||||
|
@ -486,6 +486,11 @@ blockquote.uncited {
|
||||
padding-top: 25px;
|
||||
}
|
||||
|
||||
blockquote cite > div {
|
||||
float: right;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* Code block */
|
||||
.codebox {
|
||||
padding: 3px;
|
||||
|
@ -236,7 +236,7 @@ class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case
|
||||
),
|
||||
array(
|
||||
'[quote=Username time=58705871]...[/quote]',
|
||||
'<blockquote><div><cite>1971-11-11 11:11:11 Username wrote:</cite>...</div></blockquote>'
|
||||
'<blockquote><div><cite>Username wrote:<div class="responsive-hide">1971-11-11 11:11:11</div></cite>...</div></blockquote>'
|
||||
),
|
||||
array(
|
||||
'[quote=Username user_id=123]...[/quote]',
|
||||
|
Loading…
x
Reference in New Issue
Block a user