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

From: Date: Wed, 29 Jun 2011 02:41:41 +0000
Subject: svn: /web/php/trunk/include/ shared-manual.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11351@lists.php.net to get a copy of this message
philip Wed, 29 Jun 2011 02:41:41 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312614 Log: Added online editor links to all manual pages. Let's see if anyone notices. Link location subject to change. 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-06-29 01:26:25 UTC (rev 312613) +++ web/php/trunk/include/shared-manual.inc 2011-06-29 02:41:41 UTC (rev 312614) @@ -254,17 +254,19 @@ } echo " </span>\n <hr />\n"; - // Provide last updated information on this page - echo " <span class=\"lastupdated\">Last updated: {$PGI['lastmod']}</span>\n"; + // Quick access to filename + $filename = $PGI['this'][0]; + + // Provide last updated and online editor information on this page + $elink = '[<a href="https://edit.php.net/?project=PHP&perm=/{$PGI['head'][1]}/{$filename}">edit</a>]'; + echo " <span class=\"lastupdated\">{$elink} Last updated: {$PGI['lastmod']}</span>\n"; + // Print out language switch on top of manual pages echo " <div class=\"langchooser\">\n"; if ($location != 'bottom') { $links = array(); - - // Quick access to filename - $filename = $PGI['this'][0]; // Disable all languages without online content // Add a dropdown item for all languages left

« previous php.webmaster (#11351) next »