svn: /web/php/trunk/include/ shared-manual.inc
| From: | Richard Quadling | Date: | Fri, 16 Sep 2011 14:54:16 +0000 |
| Subject: | svn: /web/php/trunk/include/ shared-manual.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-12201@lists.php.net to get a copy of this message | ||
rquadling Fri, 16 Sep 2011 14:54:16 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=316855
Log:
Fix bug#55711
Use the id of the "Report a bug" section rather than the translated text.
Use # rather than %23 in the link.
Bug: https://bugs.php.net/55711 (Open) Report a bug with
#sections are reported as %23section
Changed paths:
U web/php/trunk/include/shared-manual.inc
Modified: web/php/trunk/include/shared-manual.inc
===================================================================
--- web/php/trunk/include/shared-manual.inc 2011-09-16 13:29:52 UTC (rev 316854)
+++ web/php/trunk/include/shared-manual.inc 2011-09-16 14:54:16 UTC (rev 316855)
@@ -130,7 +130,7 @@
};
$(".refsect1 h3.title").each(function() {
- url = "http://bugs.php.net/report.php?bug_type=Documentation+problem&manpage="
+ $(this).parent().parent().attr("id") + "%23" + $(this).text();
+ url = "http://bugs.php.net/report.php?bug_type=Documentation+problem&manpage="
+ $(this).parent().parent().attr("id") + "#" +
$(this).parent().attr("id");
$(this).parent().prepend("<div class=\'reportbug\'><a href=\'"
+ url + "\'>Report a bug</a></div>");
$(this).prepend("<a class=\'toggler shown\' href=\'#\'><img
src=\'/images/notes-reject.gif\' alt=\'reject note\' /></a> ");
});