Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[livejournal] r22163: LJSUP-12463: Double ancors for reply lin...

Committer: esavintcev
LJSUP-12463: Double ancors for reply link in journal styles
U   trunk/bin/upgrading/s2layers/classic/layout.s2
U   trunk/bin/upgrading/s2layers/cleansimple/layout.s2
U   trunk/bin/upgrading/s2layers/core1.s2
U   trunk/bin/upgrading/s2layers/deardiary/layout.s2
U   trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2
U   trunk/bin/upgrading/s2layers/disjointed/layout.s2
U   trunk/bin/upgrading/s2layers/generator/layout.s2
U   trunk/bin/upgrading/s2layers/haven/layout.s2
U   trunk/bin/upgrading/s2layers/lickable/layout.s2
U   trunk/bin/upgrading/s2layers/magazine/layout.s2
U   trunk/bin/upgrading/s2layers/notepad/layout.s2
Modified: trunk/bin/upgrading/s2layers/classic/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/classic/layout.s2	2012-06-04 14:45:59 UTC (rev 22162)
+++ trunk/bin/upgrading/s2layers/classic/layout.s2	2012-06-04 15:17:45 UTC (rev 22163)
@@ -740,10 +740,10 @@
         print safe "$*text_max_comments";
     } else {
      if ($p.view == "entry") {
-            $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url+"#$*text_addcomment_id"});
+            $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url});
      }
     else {
-        print safe "<a href=\"$.post_url#$*text_addcomment_id\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
+        print safe "<a href=\"$.post_url\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
     }
      }
 }
@@ -753,7 +753,7 @@
     if ($p.showspam) {
         print safe get_plural_phrase($.spam_counter, "text_read_spam_comments");
     } else {
-        print safe "<a href=\"$.read_spam_url#$*text_comments_id\">" + get_plural_phrase($.spam_counter, "text_read_all_spam_comments") + "</a>";
+        print safe "<a href=\"$.read_spam_url\">" + get_plural_phrase($.spam_counter, "text_read_all_spam_comments") + "</a>";
     }
 }
 
@@ -1118,7 +1118,7 @@
         "</td></tr>\n";
     }             
 
-    "<div align='center'>( <a href='$.entry.comments.read_url#$*text_comments_id'>" + get_plural_phrase($.entry.comments.count, "text_read_comments") + "</a> )</div>";
+    "<div align='center'>( <a href='$.entry.comments.read_url'>" + get_plural_phrase($.entry.comments.count, "text_read_comments") + "</a> )</div>";
          print_ebox($.entry);
      "<tr valign='top'><th class='headerbar' colspan='2' id='$*text_addcomment_id'>$*text_post_comment:</th></tr>";
     "<tr valing='top'><td style='background-color: $background'>&nbsp;</td><td>";

Modified: trunk/bin/upgrading/s2layers/cleansimple/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/cleansimple/layout.s2	2012-06-04 14:45:59 UTC (rev 22162)
+++ trunk/bin/upgrading/s2layers/cleansimple/layout.s2	2012-06-04 15:17:45 UTC (rev 22163)
@@ -864,7 +864,7 @@
         if ($p.showspam) {
             $comments_showspam = """ | """ + get_plural_phrase($e.comments.spam_counter, "text_read_spam_comments");
         } else {
-            $comments_showspam = """ | <a href="$e.comments.read_spam_url#$*text_comments_id">""" + get_plural_phrase($e.comments.spam_counter, "text_read_all_spam_comments") + """</a>""";
+            $comments_showspam = """ | <a href="$e.comments.read_spam_url">""" + get_plural_phrase($e.comments.spam_counter, "text_read_all_spam_comments") + """</a>""";
         }
     } else {
         $comments_showspam = "";
@@ -899,9 +899,9 @@
         print safe "$*text_max_comments";
     } else {
         if ($p.view == "entry") {
-                $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url+"#$*text_addcomment_id"});
+                $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url});
         } else {
-        print safe "<a href=\"$.post_url#$*text_addcomment_id\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
+        print safe "<a href=\"$.post_url\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
        }
     }
 }

