svn: /web/php/branches/PROTOTYPE_2010/ header.php

From: Date: Sun, 26 Dec 2010 11:57:33 +0000
Subject: svn: /web/php/branches/PROTOTYPE_2010/ header.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9794@lists.php.net to get a copy of this message
bjori Sun, 26 Dec 2010 11:57:33 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306654 Log: Add title support, and sidebar data The 'globals' are now in layout.inc Changed paths: U web/php/branches/PROTOTYPE_2010/header.php Modified: web/php/branches/PROTOTYPE_2010/header.php =================================================================== --- web/php/branches/PROTOTYPE_2010/header.php 2010-12-26 11:56:53 UTC (rev 306653) +++ web/php/branches/PROTOTYPE_2010/header.php 2010-12-26 11:57:33 UTC (rev 306654) @@ -1,16 +1,9 @@ -<?php -$MYSITE = "/"; // Will be http://[foo.]php.net -$MY_LANG = 'en'; // Will use lang from accept header, or last saved 'preferred lang' -if (!isset($curr)) { - $curr = "docs"; // Quick workaround to change the 'current' highlighting -} -?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $MY_LANG?>" lang="<?php echo $MY_LANG?>"> <head> - <title>PHP: Hypertext Preprocessor</title> + <title>PHP: <?php $title ?></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> @@ -215,3 +208,9 @@ </div> <div id="layout"> +<?php +if (!empty($SIDEBAR_DATA)) { + echo '<aside id="leftbar">', "\n$SIDEBAR_DATA\n</aside>\n"; +} +?> +

« previous php.webmaster (#9794) next »