Commit: f0d3830785ffcc2d6263df44ac7a3e97fef93bf1 Author: Paul Dragoonis <[email protected]> Sun, 6 Oct 2013 13:47:10 +0100 Parents: 37095c73656b00ef44bda9043910b1f955036453 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=f0d3830785ffcc2d6263df44ac7a3e97fef93bf1 Log: Adding meta viewport so responsivenss kicks in for mobile devices Changed paths: M include/header.inc Diff: diff --git a/include/header.inc b/include/header.inc index 646143b..b6f5ca5 100644 --- a/include/header.inc +++ b/include/header.inc @@ -18,9 +18,11 @@ if (isset($shortname) && $shortname) { <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo $lang?>"> <head> - <title>PHP: <?php echo $title ?></title> + <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"/> + <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" /> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