Modified: trunk/bin/upgrading/s2layers/core1.s2
===================================================================
--- trunk/bin/upgrading/s2layers/core1.s2	2012-06-04 14:45:59 UTC (rev 22162)
+++ trunk/bin/upgrading/s2layers/core1.s2	2012-06-04 15:17:45 UTC (rev 22163)
@@ -3006,7 +3006,7 @@
 
 function CommentInfo::print_readlink {
     var Page p = get_page();
-    print safe "<a href=\"$.read_url#$*text_comments_id\">"+
+    print safe "<a href=\"$.read_url\">"+
         get_plural_phrase($.count, $p.view == "friends" ?
                           "text_read_comments_friends" : "text_read_comments")+
     "</a>";
@@ -3016,7 +3016,7 @@
     if ($.maxcomments) {
         print safe "$*text_max_comments";
     } else {
-        print safe "<a href=\"$.post_url#$*text_addcomment_id\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
+        print safe "<a href=\"$.post_url\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
     }
 }
 function CommentInfo::print() {
@@ -3242,7 +3242,7 @@
 
     if ($.entry.comments.enabled) {
         "<hr /><a id='$*text_comments_id'></a>";
-        "("; $this->print_reply_link({ "linktext" => $*text_post_comment, "target" => "topcomment", "reply_url" => $e.comments.post_url+"#$*text_addcomment_id" }); ")";
+        "("; $this->print_reply_link({ "linktext" => $*text_post_comment, "target" => "topcomment", "reply_url" => $e.comments.post_url }); ")";
         $this->print_reply_container({ "target" => "topcomment" });
         if ($.comment_pages.total_subitems > 0) {
             "<hr />";
@@ -3250,7 +3250,7 @@
             $this->print_multiform_start();
             $this->print_comments($.comments);
             print "<hr />";
-            "("; $this->print_reply_link({ "linktext" => $*text_post_comment, "target" => "bottomcomment", "reply_url" => $e.comments.post_url+"#$*text_addcomment_id" }); ")";
+            "("; $this->print_reply_link({ "linktext" => $*text_post_comment, "target" => "bottomcomment", "reply_url" => $e.comments.post_url }); ")";
             $this->print_reply_container({"target" => "bottomcomment"});
             if ($.comment_pages.all_subitems_displayed) { print "<hr />"; }
             $this->print_multiform_actionline();
@@ -3286,7 +3286,7 @@
     print "<div>"; $.replyto->print_text(); "</div>";
 
     print "\n<hr />\n";
-    print safe """(<a id="$*text_addcomment_id" href="$.entry.permalink_url#$*text_comments_id">$*text_reply_back</a>)""";
+    print safe """(<a id="$*text_addcomment_id" href="$.entry.permalink_url">$*text_reply_back</a>)""";
     $.form->print();
 }
 

Modified: trunk/bin/upgrading/s2layers/deardiary/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/deardiary/layout.s2	2012-06-04 14:45:59 UTC (rev 22162)
+++ trunk/bin/upgrading/s2layers/deardiary/layout.s2	2012-06-04 15:17:45 UTC (rev 22163)
@@ -831,9 +831,9 @@
         print safe "$*text_max_comments";
     } else {
         if ($p.view == "entry") {
-                $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url+"#$*text_addcomment_id"});
+                $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url});
         } else {
-        print safe "<a href=\"$.post_url#$*text_addcomment_id\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
+        print safe "<a href=\"$.post_url\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
        }
     }
 }
@@ -854,7 +854,7 @@
             if ($p.showspam) {
                 $comments_showspam = """<li>""" + get_plural_phrase($.comments.spam_counter, "text_read_spam_comments") + """</li>""";
             } else {
-                $comments_showspam = """<li><a href="$.comments.read_spam_url#$*text_comments_id">""" + get_plural_phrase($.comments.spam_counter, "text_read_all_spam_comments") + """</a></li>""";
+                $comments_showspam = """<li><a href="$.comments.read_spam_url">""" + get_plural_phrase($.comments.spam_counter, "text_read_all_spam_comments") + """</a></li>""";
             }
         } else {
             $comments_showspam = "";
@@ -1246,7 +1246,7 @@
             print "<li class=\"current\">$i</li>";
         }
         else {
-            print "<li><a href=\""+$.comment_pages->url_of($i)+"#$*text_comments_id\">$i</a></li>";
+            print "<li><a href=\""+$.comment_pages->url_of($i)+"\">$i</a></li>";
         }
     }
     print "</ul>";

Modified: trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2	2012-06-04 14:45:59 UTC (rev 22162)
+++ trunk/bin/upgrading/s2layers/digitalmultiplex/layout.s2	2012-06-04 15:17:45 UTC (rev 22163)
@@ -1208,13 +1208,13 @@
             if ($p.showspam) {
                 $comments_showspam = """ &mdash; """ + get_plural_phrase($.entry.comments.spam_counter, "text_read_spam_comments");
             } else {
-                $comments_showspam = """ &mdash; <a href=\"$.entry.comments.read_spam_url#$*text_comments_id\">""" + get_plural_phrase($.entry.comments.spam_counter, "text_read_all_spam_comments") + """</a> """;
+                $comments_showspam = """ &mdash; <a href=\"$.entry.comments.read_spam_url\">""" + get_plural_phrase($.entry.comments.spam_counter, "text_read_all_spam_comments") + """</a> """;
             }
         }
         if ($.comment_pages.all_subitems_displayed) {
             if (not $.entry.comments.locked) {
                 print_heading_bar_begin();
-                $this->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.entry.comments.post_url+"#$*text_addcomment_id"});
+                $this->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.entry.comments.post_url});
                 $this->print_reply_container({"target" => "topcomment", "class" => "quickreply"});
                 if ($p.view == "entry") { print $comments_showspam; }
                 print_heading_bar_end();
@@ -1226,11 +1226,11 @@
                     $pages = "$pages <b>[$i]</b> ";
                 } else {
                     var string url_of = $.comment_pages->url_of($i);
-                    $pages = """$pages <a href="$url_of#$*text_comments_id" class="link"><b>[$i]</b></a> """;
+                    $pages = """$pages <a href="$url_of" class="link"><b>[$i]</b></a> """;
                 }
             }
             if ($p.view != "entry") { $comments_showspam == ""; }
-            print_heading_bar("""(<a href="$.entry.comments.post_url#$*text_addcomment_id">$*text_post_comment</a>)  $comments_showspam""", $pages);
+            print_heading_bar("""(<a href="$.entry.comments.post_url">$*text_post_comment</a>)  $comments_showspam""", $pages);
         }
 
         if ($.comment_pages.total_subitems > 0) {
@@ -1239,7 +1239,7 @@
             if ($.comment_pages.all_subitems_displayed) {
 if (not $.entry.comments.locked) {
                print_heading_bar_begin();
-               print "("; $this->print_reply_link({"target" => "bottomcomment", "linktext" => $*text_post_comment, "reply_url" => $.entry.comments.post_url+"#$*text_addcomment_id"}); """)""";
+               print "("; $this->print_reply_link({"target" => "bottomcomment", "linktext" => $*text_post_comment, "reply_url" => $.entry.comments.post_url}); """)""";
                $this->print_reply_container({"target" => "bottomcomment", "class" => "quickreply"});
                print_heading_bar_end();
 }
@@ -1432,7 +1432,7 @@
     """<div style="margin: 20px 0 17px 0;" id="$*text_addcomment_id">""";
       $.entry->print_ebox();
     "</div>";
-    print_heading_bar("$*text_post_comment:","""(<a href="$.entry.permalink_url#$*text_comments_id">$*text_reply_back</a>)""");
+    print_heading_bar("$*text_post_comment:","""(<a href="$.entry.permalink_url">$*text_reply_back</a>)""");
     $.form->print();
 }
 

Modified: trunk/bin/upgrading/s2layers/disjointed/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/disjointed/layout.s2	2012-06-04 14:45:59 UTC (rev 22162)
+++ trunk/bin/upgrading/s2layers/disjointed/layout.s2	2012-06-04 15:17:45 UTC (rev 22163)
@@ -1135,7 +1135,7 @@
       if ($en.comments.count > 0 or $en.comments.screened) {
         $url  = $en.comments.read_url;
         $text = get_plural_phrase($en.comments.count, ("text_read_comments" + ($p.view == "friends" ? "_friends" : "")));
-        $linkbar = $linkbar + """<a href="$url#$*text_comments_id">$text""";
+        $linkbar = $linkbar + """<a href="$url">$text""";
         if($en.comments.screened) {
           $text    = $*text_month_screened_comments;
           $linkbar = $linkbar + """ $text""";
@@ -1150,7 +1150,7 @@
         if ($p.showspam) {
             $comments_showspam = get_plural_phrase($en.comments.spam_counter, "text_read_spam_comments") + "&ndash;";
         } else {
-            $comments_showspam = """<a href=\"$en.comments.read_spam_url#$*text_comments_id\">""" + get_plural_phrase($en.comments.spam_counter, "text_read_all_spam_comments") + """</a> &ndash """;
+            $comments_showspam = """<a href=\"$en.comments.read_spam_url\">""" + get_plural_phrase($en.comments.spam_counter, "text_read_all_spam_comments") + """</a> &ndash """;
         }
     }
     if ($p.view == "entry") { $linkbar = $linkbar + $comments_showspam; }
@@ -1160,13 +1160,13 @@
     } else {
       if ($p.view == "entry") {
 if (not $en.comments.locked) {
-        $p->print_reply_link({"target" => "topcomment", "linktext" => "$*text_post_comment", "reply_url" => $en.comments.post_url+"#$*text_addcomment_id"}); print " - ";
+        $p->print_reply_link({"target" => "topcomment", "linktext" => "$*text_post_comment", "reply_url" => $en.comments.post_url}); print " - ";
 }
       } else {
 if (not $en.comments.locked) {
         $url  = $en.comments.post_url;
         $text = get_plural_phrase(0, ("text_post_comment" + ($p.view == "friends" ? "_friends" : "")));
-        $linkbar = $linkbar + """<a href="$url#$*text_comments_id">$text</a>$btwn_comments""";
+        $linkbar = $linkbar + """<a href="$url">$text</a>$btwn_comments""";
 }
       }
     }

Modified: trunk/bin/upgrading/s2layers/generator/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/generator/layout.s2	2012-06-04 14:45:59 UTC (rev 22162)
+++ trunk/bin/upgrading/s2layers/generator/layout.s2	2012-06-04 15:17:45 UTC (rev 22163)
@@ -920,7 +920,7 @@
             $comments_showspam = """ | <span>""" + get_plural_phrase($e.comments.spam_counter, "text_read_spam_comments") + """</span> """;
 
         } else {
-            $comments_showspam = """ | <a href=\"$e.comments.read_spam_url#$*text_comments_id\">""" + get_plural_phrase($e.comments.spam_counter, "text_read_all_spam_comments") + """</a></span> """;
+            $comments_showspam = """ | <a href=\"$e.comments.read_spam_url\">""" + get_plural_phrase($e.comments.spam_counter, "text_read_all_spam_comments") + """</a></span> """;
         }
     }
 """</td></tr>
@@ -933,7 +933,7 @@
     } elseif ($e.comments.enabled) {
         "<td align='right' class='comments'>";
         if (not $e.comments.locked) {
-            $p->print_reply_link({"linktext" => $*text_comment_reply, "target" => "topcomment", "reply_url" => $e.comments.post_url+"#$*text_addcomment_id"});
+            $p->print_reply_link({"linktext" => $*text_comment_reply, "target" => "topcomment", "reply_url" => $e.comments.post_url});
         }
     } else {
         "<td>";

Modified: trunk/bin/upgrading/s2layers/haven/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/haven/layout.s2	2012-06-04 14:45:59 UTC (rev 22162)
+++ trunk/bin/upgrading/s2layers/haven/layout.s2	2012-06-04 15:17:45 UTC (rev 22163)
@@ -1116,9 +1116,9 @@
         print safe "$*text_max_comments";
     } else {
         if ($p.view == "entry") {
-             $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url+"#$*text_addcomment_id"});
+             $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url});
         } else {
-            print safe "<a href=\"$.post_url#$*text_addcomment_id\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
+            print safe "<a href=\"$.post_url\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
         }
     }
 }
@@ -1236,7 +1236,7 @@
         if ($p.showspam) {
             $comments_showspam = get_plural_phrase($e.comments.spam_counter, "text_read_spam_comments") + """</span> """;
         } else {
-            $comments_showspam = """<a href=\"$e.comments.read_spam_url#$*text_comments_id\">""" + get_plural_phrase($e.comments.spam_counter, "text_read_all_spam_comments") + """</a></span> """;
+            $comments_showspam = """<a href=\"$e.comments.read_spam_url\">""" + get_plural_phrase($e.comments.spam_counter, "text_read_all_spam_comments") + """</a></span> """;
         }
     }
     if ($p.view == "entry") {print safe "$comments_showspam | ";}
@@ -1479,7 +1479,7 @@
             $pages = "$pages <b>[$i]</b> ";
         } else {
                 var string url_of = $.comment_pages->url_of($i);
-                $pages = """$pages <a href="$url_of#$*text_comments_id" class="link"><b>[$i]</b></a> """;
+                $pages = """$pages <a href="$url_of" class="link"><b>[$i]</b></a> """;
             }
         }
             println $pages;
@@ -1487,7 +1487,7 @@
             println "&nbsp;";
         }
         println safe """</div><div class="comments"><div class="leave_comment">(""";
