diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-02-01 16:04:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-02-01 16:04:03 +0000 |
commit | dcb092e62749835977a6c77087f9d7791bf707f8 (patch) | |
tree | 396ef86030eb7aa542ede92b1620e6e1593ee9ad /themes | |
parent | f76ff3d4b5be2408a6d0d0435ef77778a22b2ba4 (diff) | |
download | brdo-dcb092e62749835977a6c77087f9d7791bf707f8.tar.gz brdo-dcb092e62749835977a6c77087f9d7791bf707f8.tar.bz2 |
- Patch #46927 by markus/killes: added missing t() functions.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/bluemarine/page.tpl.php | 4 | ||||
-rw-r--r-- | themes/chameleon/chameleon.theme | 2 | ||||
-rw-r--r-- | themes/pushbutton/page.tpl.php | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/themes/bluemarine/page.tpl.php b/themes/bluemarine/page.tpl.php index 76e01fbcd..e65278d6a 100644 --- a/themes/bluemarine/page.tpl.php +++ b/themes/bluemarine/page.tpl.php @@ -13,8 +13,8 @@ <table border="0" cellpadding="0" cellspacing="0" id="header"> <tr> <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 ($site_name) { ?><h1 class='site-name'><a href="<?php print $base_path ?>" title="Home"><?php print $site_name ?></a></h1><?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="<?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 } ?> </td> <td id="menu"> diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index 917c63ec8..52f278be4 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -43,7 +43,7 @@ function chameleon_page($content) { $output .= " <div id=\"header\">"; 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')) { $output .= " <h1 class=\"site-name title\">". l(variable_get('site_name', 'drupal'), ""). "</h1>"; diff --git a/themes/pushbutton/page.tpl.php b/themes/pushbutton/page.tpl.php index 0071c2dbb..33fb1d317 100644 --- a/themes/pushbutton/page.tpl.php +++ b/themes/pushbutton/page.tpl.php @@ -9,19 +9,19 @@ <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%"> <tr> <td id="home" width="10%"> <?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; ?> </td> <td id="site-info" width="20%"> <?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 if ($site_slogan) : ?> <div class='site-slogan'><?php print($site_slogan) ?></div> |