diff --git a/css/style.css b/css/style.css index d7f50d97..e1d350df 100644 --- a/css/style.css +++ b/css/style.css @@ -203,7 +203,7 @@ td.actions .button_stats { background:#efe; } #login { - width: 300px; + max-width: 300px; margin: 200px auto 0px auto; } #login p{ diff --git a/includes/functions-html.php b/includes/functions-html.php index d633e70b..952793e4 100644 --- a/includes/functions-html.php +++ b/includes/functions-html.php @@ -51,8 +51,11 @@ function yourls_html_head( $context = 'index', $title = '' ) { $tablesorter = true; break; - case 'install': case 'login': + $_title_page = 'Login'; + break; + + case 'install': case 'new': case 'upgrade': break; @@ -75,6 +78,7 @@ function yourls_html_head( $context = 'index', $title = '' ) { // Page title $_title = 'YOURLS — Your Own URL Shortener | ' . yourls_link(); + $_title = $_title_page ? $_title_page . ' — ' . $_title : $_title; $title = $title ? $title . " « " . $_title : $_title; $title = yourls_apply_filter( 'html_title', $title, $context ); @@ -746,35 +750,37 @@ function yourls_login_screen( $error_msg = '' ) { yourls_html_logo(); ?> -