Fix dynamic website

This commit is contained in:
djohnanderson 2016-02-16 12:54:57 -08:00
parent 61388e1c51
commit b3daf35115
2 changed files with 21 additions and 9 deletions

View File

@ -45,10 +45,16 @@
<div class="container">
<div class="row">
<div class="col-sm-10 col-sm-offset-1">
<div id="tipue_search_content" style="display:none"></div>
<div class="doc_content" style="display:none">
<?= $page['content']; ?>
</div>
<?php if ($params['text_search']) { ?>
<div id="tipue_search_content" style="display:none"></div>
<div class="doc_content" style="display:none">
<?= $page['content']; ?>
</div>
<?php } else { ?>
<div class="doc_content">
<?= $page['content']; ?>
</div>
<?php } ?>
</div>
</div>
</div>

View File

@ -54,16 +54,22 @@
<hr/>
<?php } ?>
<p><small>Documentation generated by <a href="http://daux.io">Daux.io</a></small></p>
</div>
</div>
</div>
<div class="right-column <?= $params['html']['float'] ? 'float-view' : ''; ?> content-area col-sm-9">
<div class="content-page">
<div id="tipue_search_content" style="display:none"></div>
<div class="doc_content" style="display:none">
<?= $this->section('content'); ?>
</div>
<?php if ($params['text_search']) { ?>
<div id="tipue_search_content" style="display:none"></div>
<div class="doc_content" style="display:none">
<?= $this->section('content'); ?>
</div>
<?php } else { ?>
<div class="doc_content"">
<?= $this->section('content'); ?>
</div>
<?php } ?>
</div>
</div>
</div>