From: Florian Date: Tue, 7 Jul 2015 16:51:27 +0000 (+0200) Subject: Allow extensions to add a banner to UserLogin and CreateAccount special pages X-Git-Tag: 1.31.0-rc.0~10713^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=184fbf381a6e25eef06c44402ed162dc45fae2a3;p=lhc%2Fweb%2Fwiklou.git Allow extensions to add a banner to UserLogin and CreateAccount special pages Some extensions, e.g. MobileFrontend, customize the UserLogin and UserCreate special pages. This change adds the possibility to add some HTML after the warning and/or error messages are printed to the output. This will be used in MobileFrontend to get rid of the own userlogin template. Bug: T87261 Change-Id: Ia81f7c52f08e8dcc73ac751432560c4077d4bd39 --- diff --git a/includes/templates/Usercreate.php b/includes/templates/Usercreate.php index f09b6bba7f..c17d57532d 100644 --- a/includes/templates/Usercreate.php +++ b/includes/templates/Usercreate.php @@ -73,6 +73,12 @@ class UsercreateTemplate extends BaseTemplate { + data['formheader'] ) { ?> +
+ html( 'formheader' ); /* extensions such as MobileFrontend add html here */ ?> +
+ +
+ data['formheader'] ) { ?> +
+ html( 'formheader' ); /* extensions such as MobileFrontend add html here */ ?> +
+