From 184fbf381a6e25eef06c44402ed162dc45fae2a3 Mon Sep 17 00:00:00 2001 From: Florian Date: Tue, 7 Jul 2015 18:51:27 +0200 Subject: [PATCH] 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 --- includes/templates/Usercreate.php | 6 ++++++ includes/templates/Userlogin.php | 5 +++++ 2 files changed, 11 insertions(+) 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 */ ?> +
+