Suggestion: make page.tpl.php locale friendly

Stolz - September 25, 2005 - 22:26
Project:FriendsElectric
Version:4.6.x-1.x-dev
Component:Suggestions
Category:bug report
Priority:minor
Assigned:Unassigned
Status:duplicate
Description

That's not a bug, just a Suggestion:

In the main site tittle, defined at page.tpl.php, the tittle param for <a href> tags is hardcoded to title="Index Page".

I think it would be great if it is changed to something more 'locale friendly', like a PHP code wich inserts the alternative text to something in the language established under drupal's preferences.

IE:

<a href="/<?php print url(); ?>" title="<?php print $index_page_name; ?>"><?php print $site_name; ?></a>

Hope it helps

#1

Pancho - February 9, 2006 - 00:42

Corrected this in another patch to be submitted to CVS. See: http://drupal.org/node/47418

Pancho

#2

Pancho - April 29, 2006 - 19:29
Status:active» duplicate
 
 

Drupal is a registered trademark of Dries Buytaert.