aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-06-09 13:54:43 -0700
committerCesar G <prototech91@gmail.com>2014-06-09 13:54:43 -0700
commit169a9a560d52778adc8b63c2a31254965af6f342 (patch)
tree64b8f9b3e283830b2f068c204e9092450e049bc8 /phpBB/styles/prosilver/template
parentb6232aa9b213fbf62f5ce351bc79220daf243cc6 (diff)
downloadforums-169a9a560d52778adc8b63c2a31254965af6f342.tar
forums-169a9a560d52778adc8b63c2a31254965af6f342.tar.gz
forums-169a9a560d52778adc8b63c2a31254965af6f342.tar.bz2
forums-169a9a560d52778adc8b63c2a31254965af6f342.tar.xz
forums-169a9a560d52778adc8b63c2a31254965af6f342.zip
[ticket/12667] Do not point viewtopic URL to unread post outside of view=unread
PHPBB3-12667
Diffstat (limited to 'phpBB/styles/prosilver/template')
-rw-r--r--phpBB/styles/prosilver/template/viewtopic_body.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index fb0b9733e7..710b42b5e3 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -117,7 +117,9 @@
<!-- BEGIN postrow -->
<!-- EVENT viewtopic_body_postrow_post_before -->
- <!-- IF postrow.S_FIRST_UNREAD --><a id="unread" class="anchor" data-url="{postrow.U_MINI_POST}"></a><!-- ENDIF -->
+ <!-- IF postrow.S_FIRST_UNREAD -->
+ <a id="unread" class="anchor"<!-- IF S_UNREAD_VIEW --> data-url="{postrow.U_MINI_POST}"<!-- ENDIF -->></a>
+ <!-- ENDIF -->
<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_POST_DELETED --> deleted<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_POST_HIDDEN --> online<!-- ENDIF --><!-- IF postrow.POSTER_WARNINGS --> warned<!-- ENDIF -->">
<div class="inner">