backbutton fix

darcs-hash:20050320124910-9977f-737f333d5524b844011a69a4c0351c3366ecf62f.gz
This commit is contained in:
andi 2005-03-20 13:49:10 +01:00
parent f29317c132
commit 81aafed45d
2 changed files with 5 additions and 1 deletions

View File

@ -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);
?>

View File

@ -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;
}