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 /inc | |
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
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)) { |