mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-05 16:08:41 +00:00
Automated formatting changes
This commit is contained in:
parent
d62c0ddbe9
commit
85780e9f10
|
|
@ -19,7 +19,7 @@ use phpOMS\Uri\UriFactory;
|
||||||
* @var \Modules\Helper\Models\Template[] $templates
|
* @var \Modules\Helper\Models\Template[] $templates
|
||||||
*/
|
*/
|
||||||
$templates = $this->getData('reports');
|
$templates = $this->getData('reports');
|
||||||
$account = $this->getData('account');
|
$account = $this->getData('account');
|
||||||
|
|
||||||
$accountDir = $account->getId() . ' ' . $account->login;
|
$accountDir = $account->getId() . ' ' . $account->login;
|
||||||
|
|
||||||
|
|
@ -38,9 +38,9 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<li data-href="<?= UriFactory::build('{/prefix}helper/list?path=/Accounts/' . $accountDir); ?>"><a href="<?= UriFactory::build('{/prefix}helper/list?path=/Accounts/' . $accountDir); ?>"><i class="fa fa-home"></i></a>
|
<li data-href="<?= UriFactory::build('{/prefix}helper/list?path=/Accounts/' . $accountDir); ?>"><a href="<?= UriFactory::build('{/prefix}helper/list?path=/Accounts/' . $accountDir); ?>"><i class="fa fa-home"></i></a>
|
||||||
<li data-href="<?= UriFactory::build('{/prefix}helper/list?path=/'); ?>"><a href="<?= UriFactory::build('{/prefix}helper/list?path=/'); ?>">/</a></li>
|
<li data-href="<?= UriFactory::build('{/prefix}helper/list?path=/'); ?>"><a href="<?= UriFactory::build('{/prefix}helper/list?path=/'); ?>">/</a></li>
|
||||||
<?php
|
<?php
|
||||||
$subPath = '';
|
$subPath = '';
|
||||||
$paths = \explode('/', \ltrim($mediaPath, '/'));
|
$paths = \explode('/', \ltrim($mediaPath, '/'));
|
||||||
$length = \count($paths);
|
$length = \count($paths);
|
||||||
$parentPath = '';
|
$parentPath = '';
|
||||||
|
|
||||||
for ($i = 0; $i < $length; ++$i) :
|
for ($i = 0; $i < $length; ++$i) :
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user