Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fd34163

Browse files
committedFeb 25, 2012
Center logo on signup page.
The logo is now centered on the following pages: 1. login_page 2. signup_page 3. signup
1 parent 37c2b0a commit fd34163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎core/html_api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ function html_top_banner() {
463463
if( !is_blank( $t_page ) && file_exists( $t_page ) && !is_dir( $t_page ) ) {
464464
include( $t_page );
465465
} else if( $t_show_logo ) {
466-
if( is_page_name( 'login_page' ) ) {
466+
if ( is_page_name( 'login_page' ) || is_page_name( 'signup_page' ) || is_page_name( 'signup' ) ) {
467467
$t_align = 'center';
468468
} else {
469469
$t_align = 'left';

2 commit comments

Comments
 (2)

atrol commented on Feb 25, 2012

@atrol
Member

IMO lost_pwd_page should also be added to this list of pages.

vboctor commented on Feb 26, 2012

@vboctor
MemberAuthor

You are right, good catch. I just checked in the fix and refactored it into a re-usable method that can be used from other places, e.g. custom headers, etc.

Please sign in to comment.