Re: com web/php: fix header: include/header.inc

From: Date: Wed, 04 Dec 2013 19:00:24 +0000
Subject: Re: com web/php: fix header: include/header.inc
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17354@lists.php.net to get a copy of this message
On Wed, Dec 4, 2013 at 10:54 AM, Joe Watkins <krakjoe@php.net> wrote: > Commit: 42853fd91a7abdde143809c269984cdb691c992a > Author: krakjoe <joe.watkins@live.co.uk> Wed, 4 Dec 2013 18:54:29 +0000 > Parents: f6d5200c75c51ae9eafda4fc93e5cb24e87f205e > Branches: master > > Link: > http://git.php.net/?p=web/php.git;a=commitdiff;h=42853fd91a7abdde143809c269984cdb691c992a > > Log: > fix header > > Changed paths: > M include/header.inc > > > Diff: > diff --git a/include/header.inc b/include/header.inc > index bb0ba9b..039ab32 100755 > --- a/include/header.inc > +++ b/include/header.inc > @@ -26,31 +26,31 @@ if (isset($shortname) && $shortname) { > <html xmlns="http://www.w3.org/1999/xhtml" > lang="<?php echo $lang?>"> > <head> > > - <meta charset="utf-8"> > - <meta name="viewport" content="width=device-width"> > - <meta name="viewport" content="width=device-width, > initial-scale=1.0"> > + <meta charset="utf-8" /> > + <meta name="viewport" content="width=device-width" /> > + <meta name="viewport" content="width=device-width, initial-scale=1.0" > /> > > <title>PHP: <?php echo $title ?></title> > > - <link rel="shortcut icon" href="<?php echo $STATIC_ROOT > ?>favicon.ico"> > - <link rel="search" type="application/opensearchdescription+xml" > href="http://php.net/phpnetimprovedsearch.src" > title="Add PHP.net search"> > - <link rel="alternate" type="application/atom+xml" href="<?php > echo $MYSITE ?>releases/feed.php" title="PHP Release feed"> > - <link rel="alternate" type="application/atom+xml" href="<?php > echo $MYSITE ?>feed.atom" title="PHP: Hypertext Preprocessor"> > + <link rel="shortcut icon" href="<?php echo $STATIC_ROOT > ?>favicon.ico" /> > + <link rel="search" type="application/opensearchdescription+xml" > href="http://php.net/phpnetimprovedsearch.src" > title="Add PHP.net search" /> > + <link rel="alternate" type="application/atom+xml" href="<?php > echo $MYSITE ?>releases/feed.php" title="PHP Release feed" /> > + <link rel="alternate" type="application/atom+xml" href="<?php > echo $MYSITE ?>feed.atom" title="PHP: Hypertext Preprocessor" /> > > <?php if (isset($_SERVER['BASE_PAGE'])): ?> > - <link rel="canonical" > href="http://php.net/<?php echo > $_SERVER['BASE_PAGE']?>"> > + <link rel="canonical" > href="http://php.net/<?php echo > $_SERVER['BASE_PAGE']?>" /> > <?php if ($shortname): ?> > - <link rel="shorturl" href="<?php echo $shorturl ?>"> > + <link rel="shorturl" href="<?php echo $shorturl ?>" /> > <?php endif ?> > <?php endif ?> > > <?php foreach($config["meta-navigation"] as $rel => $page): ?> > - <link rel="<?php echo $rel ?>" href="<?php echo $MYSITE > ?><?php echo $page ?>"> > + <link rel="<?php echo $rel ?>" href="<?php echo $MYSITE > ?><?php echo $page ?>" /> > <?php endforeach ?> > > - <link href='éóþI´Sœ•øÇ+sy} > http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic|Source+Code+Pro&amp;subset=latin,latin-ext' > rel='stylesheet' type='text/css'> > + <link href='µIGf»¿yª.!÷Q > ùzhttp://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic|Source+Code+Pro&amp;subset=latin,latin-ext' > rel='stylesheet' type='text/css' /> > <?php foreach($CSS as $filename => $modified): ?> > -<link rel="stylesheet" type="text/css" href="<?php echo > $STATIC_ROOT ?>cached.php?f=styles/<?php echo $filename?>&t=<?php echo > $modified?>" media="screen"> > +<link rel="stylesheet" type="text/css" href="<?php echo > $STATIC_ROOT ?>cached.php?f=styles/<?php echo $filename?>&t=<?php echo > $modified?>" media="screen" /> > <?php endforeach ?> This is not a fix, this is breaking the header. Please revert. -Hannes

« previous php.webmaster (#17354) next »