X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ftemplates%2FUsercreate.php;h=43bab0e933b8bd27403b74a42478e658b24aba63;hb=f8659ae6ea90d7bc8ce28bfc1caa56153878836f;hp=b185cb38299827cd2520288a169ab5099d7fd99b;hpb=dfcf9ffd67883186d22ad6b03331ba567a42d352;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/templates/Usercreate.php b/includes/templates/Usercreate.php index b185cb3829..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' ) ) { ?> @@ -73,6 +71,12 @@ class UsercreateTemplate extends BaseTemplate {
+ data['formheader'] ) { ?> +
+ html( 'formheader' ); /* extensions such as MobileFrontend add html here */ ?> +
+ +
msgHtml( $inputItem['msg'] ); ?> + > + getMsg( $this->data['loggedin'] ? 'createacct-another-submit' : 'createacct-submit' ), - $attrs = array( + array( 'id' => 'wpCreateaccount', 'name' => 'wpCreateaccount', 'tabindex' => $tabIndex++