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');
|
||||
|
||||
global $JSINFO;
|
||||
if (empty($JSINFO)) {
|
||||
$JSINFO = array();
|
||||
if (empty($JSINFO['template'])) {
|
||||
$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'] ?>">
|
||||
<head>
|
||||
<?php
|
||||
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* meta and link relations */
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
|
@ -247,7 +253,8 @@ include('tpl/favicon_tiles.php');
|
|||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* page tools */
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ ?>
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
?>
|
||||
<nav id="dokuwiki__pagetools">
|
||||
<div class="tools">
|
||||
<ul>
|
||||
|
@ -307,8 +314,6 @@ include('tpl/favicon_tiles.php');
|
|||
tpl_img_meta();
|
||||
|
||||
|
||||
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* open street maps if geo data is available */
|
||||
/** @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'));
|
||||
|
||||
$showTools = true;
|
||||
$showSidebar = true; /* */
|
||||
$showSidebar = true;
|
||||
?>
|
||||
<html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
|
||||
<head>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue