com web/php: Adding meta viewport so responsivenss kicks in for mobile devices: include/header.inc
| From: | Paul Dragoonis | Date: | Sun, 06 Oct 2013 12:47:10 +0000 |
| Subject: | com web/php: Adding meta viewport so responsivenss kicks in for mobile devices: include/header.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-16786@lists.php.net to get a copy of this message | ||
Commit: c89a700a44cf8013b7c4fa02afb32e6d1355d269
Author: Paul Dragoonis <dragoonis@gmail.com> Sun, 6 Oct 2013 13:47:10 +0100
Parents: a55cd8e4117e0fd0fc4481039b16fca301b03807
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=c89a700a44cf8013b7c4fa02afb32e6d1355d269
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" />