mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-15 08:48:42 +00:00
Directory rename
This commit is contained in:
parent
986e05db68
commit
4557f2a0f8
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
<section class="box w-50">
|
<section class="box w-50">
|
||||||
<h1><?= $this->l11n->lang['Media']['Upload']; ?></h1>
|
<header><h1><?= $this->l11n->lang['Media']['Upload']; ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/media/create'); ?>">
|
<form method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/media/create'); ?>">
|
||||||
<table class="layout wf-100">
|
<table class="layout wf-100">
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ $footerView->setPages(count($media) / 25);
|
||||||
$footerView->setPage(1);
|
$footerView->setPage(1);
|
||||||
|
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
<section class="box">
|
<div class="box">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<caption><?= $this->l11n->lang['Media']['Media']; ?></caption>
|
<caption><?= $this->l11n->lang['Media']['Media']; ?></caption>
|
||||||
<thead>
|
<thead>
|
||||||
|
|
@ -53,4 +53,4 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<tr><td colspan="5" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
<tr><td colspan="5" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
</section>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ echo $this->getData('nav')->render();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<section class="box w-100">
|
<section class="box w-100">
|
||||||
<h1><?= $media->getName() ?></h1>
|
<header><h1><?= $media->getName() ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<?php if(in_array($media->getExtension(), ['gif', 'bmp', 'jpg', 'jpeg', 'png'])) : ?>
|
<?php if(in_array($media->getExtension(), ['gif', 'bmp', 'jpg', 'jpeg', 'png'])) : ?>
|
||||||
<img src="<?= $media->getPath(); ?>">
|
<img src="<?= $media->getPath(); ?>">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user