74204840f0bf61022f5a11826a9213e2ee019019
3 if( !defined( 'MEDIAWIKI' ) ) die();
5 require_once( 'includes/SkinTemplate.php' );
8 * HTML template for Special:Userlogin form
10 * @subpackage Templates
12 class UserloginTemplate
extends QuickTemplate
{
14 if( $this->data
['error'] ) {
16 <h2
><?php
$this->msg('loginerror') ?
>:</h2
>
17 <p
class='error'><?php
$this->html('error') ?
></p
>
19 <h2
><?php
$this->msg('login' ) ?
>:</h2
>
20 <?php
$this->msgWiki('loginprompt') ?
>
22 <form name
="userlogin" id
="userlogin" method
="post" action
="<?php $this->text('action') ?>">
25 <td align
='right'><label
for='wpName'><?php
$this->msg('yourname') ?
>:</label
></td
>
27 <input tabindex
='1' type
='text' name
="wpName" id
="wpName"
28 value
="<?php $this->text('name') ?>" size
='20' />
31 <input tabindex
='3' type
='submit' name
="wpLoginattempt"
32 value
="<?php $this->msg('login') ?>" />
36 <td align
='right'><label
for='wpPassword'><?php
$this->msg('yourpassword') ?
>:</label
></td
>
38 <input tabindex
='2' type
='password' name
="wpPassword" id
="wpPassword"
39 value
="<?php $this->text('password') ?>" size
='20' />
42 <input tabindex
='4' type
='checkbox' name
="wpRemember"
43 value
="1" id
="wpRemember"
44 <?php
if( $this->data
['remember'] ) { ?
>checked
="checked"<?php
} ?
>
45 /><label
for="wpRemember"><?php
$this->msg('remembermypassword') ?
></label
>
48 <?php
if( $this->data
['create'] ) { ?
>
50 <td colspan
='3'> 
;</td
>
53 <td align
='right'><label
for='wpRetype'><?php
$this->msg('yourpasswordagain') ?
>:</label
></td
>
55 <input tabindex
='5' type
='password' name
="wpRetype" id
="wpRetype"
56 value
="<?php $this->text('retype') ?>"
59 <td
><?php
$this->msg('newusersonly') ?
></td
>
62 <?php
if( $this->data
['useemail'] ) { ?
>
63 <td align
='right'><label
for='wpEmail'><?php
$this->msg('youremail') ?
>:</label
></td
>
65 <input tabindex
='7' type
='text' name
="wpEmail" id
="wpEmail"
66 value
="<?php $this->text('email') ?>" size
='20' />
69 <?php
if( $this->data
['userealname'] ) { ?
>
72 <td align
='right'><label
for='wpRealName'><?php
$this->msg('yourrealname') ?
>:</label
></td
>
74 <input tabindex
='8' type
='text' name
="wpRealName" id
="wpRealName"
75 value
="<?php $this->text('realname') ?>" size
='20' />
79 <input tabindex
='9' type
='submit' name
="wpCreateaccount"
80 value
="<?php $this->msg('createaccount') ?>" />
81 <?php
if( $this->data
['createemail'] ) { ?
>
82 <input tabindex
='6' type
='submit' name
="wpCreateaccountMail"
83 value
="<?php $this->msg('createaccountmail') ?>" />
88 <?php
if( $this->data
['useemail'] ) { ?
>
90 <td colspan
='3'> 
;</td
>
93 <td colspan
='3' align
='left'>
95 <?php
$this->msgHtml( 'emailforlost' ) ?
><br
/>
96 <input tabindex
='10' type
='submit' name
="wpMailmypassword"
97 value
="<?php if ( $this->data['useemailauthent'] ) {
98 $this->msg('mailmypasswordauthent') ?>" />
100 $this->msg('mailmypassword') ?
>" />
109 $this->msgWiki( 'loginend' );