summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-03-20 13:49:10 +0100
committerandi <andi@splitbrain.org>2005-03-20 13:49:10 +0100
commit81aafed45def19b4c7ddd3065daa294c142365a5 (patch)
treef999341742d85b0b7d7a748abb03af6c6152def6
parentf29317c1325933ca995a5e285cbb1769faa017b3 (diff)
downloadrpg-81aafed45def19b4c7ddd3065daa294c142365a5.tar.gz
rpg-81aafed45def19b4c7ddd3065daa294c142365a5.tar.bz2
backbutton fix
darcs-hash:20050320124910-9977f-737f333d5524b844011a69a4c0351c3366ecf62f.gz
-rw-r--r--doku.php4
-rw-r--r--inc/html.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/doku.php b/doku.php
index 24eeb94d5..56197db81 100644
--- a/doku.php
+++ b/doku.php
@@ -6,6 +6,8 @@
* @author Andreas Gohr <andi@splitbrain.org>
*/
+ //xdebug_start_profiling();
+
if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__)).'/');
require_once(DOKU_INC.'inc/init.php');
require_once(DOKU_INC.'inc/common.php');
@@ -63,4 +65,6 @@
//restore old umask
umask($conf['oldumask']);
+
+ //xdebug_dump_function_profile(3);
?>
diff --git a/inc/html.php b/inc/html.php
index cdc8a7257..798e2ce79 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -167,7 +167,7 @@ function html_topbtn(){
$ret = '';
$ret .= '<form class="button" method="get" action="#top" onsubmit="return svchk()">';
- $ret .= '<input type="submit" value="'.htmlspecialchars($lang['btn_top']).'" class="button" ';
+ $ret .= '<input type="submit" value="'.htmlspecialchars($lang['btn_top']).'" class="button" />';
$ret .= '</form>';
return $ret;
}