svn: /web/php/trunk/ include/shared-manual.inc styles/site.css

From: Date: Fri, 25 Sep 2009 19:45:20 +0000
Subject: svn: /web/php/trunk/ include/shared-manual.inc styles/site.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-5965@lists.php.net to get a copy of this message
bjori Fri, 25 Sep 2009 19:45:20 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288820 Log: Make it easier to report bugs Changed paths: U web/php/trunk/include/shared-manual.inc U web/php/trunk/styles/site.css Modified: web/php/trunk/include/shared-manual.inc =================================================================== --- web/php/trunk/include/shared-manual.inc 2009-09-25 19:39:27 UTC (rev 288819) +++ web/php/trunk/include/shared-manual.inc 2009-09-25 19:45:20 UTC (rev 288820) @@ -111,8 +111,10 @@ $(".refsect1 .title").click(function() { $(this).siblings().slideToggle("slow"); }); -}); -$(document).ready(function() { + $(".refsect1 .title").each(function() { + url = "http://bugs.php.net/report.php?manpage=" + $(this).parent().parent().attr("id") + "%23" + $(this).text(); + $(this).parent().prepend("<div class=\'reportbug\'><a href=\'" + url + "\'>Report a bug</a></div>"); + }); $("#usernotes .head").click(function() { $(this).next().slideToggle("slow"); }); Modified: web/php/trunk/styles/site.css =================================================================== --- web/php/trunk/styles/site.css 2009-09-25 19:39:27 UTC (rev 288819) +++ web/php/trunk/styles/site.css 2009-09-25 19:45:20 UTC (rev 288820) @@ -997,6 +997,9 @@ div.footnote p { text-indent: 10px; } +div.reportbug { + float: right; +} /* * vim: noet */

« previous php.webmaster (#5965) next »