X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ftemplates%2FUsercreate.php;h=43bab0e933b8bd27403b74a42478e658b24aba63;hb=f8659ae6ea90d7bc8ce28bfc1caa56153878836f;hp=01da0bd790470739960a3f68ea00a9783ecf0e99;hpb=c8aa42bbfb93e5c19a49664ccee200b304330f69;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/templates/Usercreate.php b/includes/templates/Usercreate.php index 01da0bd790..a39690a72c 100644 --- a/includes/templates/Usercreate.php +++ b/includes/templates/Usercreate.php @@ -38,8 +38,6 @@ class UsercreateTemplate extends BaseTemplate { } function execute() { - global $wgCookieExpiration; - $expirationDays = ceil( $wgCookieExpiration / ( 3600 * 24 ) ); ?>
haveData( 'languages' ) ) { ?> @@ -53,7 +51,7 @@ class UsercreateTemplate extends BaseTemplate {
- html( 'header' ); /* extensions such as ConfirmEdit add form HTML here */ ?> + html( 'header' ); ?>
+ data['formheader'] ) { ?> +
+ html( 'formheader' ); /* extensions such as MobileFrontend add html here */ ?> +
+ +
msgHtml( $inputItem['msg'] ); ?> + > +
haveData( 'extrafields' ) ) { + echo $this->data['extrafields']; + } + // skip one index. $tabIndex++; ?>
getMsg( $this->data['loggedin'] ? 'createacct-another-submit' : 'createacct-submit' ), - 'submit', array( - 'class' => "mw-ui-button mw-ui-big mw-ui-block mw-ui-constructive", 'id' => 'wpCreateaccount', + 'name' => 'wpCreateaccount', 'tabindex' => $tabIndex++ + ), + array( + 'mw-ui-block', + 'mw-ui-constructive', ) ); ?>