mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-21 08:00:46 +01:00
Merge branch '3.3.x'
This commit is contained in:
commit
36faf85488
@ -13,6 +13,9 @@
|
||||
<!-- BEGIN quote_close --></div></blockquote><!-- END quote_close -->
|
||||
<!-- BEGIN quote_extended -->
|
||||
<blockquote>
|
||||
<xsl:if test="@post_url">
|
||||
<xsl:attribute name="cite"><xsl:value-of select="@post_url"/></xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:if test="not(@author)">
|
||||
<xsl:attribute name="class">uncited</xsl:attribute>
|
||||
</xsl:if>
|
||||
@ -42,7 +45,7 @@
|
||||
<a href="{@msg_url}" data-msg-id="{@msg_id}">↑</a>
|
||||
</xsl:if>
|
||||
<xsl:if test="@date">
|
||||
<div class="responsive-hide"><xsl:value-of select="@date"/></div>
|
||||
<span class="responsive-hide"><xsl:value-of select="@date"/></span>
|
||||
</xsl:if>
|
||||
</cite>
|
||||
</xsl:if>
|
||||
|
@ -534,7 +534,7 @@ blockquote cite:before,
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
blockquote cite > div {
|
||||
blockquote cite > span {
|
||||
font-weight: normal;
|
||||
float: right;
|
||||
}
|
||||
|
@ -279,7 +279,7 @@ class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case
|
||||
),
|
||||
array(
|
||||
'[quote=Username post_id=123]...[/quote]',
|
||||
'<blockquote><div><cite>Username wrote: <a href="phpBB/viewtopic.php?p=123#p123" data-post-id="123" onclick="if(document.getElementById(hash.substr(1)))href=hash">↑</a></cite>...</div></blockquote>'
|
||||
'<blockquote cite="phpBB/viewtopic.php?p=123#p123"><div><cite>Username wrote: <a href="phpBB/viewtopic.php?p=123#p123" data-post-id="123" onclick="if(document.getElementById(hash.substr(1)))href=hash">↑</a></cite>...</div></blockquote>'
|
||||
),
|
||||
array(
|
||||
// Users are not allowed to submit their own URL for the post
|
||||
@ -288,7 +288,7 @@ class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case
|
||||
),
|
||||
array(
|
||||
'[quote=Username time=58705871]...[/quote]',
|
||||
'<blockquote><div><cite>Username wrote:<div class="responsive-hide">1971-11-11 11:11:11</div></cite>...</div></blockquote>'
|
||||
'<blockquote><div><cite>Username wrote:<span class="responsive-hide">1971-11-11 11:11:11</span></cite>...</div></blockquote>'
|
||||
),
|
||||
array(
|
||||
'[quote=Username user_id=123]...[/quote]',
|
||||
|
@ -13,6 +13,9 @@
|
||||
{% for quote_close in loops.quote_close %}</div></blockquote>{% endfor %}
|
||||
{% for quote_extended in loops.quote_extended %}
|
||||
<blockquote>
|
||||
<xsl:if test="@post_url">
|
||||
<xsl:attribute name="cite"><xsl:value-of select="@post_url"/></xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:if test="not(@author)">
|
||||
<xsl:attribute name="class">uncited</xsl:attribute>
|
||||
</xsl:if>
|
||||
@ -38,7 +41,7 @@
|
||||
<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>
|
||||
<span class="responsive-hide"><xsl:value-of select="@date"/></span>
|
||||
</xsl:if>
|
||||
</cite>
|
||||
</xsl:if>
|
||||
|
Loading…
x
Reference in New Issue
Block a user