mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-01-11 17:08:40 +00:00
fix tests
This commit is contained in:
parent
f105a4e25f
commit
9c7c3f6cf4
|
|
@ -18,10 +18,10 @@ use phpOMS\Uri\UriFactory;
|
|||
<section id="mediaFile" class="portlet">
|
||||
<div class="portlet-body">
|
||||
<div class="h-overflow centerText">
|
||||
<img style="max-width: 100%" src="<?= $this->media->getId() !== 0
|
||||
<img alt="<?= $this->printHtml($this->media->name); ?>" style="max-width: 100%" src="<?= $this->media->getId() !== 0
|
||||
? UriFactory::build('{/api}media/export?id=' . $this->media->getId())
|
||||
: UriFactory::build('{/api}media/export?path=' . \urlencode($this->media->getPath()));
|
||||
?>" alt="<?= $this->printHtml($this->media->name); ?>">
|
||||
?>">
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
@ -61,7 +61,7 @@ use phpOMS\Uri\UriFactory;
|
|||
</table>
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
<input type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>">
|
||||
<input type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>" name="save-media-file">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
@ -71,7 +71,7 @@ use phpOMS\Uri\UriFactory;
|
|||
<form>
|
||||
<table class="layout">
|
||||
<tr><td colspan="2"><label><?= $this->getHtml('Permission'); ?></label>
|
||||
<tr><td><select>
|
||||
<tr><td><select name="permission">
|
||||
<option>
|
||||
</select>
|
||||
<tr><td colspan="2"><label><?= $this->getHtml('GroupUser'); ?></label>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
// Modules/tests
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user