svn: /web/php/trunk/include/ shared-manual.inc
| From: | Moacir de Oliveira Miranda Júnior | Date: | Thu, 17 Dec 2009 19:03:14 +0000 |
| Subject: | svn: /web/php/trunk/include/ shared-manual.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-6777@lists.php.net to get a copy of this message | ||
moacir Thu, 17 Dec 2009 19:03:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292266
Log:
Adding links to tocfeed from PhD in extra_header_links
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 2009-12-17 18:58:45 UTC (rev 292265)
+++ web/php/trunk/include/shared-manual.inc 2009-12-17 19:03:14 UTC (rev 292266)
@@ -78,26 +78,30 @@
// }}}
manual_sidebar();
+ $link = array(
+ "contents" => $PGI["home"][0],
+ "index" => $PGI["up"][0],
+ "prev" => $PGI["prev"][0],
+ "next" => $PGI["next"][0],
+ "schema.dc" => "http://purl.org/dc/elements/1.1/",
+ "schema.rdfs" => "http://www.w3.org/2000/01/rdf-schema#",
+ array(
+ "rev" => "canonical",
+ "rel" => "self alternate shorter shorturl shortlink",
+ "href" => "http://php.net/"
. $shorturl,
+ ),
+ array(
+ "rel" => "license",
+ "href" => "http://creativecommons.org/licenses/by/3.0/",
+ "about" => "#content",
+ ),
+ );
+ if (isset($PGI["extra_header_links"])) {
+ $link[] = (array)$PGI["extra_header_links"];
+ }
+
site_header("$title - Manual", array(
- "link" => array(
- "contents" => $PGI["home"][0],
- "index" => $PGI["up"][0],
- "prev" => $PGI["prev"][0],
- "next" => $PGI["next"][0],
- "schema.dc" => "http://purl.org/dc/elements/1.1/",
- "schema.rdfs" => "http://www.w3.org/2000/01/rdf-schema#",
- array(
- "rev" => "canonical",
- "rel" => "self alternate shorter shorturl shortlink",
- "href" => "http://php.net/" . $shorturl,
- ),
- array(
- "rel" => "license",
- "href" => "http://creativecommons.org/licenses/by/3.0/",
- "about" => "#content",
- ),
-
- ),
+ "link" => $link,
"profile" => "http://purl.org/NET/erdf/profile",
"extra_headers" => array(
"Link" => "<http://php.net/" .
$shorturl . ">; rel=shorturl",