Commit: 62086b0b0fd0b72d512f2783c58fdafaca975d58 Author: Hannes Magnusson <[email protected]> Thu, 21 Nov 2013 09:30:09 -0800 Parents: 924473e538938e057984264c845c65e16f56f433 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=62086b0b0fd0b72d512f2783c58fdafaca975d58 Log: Make this consistently html5 looking Changed paths: M include/header.inc Diff: diff --git a/include/header.inc b/include/header.inc index 043f6fb..f0c5fd1 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 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='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic|Source+Code+Pro&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 ?>styles/<?php echo $filename?>?t=<?php echo $modified?>" media="screen" /> +<link rel="stylesheet" type="text/css" href="<?php echo $STATIC_ROOT ?>styles/<?php echo $filename?>?t=<?php echo $modified?>" media="screen"> <?php endforeach ?> <!--[if lte IE 7]> @@ -66,7 +66,7 @@ if (isset($shortname) && $shortname) { <![endif]--> <?php if (!empty($_SERVER["BASE_HREF"])): ?> - <base href="<?php echo $_SERVER["BASE_HREF"] ?>" /> + <base href="<?php echo $_SERVER["BASE_HREF"] ?>"> <?php endif ?> </head> @@ -76,7 +76,7 @@ if (isset($shortname) && $shortname) { <div class="navbar-inner"> <div class="container"> <div class="row-fluid"> - <a href="/" class="brand"><img src="/images/logos/[email protected]" width="48" height="24" alt="php"/></a> + <a href="/" class="brand"><img src="/images/logos/[email protected]" width="48" height="24" alt="php"></a> <div id="mainmenu-toggle-overlay"></div> <input type="checkbox" id="mainmenu-toggle"> <ul class="nav"> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
