diff options
author | Anika Henke <a.c.henke@arcor.de> | 2006-03-09 00:28:57 +0100 |
---|---|---|
committer | Anika Henke <a.c.henke@arcor.de> | 2006-03-09 00:28:57 +0100 |
commit | 21a1520719b2d1591e73318e35957ec581a5ec0f (patch) | |
tree | 47ae9845faf7af756a26832b86ff6c7a7e7b2a2c | |
parent | daf4ca4eab09b934b46fb35293fcbfd854571ed4 (diff) | |
download | rpg-21a1520719b2d1591e73318e35957ec581a5ec0f.tar.gz rpg-21a1520719b2d1591e73318e35957ec581a5ec0f.tar.bz2 |
unique id for top button, link and anchor
darcs-hash:20060308232857-d5083-f9aa3009a5b70cbcb14d66ae94deb3edf6da3693.gz
-rw-r--r-- | inc/html.php | 2 | ||||
-rw-r--r-- | inc/template.php | 2 | ||||
-rw-r--r-- | lib/tpl/default/main.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/inc/html.php b/inc/html.php index e21047cda..c0ce8527f 100644 --- a/inc/html.php +++ b/inc/html.php @@ -173,7 +173,7 @@ function html_topbtn(){ global $lang; $ret = ''; - $ret = '<a href="#top"><input type="button" class="button" value="'.$lang['btn_top'].'" onclick="window.scrollTo(0, 0)" /></a>'; + $ret = '<a href="#dokuwiki__top"><input type="button" class="button" value="'.$lang['btn_top'].'" onclick="window.scrollTo(0, 0)" /></a>'; return $ret; } diff --git a/inc/template.php b/inc/template.php index a1911f18b..091cd2e56 100644 --- a/inc/template.php +++ b/inc/template.php @@ -431,7 +431,7 @@ function tpl_actionlink($type,$pre='',$suf=''){ tpl_link(wl($ID,'do=index'),$pre.$lang['btn_index'].$suf,'class="action index" accesskey="x"'); break; case 'top': - print '<a href="#top" class="action top" accesskey="x">'.$pre.$lang['btn_top'].$suf.'</a>'; + print '<a href="#dokuwiki__top" class="action top" accesskey="x">'.$pre.$lang['btn_top'].$suf.'</a>'; break; case 'back': if ($ID = tpl_getparent($ID)) { diff --git a/lib/tpl/default/main.php b/lib/tpl/default/main.php index 44ef7d35d..25f0cb3ff 100644 --- a/lib/tpl/default/main.php +++ b/lib/tpl/default/main.php @@ -39,7 +39,7 @@ [[<?php tpl_link(wl($ID,'do=backlink'),$ID)?>]] </div> <div class="logo"> - <?php tpl_link(wl(),$conf['title'],'name="top" accesskey="h" title="[ALT+H]"')?> + <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?> </div> <div class="clearer"></div> |