mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-23 23:08:42 +00:00
Automated formatting changes
This commit is contained in:
parent
122ffcd7b9
commit
af32a0a56f
|
|
@ -16,6 +16,7 @@ namespace Modules\Editor\Controller;
|
|||
|
||||
use Modules\Editor\Models\EditorDocMapper;
|
||||
use Modules\Editor\Models\PermissionState;
|
||||
use Modules\Media\Models\CollectionMapper;
|
||||
use phpOMS\Account\PermissionType;
|
||||
use phpOMS\Asset\AssetType;
|
||||
use phpOMS\Contract\RenderableInterface;
|
||||
|
|
@ -23,7 +24,6 @@ use phpOMS\Message\Http\RequestStatusCode;
|
|||
use phpOMS\Message\RequestAbstract;
|
||||
use phpOMS\Message\ResponseAbstract;
|
||||
use phpOMS\Views\View;
|
||||
use Modules\Media\Models\CollectionMapper;
|
||||
|
||||
/**
|
||||
* Calendar controller class.
|
||||
|
|
@ -100,7 +100,7 @@ final class BackendController extends Controller
|
|||
$view->setTemplate('/Modules/Editor/Theme/Backend/editor-list');
|
||||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1005301001, $request, $response));
|
||||
|
||||
$path = (string) ($request->getData('path') ?? '/');
|
||||
$path = (string) ($request->getData('path') ?? '/');
|
||||
$collection = CollectionMapper::getByVirtualPath(\str_replace('+', ' ', $path));
|
||||
$parent = CollectionMapper::getParentCollection(\str_replace('+', ' ', $path));
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><?= $this->getHtml('Created'); ?>
|
||||
<tbody>
|
||||
<?php $count = 0; foreach ($collections as $key => $value) : ++$count;
|
||||
$url = UriFactory::build('{/prefix}editor/list?path=' . \rtrim($value->getVirtualPath(), '/') . '/' . $value->getName());
|
||||
$url = UriFactory::build('{/prefix}editor/list?path=' . \rtrim($value->getVirtualPath(), '/') . '/' . $value->getName());
|
||||
?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><i class="fa fa-folder-o"></i></a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user