summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-17 20:30:13 +0200
committerandi <andi@splitbrain.org>2005-04-17 20:30:13 +0200
commitdf7b600506ab9cabba5f59834fc06a380074fa11 (patch)
tree7d21d9e9bf1441be221d45ca52dd1e394bc69aef /inc
parent3685f7757265507a7b2105ffc4949068fa4bd000 (diff)
downloadrpg-df7b600506ab9cabba5f59834fc06a380074fa11.tar.gz
rpg-df7b600506ab9cabba5f59834fc06a380074fa11.tar.bz2
back to top button fixed #229 and #162
darcs-hash:20050417183013-9977f-398b04cd192ef7aac1cfe061ef1a46e15e574b86.gz
Diffstat (limited to 'inc')
-rw-r--r--inc/html.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/inc/html.php b/inc/html.php
index 0e1364316..435288688 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -171,9 +171,8 @@ function html_topbtn(){
global $lang;
$ret = '';
- $ret .= '<form class="button" method="get" action="#top" onsubmit="return svchk()">';
- $ret .= '<input type="submit" value="'.htmlspecialchars($lang['btn_top']).'" class="button" />';
- $ret .= '</form>';
+ $ret = '<a href="#top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" /></a>';
+
return $ret;
}