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
widget
tabshoriz.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
<!-- <?php
if
(
$block
->getTitle()): ?>
11
<h3><?=
/* @escapeNotVerified */
$block
->getTitle() ?></h3>
12
<?php
endif
?> -->
13
<?php
if
(!empty($tabs)): ?>
14
<div
id
=
"<?= /* @escapeNotVerified */ $block->getId() ?>"
>
15
<ul
class
=
"tabs-horiz"
>
16
<?php
foreach
($tabs as $_tab): ?>
17
<?php $_tabClass =
'tab-item-link '
.
$block
->getTabClass($_tab) .
' '
. (preg_match(
'/\s?ajax\s?/'
, $_tab->getClass()) ?
'notloaded'
:
''
) ?>
18
<?php $_tabType = (!preg_match(
'/\s?ajax\s?/'
, $_tabClass) &&
$block
->getTabUrl($_tab) !=
'#'
) ?
'link'
:
''
?>
19
<?php $_tabHref =
$block
->getTabUrl($_tab) ==
'#'
?
'#'
.
$block
->getTabId($_tab) .
'_content'
:
$block
->getTabUrl($_tab) ?>
20
<li>
21
<a href=
"<?= /* @escapeNotVerified */ $_tabHref ?>"
id
=
"<?= /* @escapeNotVerified */ $block->getTabId($_tab) ?>"
title=
"<?= /* @escapeNotVerified */ $block->getTabTitle($_tab) ?>"
class
=
"<?php $_tabClass ?>"
data-tab-type=
"<?php $_tabType ?>"
>
22
<span>
23
<span
class
=
"changed"
title=
"<?= /* @escapeNotVerified */ __('The information in this tab has been changed.') ?>"
></span>
24
<span
class
=
"error"
title=
"<?= /* @escapeNotVerified */ __('This tab contains invalid data. Please resolve this before saving.') ?>"
></span>
25
<span
class
=
"loader"
title=
"<?= /* @escapeNotVerified */ __('Loading...') ?>"
></span>
26
<?=
/* @escapeNotVerified */
$block
->getTabLabel($_tab) ?>
27
</span>
28
</a>
29
<div
id
=
"<?= /* @escapeNotVerified */ $block->getTabId($_tab) ?>_content"
style=
"display:none"
><?=
/* @escapeNotVerified */
$block
->getTabContent($_tab) ?></div>
30
</li>
31
<?php
endforeach
; ?>
32
</ul>
33
</div>
34
<script>
35
require([
"jquery"
,
"mage/backend/tabs"
],
function
($){
36
$(
function
() {
37
$(
'#<?= /* @escapeNotVerified */ $block->getId() ?>'
).tabs({
38
active:
'<?= /* @escapeNotVerified */ $block->getActiveTabId() ?>'
,
39
destination:
'#<?= /* @escapeNotVerified */ $block->getDestElementId() ?>'
,
40
shadowTabs: <?=
/* @escapeNotVerified */
$block
->getAllShadowTabs() ?>
41
});
42
});
43
});
44
</script>
45
<?php
endif
; ?>
endforeach
foreach( $this->main as $item) endforeach
Definition:
side-menu.phtml:10
$block
$block
Definition:
block.php:8
endif
endif
Definition:
tabshoriz.phtml:40