From 5f17a230edd7963e40ae66df1771e79e095510ca Mon Sep 17 00:00:00 2001
From: Matthew Juhl <mjuhl24@gmail.com>
Date: Wed, 21 Apr 2010 21:28:55 +0000
Subject: [PATCH] More fixes for mobile UNL

---
 .../views/mobile/form/forms/display_form_content.php          | 2 +-
 .../mobile_unl/views/mobile/page_elements/header_contents.php | 2 --
 plugins/mobile_unl/views/mobile/pageshells/pageshell.php      | 4 +++-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/plugins/mobile_unl/views/mobile/form/forms/display_form_content.php b/plugins/mobile_unl/views/mobile/form/forms/display_form_content.php
index a41816b2..077c62f6 100644
--- a/plugins/mobile_unl/views/mobile/form/forms/display_form_content.php
+++ b/plugins/mobile_unl/views/mobile/form/forms/display_form_content.php
@@ -44,7 +44,6 @@ END;
 	$body .= '<div class="tabber">';
 	$body .= '<div class="tabberloading" ></div>';
 	foreach($tab_data as $tab => $html) {
-		
 		if ($html) {
 			$body .= "<div class=\"tabbertab\" title=\"$tab\">";
 			$body .= $html;
@@ -58,4 +57,5 @@ END;
 	}
 }
 echo $body;
+
 ?>
\ No newline at end of file
diff --git a/plugins/mobile_unl/views/mobile/page_elements/header_contents.php b/plugins/mobile_unl/views/mobile/page_elements/header_contents.php
index 628ba6f4..1ad18ab2 100755
--- a/plugins/mobile_unl/views/mobile/page_elements/header_contents.php
+++ b/plugins/mobile_unl/views/mobile/page_elements/header_contents.php
@@ -18,8 +18,6 @@
 <div id="layout_header">
 <div id="wrapper_header">
 
-	<!-- site name -->
-	<div id="logo"><a href="<?php echo $vars['url']; ?>pg/dashboard/"><img src="<?php echo $vars['url']; ?>mod/mobile/graphics/elgg_toolbar_logo.png" /></a></div>
 <div class="navigation"><?php echo elgg_view('page_elements/elgg_topbar',"",false,false,"mobile");?></div>
 	
 </div><!-- /#wrapper_header -->
diff --git a/plugins/mobile_unl/views/mobile/pageshells/pageshell.php b/plugins/mobile_unl/views/mobile/pageshells/pageshell.php
index 82a06ab4..ce2e9afa 100755
--- a/plugins/mobile_unl/views/mobile/pageshells/pageshell.php
+++ b/plugins/mobile_unl/views/mobile/pageshells/pageshell.php
@@ -38,6 +38,8 @@ UNL_Templates::$options['version'] = 3;
 $page = UNL_Templates::factory('Popup');
 $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 .= '<link rel="stylesheet" href="' . $vars['url'] .'_css/css.css?lastcache='.$vars['config']->lastcache.'>&amp;viewtype=mobile&view=mobile" type="text/css" />';
+
 $page->head .= <<<END
 <script type="text/javascript" src="http://m.unl.edu/mobile.js"></script>
 <link media="only screen and (max-device-width: 480px)" href="http://m.unl.edu/mobile.css" type="text/css" rel="stylesheet" />
@@ -53,7 +55,7 @@ END;
 
 $page->maincontentarea .= elgg_view('page_elements/header_contents', $vars);
 
-$page->maincontentarea .= '<div id="layout_canvas">' . elgg_view('messages/list', array('object' => $vars['sysmessages'])) . $vars['body'];
+$page->maincontentarea .= '<div id="layout_canvas">' . $vars['body'];
 
 $page->maincontentarea .= <<<END
 <div class="clearfloat"></div>
-- 
GitLab