mirror of
https://github.com/Karaka-Management/oms-Help.git
synced 2026-02-13 19:48: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
|
<?php
|
||||||
$count = 0;
|
$count = 0;
|
||||||
foreach ($modules as $key => $module) :
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -70,4 +72,4 @@ $next = empty($modules) ? '{/prefix}help/module/list' : '{/prefix}help/modul
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-8 col-lg-9">
|
<div class="col-xs-12 col-md-8 col-lg-9">
|
||||||
<section class="portlet">
|
<section class="portlet">
|
||||||
<article>
|
<div class="portlet-body">
|
||||||
<?= $this->getData('content'); ?>
|
<article><?= $this->getData('content'); ?></article>
|
||||||
</article>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</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>
|
<a tabindex="0" class="button" href="<?= \phpOMS\Uri\UriFactory::build('{/lang}/backend/help/module/single?id={?id}'); ?>"><?= $this->getHtml('Module'); ?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php if ($this->hasData('navigation')) : ?>
|
||||||
<section class="portlet">
|
<section class="portlet">
|
||||||
<article>
|
<div class="portlet-body">
|
||||||
<?= $this->getData('navigation'); ?>
|
<article><?= $this->getData('navigation'); ?></article>
|
||||||
</article>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ($this->hasData('devNavigation')) : ?>
|
<?php if ($this->hasData('devNavigation')) : ?>
|
||||||
<section class="portlet">
|
<section class="portlet">
|
||||||
<article>
|
<div class="portlet-body">
|
||||||
<?= $this->getData('devNavigation'); ?>
|
<article><?= $this->getData('devNavigation'); ?></article>
|
||||||
</article>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user