mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-02 01:55:31 +00:00
draft images feature #14
This commit is contained in:
parent
947e359976
commit
6b112d441c
4 changed files with 64 additions and 2 deletions
|
|
@ -106,12 +106,23 @@ class AppControllerSubmit
|
|||
),
|
||||
]
|
||||
],
|
||||
'image' => (object)
|
||||
[
|
||||
'error' => [],
|
||||
'attribute' => (object)
|
||||
[
|
||||
'required' => $this->_validator->getPageImageRequired(),
|
||||
'accept' => implode(',', $this->_validator->getPageImageMimeTypes()),
|
||||
'placeholder' => sprintf(
|
||||
_('Image file (use Ctrl to select multiple files)')
|
||||
),
|
||||
],
|
||||
],
|
||||
'torrent' => (object)
|
||||
[
|
||||
'error' => [],
|
||||
'attribute' => (object)
|
||||
[
|
||||
'value' => null,
|
||||
'required' => $this->_validator->getPageTorrentRequired(),
|
||||
'accept' => implode(',', $this->_validator->getPageTorrentMimeTypes()),
|
||||
'placeholder' => sprintf(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue