Skip to content

Commit

Permalink
Merge pull request #646 from miniol/master
Browse files Browse the repository at this point in the history
Site title on the login page links to the page itself
  • Loading branch information
zerocrates committed Jul 20, 2016
2 parents 45160ae + 87324e6 commit 1e58722
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion admin/themes/default/common/login-header.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en-us">
<html lang="<?php echo get_html_lang();?>">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta charset="utf-8">
Expand Down
4 changes: 2 additions & 2 deletions admin/themes/default/users/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
?>
<h1>Omeka</h1>

<h2><?php echo link_to_admin_home_page(); ?></h2>
<h2><?php echo link_to_home_page(option('site_title'), array("title" => __('Go to the public site'))); ?></h2>

<?php echo flash(); ?>

Expand All @@ -17,4 +17,4 @@
<?php echo link_to('users', 'forgot-password', __('(Lost your password?)')); ?>
</p>

<?php echo foot(array(), $footer); ?>
<?php echo foot(array(), $footer); ?>

0 comments on commit 1e58722

Please sign in to comment.