diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/html.php | 2 | ||||
-rw-r--r-- | inc/template.php | 2 |
2 files changed, 2 insertions, 2 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)) { |