Skip to content

Commit 728f29d

Browse files
author
Stanislav Idolov
authored
ENGCOM-2685: Declare module namespace before template path name #17394
2 parents 69e182c + 5d84816 commit 728f29d

File tree

20 files changed

+21
-22
lines changed

20 files changed

+21
-22
lines changed

app/code/Magento/Backend/Block/System/Store/Delete/Group.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ protected function _prepareLayout()
1919
{
2020
$itemId = $this->getRequest()->getParam('group_id');
2121

22-
$this->setTemplate('system/store/delete_group.phtml');
22+
$this->setTemplate('Magento_Backend::system/store/delete_group.phtml');
2323
$this->setAction($this->getUrl('adminhtml/*/deleteGroupPost', ['group_id' => $itemId]));
2424
$this->addChild(
2525
'confirm_deletion_button',

app/code/Magento/Backend/Block/System/Store/Delete/Website.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ protected function _prepareLayout()
1919
{
2020
$itemId = $this->getRequest()->getParam('website_id');
2121

22-
$this->setTemplate('system/store/delete_website.phtml');
22+
$this->setTemplate('Magento_Backend::system/store/delete_website.phtml');
2323
$this->setAction($this->getUrl('adminhtml/*/deleteWebsitePost', ['website_id' => $itemId]));
2424
$this->addChild(
2525
'confirm_deletion_button',

app/code/Magento/Catalog/Block/Adminhtml/Category/Checkboxes/Tree.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Tree extends \Magento\Catalog\Block\Adminhtml\Category\Tree
3030
*/
3131
protected function _prepareLayout()
3232
{
33-
$this->setTemplate('catalog/category/checkboxes/tree.phtml');
33+
$this->setTemplate('Magento_Catalog::catalog/category/checkboxes/tree.phtml');
3434
}
3535

3636
/**

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Ajax/Serializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(
4141
public function _construct()
4242
{
4343
parent::_construct();
44-
$this->setTemplate('catalog/product/edit/serializer.phtml');
44+
$this->setTemplate('Magento_Catalog::catalog/product/edit/serializer.phtml');
4545
return $this;
4646
}
4747

app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Cart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ protected function _construct()
8282
parent::_construct();
8383
$this->setUseAjax(true);
8484
$this->_parentTemplate = $this->getTemplate();
85-
$this->setTemplate('tab/cart.phtml');
85+
$this->setTemplate('Magento_Customer::tab/cart.phtml');
8686
}
8787

8888
/**

app/code/Magento/Customer/Block/Adminhtml/System/Config/Validatevat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protected function _prepareLayout()
9999
{
100100
parent::_prepareLayout();
101101
if (!$this->getTemplate()) {
102-
$this->setTemplate('system/config/validatevat.phtml');
102+
$this->setTemplate('Magento_Customer::system/config/validatevat.phtml');
103103
}
104104
return $this;
105105
}

app/code/Magento/Customer/Block/Widget/Company.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function _construct()
6969
parent::_construct();
7070

7171
// default template location
72-
$this->setTemplate('widget/company.phtml');
72+
$this->setTemplate('Magento_Customer::widget/company.phtml');
7373
}
7474

7575
/**

app/code/Magento/Customer/Block/Widget/Dob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function __construct(
6666
public function _construct()
6767
{
6868
parent::_construct();
69-
$this->setTemplate('widget/dob.phtml');
69+
$this->setTemplate('Magento_Customer::widget/dob.phtml');
7070
}
7171

7272
/**

app/code/Magento/Customer/Block/Widget/Fax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function _construct()
6969
parent::_construct();
7070

7171
// default template location
72-
$this->setTemplate('widget/fax.phtml');
72+
$this->setTemplate('Magento_Customer::widget/fax.phtml');
7373
}
7474

7575
/**

app/code/Magento/Customer/Block/Widget/Gender.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function __construct(
5959
public function _construct()
6060
{
6161
parent::_construct();
62-
$this->setTemplate('widget/gender.phtml');
62+
$this->setTemplate('Magento_Customer::widget/gender.phtml');
6363
}
6464

6565
/**

0 commit comments

Comments
 (0)