From a1e8593f139cd4cf1f50bb57650e7b65d91323f9 Mon Sep 17 00:00:00 2001
From: Seth Meranda <smeranda2@unl.edu>
Date: Wed, 6 Apr 2011 16:34:16 +0000
Subject: [PATCH] for mobile, add the viewport meta tag.

---
 www/index.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/index.php b/www/index.php
index 892bf97..4082fd0 100644
--- a/www/index.php
+++ b/www/index.php
@@ -20,6 +20,9 @@ $page->head .= '
 <link rel="stylesheet" type="text/css" href="http://directory.unl.edu/css/peoplefinder_default.css" />
 <link rel="stylesheet" type="text/css" href="searchCSS.css" />
 ';
+if ($template == 'Mobile') {
+	$page->head .='<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />';
+};
 $page->addScript('searchFunc.js');
 
 if (isset($_GET['u']) //u is referring site
-- 
GitLab