moved back to top target higher up
This commit is contained in:
parent
afba1c6e74
commit
a647274ce5
1 changed files with 4 additions and 2 deletions
6
main.php
6
main.php
|
|
@ -29,10 +29,12 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER
|
||||||
precede CSS rules by #IE6 for IE6, #IE7 for IE7 and #IE8 for IE8 (div closes at the bottom) */ ?>
|
precede CSS rules by #IE6 for IE6, #IE7 for IE7 and #IE8 for IE8 (div closes at the bottom) */ ?>
|
||||||
<!--[if IE 6 ]><div id="IE6"><![endif]--><!--[if IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
|
<!--[if IE 6 ]><div id="IE6"><![endif]--><!--[if IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
|
||||||
|
|
||||||
|
<?php /* the "dokuwiki__top" id is needed somewhere at the top, because that's where the "back to top" button/link links to */ ?>
|
||||||
<?php /* classes mode_<action> are added to make it possible to e.g. style a page differently if it's in edit mode,
|
<?php /* classes mode_<action> are added to make it possible to e.g. style a page differently if it's in edit mode,
|
||||||
see http://www.dokuwiki.org/devel:action_modes for a list of action modes */ ?>
|
see http://www.dokuwiki.org/devel:action_modes for a list of action modes */ ?>
|
||||||
<?php /* .dokuwiki should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?>
|
<?php /* .dokuwiki should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?>
|
||||||
<div id="dokuwiki__site"><div class="dokuwiki site mode_<?php echo $ACT ?>">
|
<div id="dokuwiki__site"><div id="dokuwiki__top"
|
||||||
|
class="dokuwiki site mode_<?php echo $ACT ?>">
|
||||||
<?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
|
<?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
|
||||||
<?php _tpl_include('header.html') ?>
|
<?php _tpl_include('header.html') ?>
|
||||||
|
|
||||||
|
|
@ -40,7 +42,7 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER
|
||||||
<div id="dokuwiki__header"><div class="pad">
|
<div id="dokuwiki__header"><div class="pad">
|
||||||
|
|
||||||
<div class="headings">
|
<div class="headings">
|
||||||
<h1><?php tpl_link(wl(),$conf['title'],'id="dokuwiki__top" accesskey="h" title="[H]"') ?></h1>
|
<h1><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></h1>
|
||||||
<?php /* how to insert logo instead (if no CSS image replacement technique is used):
|
<?php /* how to insert logo instead (if no CSS image replacement technique is used):
|
||||||
upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly:
|
upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly:
|
||||||
tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?>
|
tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue