Skip to content
Snippets Groups Projects
Commit 8413eddb authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

added UNL SSO button on the login screen

parent 81b7f47c
No related branches found
No related tags found
No related merge requests found
......@@ -12,9 +12,8 @@
function mobile_unl_init(){
// extend_view('metatags','mobile/metatags');
// Close the mobile_init
extend_view('css', 'mobile_unl/css');
}
// Initialise log browser
register_elgg_event_handler('init','system','mobile_unl_init');
......
<?php
/**
* Elgg Mobile
* A Mobile Client For Elgg
*
* @package Elgg
* @subpackage Core
* @author Mark Harding
* @link http://maestrozone.com
*
*/
// We will just output the standard login form view here
// and alter the css in /mod/mobile_unl/views/mobile/mobile_unl/css.php
echo elgg_view('account/forms/login',"",false,false,"default");
\ No newline at end of file
This diff is collapsed.
<?php
//CSS extended view that adds on to the end of /mod/mobile/views/mobile/css.php
//This file is called in /mod/mobile_unl/start.php in the mobile_unl plugin initialization function
?>
<?php //Login ?>
#login a.wdn_loginLink {
font-size:1.8em;
text-decoration:none;
margin-left:60px;
padding-bottom:15px;
padding-top:33px;
}
#login a.wdn_loginLink span {
background:url("<?php echo $vars['url'];?>mod/unl_theme/views/default/images/wdn_notice_ActionBG.png") no-repeat;
display:inline;
height:45px;
padding:9px 50px 15px 20px;
width:167px;
color:white !important;
}
#login div.two_col {
background:none repeat scroll 0 0 #F7F7F7;
border:1px solid #EDEDED;
margin-bottom:1em;
padding:5px;
}
#login p.login-box label{
font-size:1em;
}
#login input.login-textarea {
width:90%;
font-size:1.2em;
}
\ No newline at end of file
......@@ -20,7 +20,7 @@
<!-- 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 require("elgg_topbar.php");?></div>
<div class="navigation"><?php echo elgg_view('page_elements/elgg_topbar',"",false,false,"mobile");?></div>
</div><!-- /#wrapper_header -->
</div><!-- /#layout_header -->
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment