mirror of
https://github.com/Karaka-Management/oms-Help.git
synced 2026-01-11 12:58:41 +00:00
implement todos
This commit is contained in:
parent
34df9d41fa
commit
44d82eda27
|
|
@ -47,7 +47,9 @@ $next = empty($modules) ? '{/prefix}help/module/list' : '{/prefix}help/modul
|
|||
<?php
|
||||
$count = 0;
|
||||
foreach ($modules as $key => $module) :
|
||||
if ((\realpath(__DIR__ . '/../../../' . $module->getDirectory() . '/Docs/Help/en/SUMMARY.md')) === false) {
|
||||
if ((\realpath(__DIR__ . '/../../../' . $module->getDirectory() . '/Docs/Help/en/SUMMARY.md')) === false
|
||||
&& (\realpath(__DIR__ . '/../../../' . $module->getDirectory() . '/Docs/Dev/en/SUMMARY.md')) === false
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
@ -70,4 +72,4 @@ $next = empty($modules) ? '{/prefix}help/module/list' : '{/prefix}help/modul
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<div class="row">
|
||||
<div class="col-xs-12 col-md-8 col-lg-9">
|
||||
<section class="portlet">
|
||||
<article>
|
||||
<?= $this->getData('content'); ?>
|
||||
</article>
|
||||
<div class="portlet-body">
|
||||
<article><?= $this->getData('content'); ?></article>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
|
@ -12,18 +12,20 @@
|
|||
<a tabindex="0" class="button" href="<?= \phpOMS\Uri\UriFactory::build('{/lang}/backend/help/module/single?id={?id}'); ?>"><?= $this->getHtml('Module'); ?></a>
|
||||
</div>
|
||||
|
||||
<?php if ($this->hasData('navigation')) : ?>
|
||||
<section class="portlet">
|
||||
<article>
|
||||
<?= $this->getData('navigation'); ?>
|
||||
</article>
|
||||
<div class="portlet-body">
|
||||
<article><?= $this->getData('navigation'); ?></article>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->hasData('devNavigation')) : ?>
|
||||
<section class="portlet">
|
||||
<article>
|
||||
<?= $this->getData('devNavigation'); ?>
|
||||
</article>
|
||||
<div class="portlet-body">
|
||||
<article><?= $this->getData('devNavigation'); ?></article>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user