Skip to content
Snippets Groups Projects
Commit 15e84911 authored by Seth Meranda's avatar Seth Meranda
Browse files

Moved the hidden login inlineHTML content for colorbox to the same file the call is at.

parent fe180833
No related branches found
No related tags found
No related merge requests found
......@@ -377,18 +377,4 @@
?>
<a href="featured/" title="See all the featured Huskers">See all the featured Huskers...</a>
</div>
<?php //This is the login details hidden with CSS and displayed in the colorbox.?>
<div class="hidden">
<div id="login-box">
<h2>Huskers Worldwide</h2>
<?php
$form_body = "<p class=\"login-box\"><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')) . "</label><br />";
$form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea')) . "</label><br />";
$form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . "</p>";
$form_body .= "<p><a href=\"". $vars['url'] ."account/register.php\">" . elgg_echo('register') . "</a> | <a href=\"". $vars['url'] ."account/forgotten_password.php\">" . elgg_echo('user:password:lost') . "</a></p>";
echo elgg_view('input/form', array('body' => $form_body, 'action' => "". $vars['url'] ."action/login"));
?>
<a href="http://localhost/workspace/UNL_Elgg/elgg/?loginwith=UNLlogin">Sign on with CAS</a>.
</div>
</div>
</div>
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