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 a41816b26bc7d143bd2bb02721fa29fb7a2f96e3..077c62f642746dc4f603344da900cf68badb5d65 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 628ba6f44353281ca88641d5cabc5f4f000c7ab4..1ad18ab2940c28cd6554e67fbc78d6a1a9450158 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 82a06ab40680618757f8db8a79f171bca795d9dc..ce2e9afafa4ab4244584e1dade521b672149ad9f 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.'>&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>