diff --git a/Theme/Backend/editor-list.tpl.php b/Theme/Backend/editor-list.tpl.php index b0c71c0..22cc1dc 100755 --- a/Theme/Backend/editor-list.tpl.php +++ b/Theme/Backend/editor-list.tpl.php @@ -22,8 +22,7 @@ $docs = $this->getData('docs'); /** @var \Modules\Media\Models\Collection[] */ $collections = $this->getData('collections'); - -$mediaPath = \urldecode($this->getData('path') ?? '/'); +$mediaPath = \urldecode($this->getData('path') ?? '/'); $previous = empty($docs) ? '{/prefix}editor/list' : '{/prefix}editor/list?{?}&id=' . \reset($docs)->getId() . '&ptype=p'; $next = empty($docs) ? '{/prefix}editor/list' : '{/prefix}editor/list?{?}&id=' . \end($docs)->getId() . '&ptype=n'; @@ -73,7 +72,7 @@ echo $this->getData('nav')->render(); ?> $url = UriFactory::build('{/prefix}editor/list?path=' . \rtrim($value->getVirtualPath(), '/') . '/' . $value->getName()); ?>