-        $this->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.entry.comments.post_url+"#$*text_addcomment_id"});
+        $this->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.entry.comments.post_url});
         """)</div>""";
         $this->print_reply_container({"target" => "topcomment"});
         if ($.comment_pages.total_subitems > 0) {

Modified: trunk/bin/upgrading/s2layers/lickable/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/lickable/layout.s2	2012-06-04 14:45:59 UTC (rev 22162)
+++ trunk/bin/upgrading/s2layers/lickable/layout.s2	2012-06-04 15:17:45 UTC (rev 22163)
@@ -1105,9 +1105,9 @@
         print safe "$*text_max_comments";
     } else {
         if ($p.view == "entry") {
-                $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url+"#$*text_addcomment_id"});
+                $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url});
         } else {
-        print safe "<a href=\"$.post_url#$*text_addcomment_id\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
+        print safe "<a href=\"$.post_url\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
        }
     }
 }
@@ -1127,7 +1127,7 @@
             if ($p.showspam) {
                 $comments_showspam = """<li>""" + get_plural_phrase($.comments.spam_counter, "text_read_spam_comments") + """</li>""";
             } else {
-                $comments_showspam = """<li><a href=\"$.comments.read_spam_url#$*text_comments_id\">""" + get_plural_phrase($.comments.spam_counter, "text_read_all_spam_comments") + """</a></li>""";
+                $comments_showspam = """<li><a href=\"$.comments.read_spam_url\">""" + get_plural_phrase($.comments.spam_counter, "text_read_all_spam_comments") + """</a></li>""";
             }
         }
         if ($p.view == "entry") {print safe "$comments_showspam";}
@@ -1498,7 +1498,7 @@
             print "<li class=\"current\">$i</li>";
         }
         else {
-            print "<li><a href=\""+$.comment_pages->url_of($i)+"#$*text_comments_id\">$i</a></li>";
+            print "<li><a href=\""+$.comment_pages->url_of($i)+"\">$i</a></li>";
         }
     }
     print "</ul>";

Modified: trunk/bin/upgrading/s2layers/magazine/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/magazine/layout.s2	2012-06-04 14:45:59 UTC (rev 22162)
+++ trunk/bin/upgrading/s2layers/magazine/layout.s2	2012-06-04 15:17:45 UTC (rev 22163)
@@ -657,9 +657,9 @@
         print safe "$*text_max_comments";
     } else {
         if ($p.view == "entry") {
-                $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url+"#$*text_addcomment_id"});
+                $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url});
         } else {
-        print safe "<a href=\"$.post_url#$*text_addcomment_id\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
+        print safe "<a href=\"$.post_url\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
        }
     }
 }
@@ -684,7 +684,7 @@
                 if ($p.showspam) {
                     print safe get_plural_phrase($.spam_counter, "text_read_spam_comments");
                 } else {
-                    print safe """<a href=\"$.read_spam_url#$*text_comments_id\">""" + get_plural_phrase($.spam_counter, "text_read_all_spam_comments") + """</a>""";
+                    print safe """<a href=\"$.read_spam_url\">""" + get_plural_phrase($.spam_counter, "text_read_all_spam_comments") + """</a>""";
                 }
             }
         }

Modified: trunk/bin/upgrading/s2layers/notepad/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/notepad/layout.s2	2012-06-04 14:45:59 UTC (rev 22162)
+++ trunk/bin/upgrading/s2layers/notepad/layout.s2	2012-06-04 15:17:45 UTC (rev 22163)
@@ -594,9 +594,9 @@
         print safe "$*text_max_comments";
     } else {
         if ($p.view == "entry") {
-                $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url+"#$*text_addcomment_id"});
+                $p->print_reply_link({"target" => "topcomment", "linktext" => $*text_post_comment, "reply_url" => $.post_url});
         } else {
-        print safe "<a href=\"$.post_url#$*text_addcomment_id\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
+        print safe "<a href=\"$.post_url\">"+($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment)+"</a>";
        }
     }
 }
@@ -622,7 +622,7 @@
                 if ($p.showspam) {
                      print safe get_plural_phrase($.spam_counter, "text_read_spam_comments");
                 } else {
-                     print safe """<a href=\"$.read_spam_url#$*text_comments_id\">""" + get_plural_phrase($.spam_counter, "text_read_all_spam_comments") + """</a>""";
+                     print safe """<a href=\"$.read_spam_url\">""" + get_plural_phrase($.spam_counter, "text_read_all_spam_comments") + """</a>""";
                 }
             }
         if (($.show_postlink and $.show_readlink) or ($.show_postlink and $p.view == "entry" and $.spam_counter > 0)) {

Tags: esavintcev, livejournal, s2, savintsev_egor
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments