svn: /web/php/trunk/js/ common.js

From: Date: Wed, 29 Dec 2010 19:08:15 +0000
Subject: svn: /web/php/trunk/js/ common.js
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9948@lists.php.net to get a copy of this message
bjori Wed, 29 Dec 2010 19:08:15 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306828 Log: Throw 'edit this page' into the footer of manual pages, linking to the OE Changed paths: U web/php/trunk/js/common.js Modified: web/php/trunk/js/common.js =================================================================== --- web/php/trunk/js/common.js 2010-12-29 19:05:39 UTC (rev 306827) +++ web/php/trunk/js/common.js 2010-12-29 19:08:15 UTC (rev 306828) @@ -86,6 +86,10 @@ }); }); if ($("#quicktoc").length) { + var edit = "<li><a href='https://edit.php.net/?perm=/" + getLanguage() + "/" + $("section.docs > div").attr("id") + "&project=PHP'>Edit this page</a></li>"; + // Add edit this page link to the footer + $($(".footmenu")[1]).append(edit); + var l = ""; $(".refsect1 h3").each(function() { var id = $(this).parent().attr("id");

« previous php.webmaster (#9948) next »