aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/bbcode.html
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-06-16 08:16:56 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-06-25 03:11:55 +0200
commitf02cc27014c27acaf44b27066959426db27b3493 (patch)
treebf8093cc0a8fe6a113719fa1eeaf27484e3da79f /phpBB/styles/prosilver/template/bbcode.html
parent8747c7a2c17e2f5408f528f5213a3e056aefd54e (diff)
downloadforums-f02cc27014c27acaf44b27066959426db27b3493.tar
forums-f02cc27014c27acaf44b27066959426db27b3493.tar.gz
forums-f02cc27014c27acaf44b27066959426db27b3493.tar.bz2
forums-f02cc27014c27acaf44b27066959426db27b3493.tar.xz
forums-f02cc27014c27acaf44b27066959426db27b3493.zip
[ticket/10620] Implemented quote improvements
PHPBB3-10620
Diffstat (limited to 'phpBB/styles/prosilver/template/bbcode.html')
-rw-r--r--phpBB/styles/prosilver/template/bbcode.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/bbcode.html b/phpBB/styles/prosilver/template/bbcode.html
index af8e6ae4b0..6adbdb6aba 100644
--- a/phpBB/styles/prosilver/template/bbcode.html
+++ b/phpBB/styles/prosilver/template/bbcode.html
@@ -11,6 +11,39 @@
<!-- BEGIN quote_username_open --><blockquote><div><cite>{USERNAME} {L_WROTE}{L_COLON}</cite><!-- END quote_username_open -->
<!-- BEGIN quote_open --><blockquote class="uncited"><div><!-- END quote_open -->
<!-- BEGIN quote_close --></div></blockquote><!-- END quote_close -->
+<!-- BEGIN quote_extended -->
+<blockquote>
+ <xsl:if test="not(@author)">
+ <xsl:attribute name="class">uncited</xsl:attribute>
+ </xsl:if>
+ <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>
+ </xsl:when>
+ <xsl:when test="@profile_url">
+ <a href="{@profile_url}"><xsl:value-of select="@author"/></a>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@author"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="$L_WROTE"/>
+ <xsl:value-of select="$L_COLON"/>
+ <xsl:if test="@post_url">
+ <xsl:text> </xsl:text>
+ <a href="{@post_url}" data-post-id="{@post_id}" onclick="if(document.getElementById(hash.substr(1)))href=hash">&#8593;</a>
+ </xsl:if>
+ </cite>
+ </xsl:if>
+ <xsl:apply-templates/>
+ </div>
+</blockquote>
+<!-- END quote_extended -->
<!-- BEGIN code_open --><div class="codebox"><p>{L_CODE}{L_COLON} <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></p><pre><code><!-- END code_open -->
<!-- BEGIN code_close --></code></pre></div><!-- END code_close -->