diff --git a/plugins/cas_auth_unl/views/default/account/forms/getemail.php b/plugins/cas_auth_unl/views/default/account/forms/getemail.php index dd3920fbf7b4b5f62694f5b4df699268b683cb1c..18c48b96a188b688a76db41c11be8f08e6034617 100644 --- a/plugins/cas_auth_unl/views/default/account/forms/getemail.php +++ b/plugins/cas_auth_unl/views/default/account/forms/getemail.php @@ -1,36 +1,33 @@ <?php + /** + * Elgg Get Email Only SSO register form + * + * @package Elgg + * @subpackage Core + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Curverider Ltd + * @copyright Curverider Ltd 2008-2009 + * @link http://elgg.org/ + */ - /** - * Elgg Get Email Only SSO register form - * - * @package Elgg - * @subpackage Core - * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 - * @author Curverider Ltd - * @copyright Curverider Ltd 2008-2009 - * @link http://elgg.org/ - */ - - // if we're returning from a failed email validation, we'll put the failed email in the email form field - $theiremail = get_input('e'); - +// if we're returning from a failed email validation, we'll put the failed email in the email form field +$theiremail = get_input('e'); ?> - - <h2 class="sec_header">Email Verification</h2> - <div class="three_col left"> - <p>We just want to make sure we have your correct e-mail and then we'll log you in.</p> - <?php - $form_body = "<p><label>" . elgg_echo('email') . "<br />" . elgg_view('input/text' , array('internalname' => 'email', 'class' => "general-textarea", 'value' => $theiremail)) . "</label><br />"; - $form_body .= elgg_view('input/submit', array('value' => elgg_echo('Complete Registration and Login!'))) ."</p>"; - - $ts = time(); - $token = generate_action_token($ts); - echo elgg_view('input/form', array('body' => $form_body, 'action' => $vars['url']."register?__elgg_ts=$ts&__elgg_token=$token")); - ?> - </div> - <div class="col right"> - <div class="zenbox cool"> - <h3>Email Address Usage</h3> - <p>Your email address is only used to send notifications from Planet Red.</p> - </div> - </div> \ No newline at end of file +<h2 class="sec_header">Email Verification</h2> +<div class="three_col left"> + <p>We just want to make sure we have your correct e-mail and then we'll log you in.</p> + <?php + $form_body = "<p><label>" . elgg_echo('email') . "<br />" . elgg_view('input/text' , array('internalname' => 'email', 'class' => "general-textarea", 'value' => $theiremail)) . "</label><br />"; + $form_body .= elgg_view('input/submit', array('value' => elgg_echo('Complete Registration and Login!'))) ."</p>"; + + $ts = time(); + $token = generate_action_token($ts); + echo elgg_view('input/form', array('body' => $form_body, 'action' => $vars['url']."register?__elgg_ts=$ts&__elgg_token=$token")); + ?> +</div> +<div class="col right"> + <div class="zenbox cool"> + <h3>Email Address Usage</h3> + <p>Your email address is only used to send notifications from Planet Red.</p> + </div> +</div>