From f6862d4a7acae1002cb5c196ba74ed9bfac8725f Mon Sep 17 00:00:00 2001
From: Seth Meranda <smeranda2@unl.edu>
Date: Thu, 30 Sep 2010 22:14:47 +0000
Subject: [PATCH] set the default zoom level for inept iPhone, adjust spacing
 for loginMessage again.

---
 plugins/mobile_unl/views/mobile/mobile_unl/css.php       | 2 +-
 plugins/mobile_unl/views/mobile/pageshells/pageshell.php | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/mobile_unl/views/mobile/mobile_unl/css.php b/plugins/mobile_unl/views/mobile/mobile_unl/css.php
index 658b3519..df83e087 100644
--- a/plugins/mobile_unl/views/mobile/mobile_unl/css.php
+++ b/plugins/mobile_unl/views/mobile/mobile_unl/css.php
@@ -52,7 +52,7 @@ body.landscapeRight #maincontent * {max-width:450px !important;}
 }
 #casOption .loginMessage {
 	float:left;
-	margin-left:10px;
+	margin-left:5px;
 	width:200px;
 }
 #elggOption {
diff --git a/plugins/mobile_unl/views/mobile/pageshells/pageshell.php b/plugins/mobile_unl/views/mobile/pageshells/pageshell.php
index af65a9be..8addd966 100755
--- a/plugins/mobile_unl/views/mobile/pageshells/pageshell.php
+++ b/plugins/mobile_unl/views/mobile/pageshells/pageshell.php
@@ -37,6 +37,7 @@ UNL_Templates::$options['version'] = 3;
 $page = UNL_Templates::factory('Mobile');
 $page->doctitle = '<title>'.$vars['title'].'</title>';
 $page->titlegraphic = '<h1><a href="'.$vars['config']->url.'" title="Planet Red Home">'.$vars['config']->sitename.'</a></h1>';
+$page->head .= '<meta name="viewport" content="width=320;" />';
 $page->head .= '<link rel="stylesheet" href="' . $vars['url'] .'_css/css.css?lastcache='.$vars['config']->lastcache.'>&amp;viewtype=mobile&view=mobile" type="text/css" />';
 $page->head .= '<script src="http://www.google.com/jsapi?key=ABQIAAAAwe1KxJQmdsBUA9Mt6kzATRTiIXXUG0D2APo0gbOVrrcYFR1BiRQFxzzCOWOXtlPqB8ZjQRcBMaFaOA" type="text/javascript"></script>';
 $page->head .= '
-- 
GitLab