Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-backend
view
adminhtml
templates
media
uploader.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
10
?>
11
12
<div
id
=
"<?= $block->getHtmlId() ?>"
class
=
"uploader"
13
data-
mage
-init=
'{
14
"Magento_Backend/js/media-uploader" : {
15
"maxFileSize": <?= /* @escapeNotVerified */ $block->getFileSizeService()->getMaxFileSize() ?>,
16
"maxWidth":<?= /* @escapeNotVerified */ $block->getImageUploadMaxWidth() ?> ,
17
"maxHeight": <?= /* @escapeNotVerified */ $block->getImageUploadMaxHeight() ?>
18
}
19
}'
20
>
21
<div
class
=
"fileinput-button form-buttons button"
>
22
<span><?=
/* @escapeNotVerified */
__
(
'Browse Files...'
) ?></span>
23
<input
id
=
"fileupload"
type=
"file"
name
=
"<?= /* @escapeNotVerified */ $block->getConfig()->getFileField() ?>"
24
data-url=
"<?= /* @escapeNotVerified */ $block->getConfig()->getUrl() ?>"
multiple=
"multiple"
/>
25
</div>
26
<div
class
=
"clear"
></div>
27
<script
id
=
"<?= $block->getHtmlId() ?>-template"
type=
"text/x-magento-template"
data-
template
=
"uploader"
>
28
<div
id
=
"<%- data.id %>"
class
=
"file-row"
>
29
<span
class
=
"file-info"
><%- data.name %> (<%- data.size %>)</span>
30
<div
class
=
"progressbar-container"
>
31
<div
class
=
"progressbar upload-progress"
style=
"width: 0%;"
></div>
32
</div>
33
<div
class
=
"clear"
></div>
34
</div>
35
</script>
36
</div>
37
mage
if( $form)() ?>< script > require(['jquery' mage mage
Definition:
save.phtml:15
__
__()
Definition:
__.php:13
name