diff --git a/src/Application/views/admin/tpl/d3_article_attribute_multivalues.tpl b/src/Application/views/admin/tpl/d3_article_attribute_multivalues.tpl deleted file mode 100644 index 6533e2f..0000000 --- a/src/Application/views/admin/tpl/d3_article_attribute_multivalues.tpl +++ /dev/null @@ -1,120 +0,0 @@ -[{include file="popups/headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign}] - - - - - - - - - - - - - - - - - - - - - - - - - - -
[{oxmultilang ident="GENERAL_AJAX_DESCRIPTION"}]
[{oxmultilang ident="GENERAL_FILTERING"}]

[{oxmultilang ident="ARTICLE_ATTRIBUTE_NOATTRIBUTE"}][{oxmultilang ident="ARTICLE_ATTRIBUTE_ITEMSATTRIBUTE"}][{oxmultilang ident="ARTICLE_ATTRIBUTE_SELECTONEATTR"}]
- - - - diff --git a/src/IntelliSenseHelper.php b/src/IntelliSenseHelper.php index 33b00ed..19f2f44 100644 --- a/src/IntelliSenseHelper.php +++ b/src/IntelliSenseHelper.php @@ -17,12 +17,9 @@ namespace D3\Modules\AttributeMultiValues\Application\Controllers\Admin { - use OxidEsales\Eshop\Application\Controller\Admin\ArticleAttribute; use OxidEsales\Eshop\Application\Controller\Admin\ArticleAttributeAjax; class d3_article_attribute_ajax_multivalues_parent extends ArticleAttributeAjax {} - - class d3_article_attribute_multivalues_parent extends ArticleAttribute {} } namespace D3\Modules\AttributeMultiValues\Application\Model { diff --git a/src/Modules/Application/Controllers/Admin/d3_article_attribute_multivalues.php b/src/Modules/Application/Controllers/Admin/d3_article_attribute_multivalues.php deleted file mode 100644 index 75abd2a..0000000 --- a/src/Modules/Application/Controllers/Admin/d3_article_attribute_multivalues.php +++ /dev/null @@ -1,39 +0,0 @@ - - * @link http://www.oxidmodule.com - */ - -namespace D3\Modules\AttributeMultiValues\Application\Controllers\Admin; - -class d3_article_attribute_multivalues extends d3_article_attribute_multivalues_parent -{ - /** - * Collects article attributes and selection lists, passes them to Smarty engine, - * returns name of template file "article_attribute.tpl". - * - * @return string - */ - public function render() - { - $sTplName = parent::render(); - - $iAoc = oxRegistry::getConfig()->getRequestParameter("aoc"); - - if ($iAoc == 1) { - $sTplName = "d3_article_attribute_multivalues.tpl"; - } - - return $sTplName; - } -} diff --git a/src/metadata.php b/src/metadata.php index eb8b7d0..ebab4c5 100644 --- a/src/metadata.php +++ b/src/metadata.php @@ -14,9 +14,7 @@ */ use D3\Modules\AttributeMultiValues\Application\Controllers\Admin\d3_article_attribute_ajax_multivalues; -use D3\Modules\AttributeMultiValues\Application\Controllers\Admin\d3_article_attribute_multivalues; use D3\Modules\AttributeMultiValues\Application\Model\d3_oxattributelist_multivalues; -use OxidEsales\Eshop\Application\Controller\Admin\ArticleAttribute; use OxidEsales\Eshop\Application\Controller\Admin\ArticleAttributeAjax; use OxidEsales\Eshop\Application\Model\AttributeList; @@ -37,10 +35,6 @@ $aModule = array( 'url' => 'http://www.oxidmodule.com/', 'extend' => [ ArticleAttributeAjax::class => d3_article_attribute_ajax_multivalues::class, - ArticleAttribute::class => d3_article_attribute_multivalues::class, AttributeList::class => d3_oxattributelist_multivalues::class, - ], - 'templates' => [ - 'd3_article_attribute_multivalues.tpl' => 'd3/d3multiattributevalues/Application/views/admin/tpl/d3_article_attribute_multivalues.tpl', ] ); \ No newline at end of file