mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-16 01:08:41 +00:00
update media tpls
This commit is contained in:
parent
909df93f0c
commit
150fc4b6cc
|
|
@ -26,6 +26,9 @@ $mediaPath = \urldecode($this->getData('path') ?? '/');
|
||||||
* @var \Modules\Media\Models\Media[] $media
|
* @var \Modules\Media\Models\Media[] $media
|
||||||
*/
|
*/
|
||||||
$media = $this->getData('media');
|
$media = $this->getData('media');
|
||||||
|
|
||||||
|
$previous = empty($media) ? '{/prefix}media/list' : '{/prefix}media/list?{?}&id=' . \reset($media)->getId() . '&ptype=-';
|
||||||
|
$next = empty($media) ? '{/prefix}media/list' : '{/prefix}media/list?{?}&id=' . \end($media)->getId() . '&ptype=+';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
@ -107,6 +110,8 @@ $media = $this->getData('media');
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
|
<a tabindex="0" class="button" href="<?= UriFactory::build($previous); ?>"><?= $this->getHtml('Previous', '0', '0'); ?></a>
|
||||||
|
<a tabindex="0" class="button" href="<?= UriFactory::build($next); ?>"><?= $this->getHtml('Next', '0', '0'); ?></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,11 @@ use phpOMS\Uri\UriFactory;
|
||||||
<tr><td><label for="iPath"><?= $this->getHtml('Path') ?></label>
|
<tr><td><label for="iPath"><?= $this->getHtml('Path') ?></label>
|
||||||
<tr><td><input type="text" id="iPath" name="virtualPath" value="<?= empty($this->request->getUri()->getQuery('path')) ? '/' : $this->request->getUri()->getQuery('path'); ?>" disabled>
|
<tr><td><input type="text" id="iPath" name="virtualPath" value="<?= empty($this->request->getUri()->getQuery('path')) ? '/' : $this->request->getUri()->getQuery('path'); ?>" disabled>
|
||||||
<tr><td><label><?= $this->getHtml('Settings') ?></label>
|
<tr><td><label><?= $this->getHtml('Settings') ?></label>
|
||||||
<tr><td><input type="checkbox" id="iAddCollection" name="addcollection" checked><label for="iAddCollection"><?= $this->getHtml('AddToCollection') ?></label>
|
<tr><td>
|
||||||
|
<span class="checkbox">
|
||||||
|
<input type="checkbox" id="iAddCollection" name="addcollection" checked>
|
||||||
|
<label for="iAddCollection"><?= $this->getHtml('AddToCollection') ?></label>
|
||||||
|
</span>
|
||||||
<tr><td><label for="iPathSettings"><?= $this->getHtml('PathSettings') ?></label>
|
<tr><td><label for="iPathSettings"><?= $this->getHtml('PathSettings') ?></label>
|
||||||
<tr><td>
|
<tr><td>
|
||||||
<select id="iPathSettings" name="pathsettings">
|
<select id="iPathSettings" name="pathsettings">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user