diff options
-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> |