SPR-814: bugfix for content toggle / sidebar section toggle in detail template
This commit is contained in:
parent
1741a375bc
commit
6db1065031
2 changed files with 11 additions and 6 deletions
15
detail.php
15
detail.php
|
@ -14,14 +14,20 @@ if (!defined('DOKU_INC')) die(); /* must be run from with
|
||||||
header('X-UA-Compatible: IE=edge,chrome=1');
|
header('X-UA-Compatible: IE=edge,chrome=1');
|
||||||
|
|
||||||
global $JSINFO;
|
global $JSINFO;
|
||||||
if (empty($JSINFO)) {
|
if (empty($JSINFO['template'])) {
|
||||||
$JSINFO = array();
|
$JSINFO['template'] = array();
|
||||||
}
|
}
|
||||||
|
$JSINFO['template']['sprintdoc'] = array('sidebar_toggle_elements' => tpl_getConf('sidebar_sections'));
|
||||||
|
|
||||||
|
$showTools = true;
|
||||||
|
$showSidebar = true;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
|
<html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
|
||||||
<head>
|
<head>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||||
/* meta and link relations */
|
/* meta and link relations */
|
||||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||||
|
@ -247,7 +253,8 @@ include('tpl/favicon_tiles.php');
|
||||||
|
|
||||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||||
/* page tools */
|
/* page tools */
|
||||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ ?>
|
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||||
|
?>
|
||||||
<nav id="dokuwiki__pagetools">
|
<nav id="dokuwiki__pagetools">
|
||||||
<div class="tools">
|
<div class="tools">
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -307,8 +314,6 @@ include('tpl/favicon_tiles.php');
|
||||||
tpl_img_meta();
|
tpl_img_meta();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||||
/* open street maps if geo data is available */
|
/* open street maps if geo data is available */
|
||||||
/** @var helper_plugin_spatialhelper_index $spatial */
|
/** @var helper_plugin_spatialhelper_index $spatial */
|
||||||
|
|
2
main.php
2
main.php
|
@ -21,7 +21,7 @@ if (empty($JSINFO['template'])) {
|
||||||
$JSINFO['template']['sprintdoc'] = array('sidebar_toggle_elements' => tpl_getConf('sidebar_sections'));
|
$JSINFO['template']['sprintdoc'] = array('sidebar_toggle_elements' => tpl_getConf('sidebar_sections'));
|
||||||
|
|
||||||
$showTools = true;
|
$showTools = true;
|
||||||
$showSidebar = true; /* */
|
$showSidebar = true;
|
||||||
?>
|
?>
|
||||||
<html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
|
<html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
|
||||||
<head>
|
<head>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue