diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-02-10 11:40:15 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-02-10 11:40:15 +0000 |
commit | ee7bc0516676e269d47cf5f39fc6560c0ac0b9a6 (patch) | |
tree | 0f3eb7505258eddab5ad6fb1cc266fcca825422c /langs.php | |
parent | fbf9dbe7b05bc9484a2be8913af8e1f8f64454af (diff) | |
download | www-ee7bc0516676e269d47cf5f39fc6560c0ac0b9a6.tar www-ee7bc0516676e269d47cf5f39fc6560c0ac0b9a6.tar.gz www-ee7bc0516676e269d47cf5f39fc6560c0ac0b9a6.tar.bz2 www-ee7bc0516676e269d47cf5f39fc6560c0ac0b9a6.tar.xz www-ee7bc0516676e269d47cf5f39fc6560c0ac0b9a6.zip |
add home accesskey (1)
Diffstat (limited to 'langs.php')
-rw-r--r-- | langs.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -123,9 +123,14 @@ foreach ($nav_list as $k => $v) else $title = $v; - $list_menu[] = sprintf('<a href="%s"%s>%s</a>', + $accessKey = null; + if ($title == 'Mageia') + $accessKey = ' accesskey="1"'; + + $list_menu[] = sprintf('<a href="%s"%s%s>%s</a>', $k, $k == $sru ? ' class="sel"' : '', + $accessKey, $title); } |