Made quite a few changes so that the code works in the server
[vanilla-miry.git] / themes / people_signin_form_nopostback.php
blobf68b0945134f32d49e86398192eb61caa4919b03
1 <?php
2 // Note: This file is included from the library/People/People.Control.SignInForm.php control.
4 $this->Render_Warnings();
5 echo '<div id="Form" class="SignInForm">
6 <fieldset>';
7 $this->Render_PostBackForm($this->FormName);
8 echo '<ul>
9 <li>
10 <label for="txtUsername">'.$this->Context->GetDefinition('Username').'</label>
11 <input id="txtUsername" type="text" name="Username" value="'.$this->Username.'" class="Input" maxlength="20" />
12 </li>
13 <li>
14 <label for="txtPassword">'.$this->Context->GetDefinition('Password').'</label>
15 <input id="txtPassword" type="password" name="Password" value="" class="Input" />
16 </li>
17 <li id="RememberMe">
18 '.GetDynamicCheckBox('RememberMe', 1, ForceIncomingBool('RememberMe', 0), '', $this->Context->GetDefinition('RememberMe')).'
19 </li>
20 </ul>
21 <div class="Submit"><input type="submit" name="btnSignIn" value="'.$this->Context->GetDefinition('Proceed').'" class="Button" /></div>
22 </form>
23 </fieldset>
24 <ul class="MembershipOptionLinks">
25 <li class="ForgotPasswordLink"><a href="'.GetUrl($this->Context->Configuration, $this->Context->SelfUrl, '', '', '', '', 'PostBackAction=PasswordRequestForm').'">'.$this->Context->GetDefinition('ForgotYourPassword').'</a></li>
26 <li class="ApplyForMembershipLink"><a href="'.GetUrl($this->Context->Configuration, $this->Context->SelfUrl, '', '', '', '', 'PostBackAction=ApplyForm').'">'.$this->Context->GetDefinition('ApplyForMembership').'</a></li>
27 </ul>
28 </div>';