Skip to content
Snippets Groups Projects
Commit dcb092e6 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #46927 by markus/killes: added missing t() functions.

parent f76ff3d4
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<table border="0" cellpadding="0" cellspacing="0" id="header"> <table border="0" cellpadding="0" cellspacing="0" id="header">
<tr> <tr>
<td id="logo"> <td id="logo">
<?php if ($logo) { ?><a href="<?php print $base_path ?>" title="Home"><img src="<?php print $logo ?>" alt="Home" /></a><?php } ?> <?php if ($logo) { ?><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a><?php } ?>
<?php if ($site_name) { ?><h1 class='site-name'><a href="<?php print $base_path ?>" title="Home"><?php print $site_name ?></a></h1><?php } ?> <?php if ($site_name) { ?><h1 class='site-name'><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php } ?>
<?php if ($site_slogan) { ?><div class='site-slogan'><?php print $site_slogan ?></div><?php } ?> <?php if ($site_slogan) { ?><div class='site-slogan'><?php print $site_slogan ?></div><?php } ?>
</td> </td>
<td id="menu"> <td id="menu">
......
...@@ -43,7 +43,7 @@ function chameleon_page($content) { ...@@ -43,7 +43,7 @@ function chameleon_page($content) {
$output .= " <div id=\"header\">"; $output .= " <div id=\"header\">";
if ($logo = theme_get_setting('logo')) { if ($logo = theme_get_setting('logo')) {
$output .= " <a href=\"$base_path\" title=\"Home\"><img src=\"$logo\" alt=\"Home\" /></a>"; $output .= " <a href=\"$base_path\" title=\"". t('Home') ."\"><img src=\"$logo\" alt=\"". t('Home') ."\" /></a>";
} }
if (theme_get_setting('toggle_name')) { if (theme_get_setting('toggle_name')) {
$output .= " <h1 class=\"site-name title\">". l(variable_get('site_name', 'drupal'), ""). "</h1>"; $output .= " <h1 class=\"site-name title\">". l(variable_get('site_name', 'drupal'), ""). "</h1>";
......
...@@ -9,19 +9,19 @@ ...@@ -9,19 +9,19 @@
<body bgcolor="#ffffff"> <body bgcolor="#ffffff">
<div class="hide"><a href="#content" title="Skip navigation." accesskey="2">Skip navigation</a>.</div> <div class="hide"><a href="#content" title="<?php print t('Skip navigation') ?>." accesskey="2"><?php print t('Skip navigation') ?></a>.</div>
<table id="primary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%"> <table id="primary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
<tr> <tr>
<td id="home" width="10%"> <td id="home" width="10%">
<?php if ($logo) : ?> <?php if ($logo) : ?>
<a href="<?php print $base_path ?>" title="Home"><img src="<?php print($logo) ?>" alt="Home" width="144" height="63" border="0" /></a> <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print($logo) ?>" alt="<?php print t('Home') ?>" border="0" /></a>
<?php endif; ?> <?php endif; ?>
</td> </td>
<td id="site-info" width="20%"> <td id="site-info" width="20%">
<?php if ($site_name) : ?> <?php if ($site_name) : ?>
<div class='site-name'><a href="<?php print $base_path ?>" title="Home"><?php print($site_name) ?></a></div> <div class='site-name'><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print($site_name) ?></a></div>
<?php endif;?> <?php endif;?>
<?php if ($site_slogan) : ?> <?php if ($site_slogan) : ?>
<div class='site-slogan'><?php print($site_slogan) ?></div> <div class='site-slogan'><?php print($site_slogan) ?></div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment