Skip to content

Commit

Permalink
Add core extension
Browse files Browse the repository at this point in the history
  • Loading branch information
srenon committed Jul 29, 2021
1 parent be41b2d commit d1e5260
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 228 deletions.
123 changes: 0 additions & 123 deletions Block/Adminhtml/System/Config/Form/Composer/Version.php

This file was deleted.

75 changes: 0 additions & 75 deletions Block/Adminhtml/System/Config/Form/Module/Version.php

This file was deleted.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"php": "~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0|~7.1.3|~7.2.0|~7.3.0|~7.4.0",
"magento/module-backend": "100.0.*|100.1.*|100.2.*|101.0.*|102.0.*",
"magento/framework": "100.0.*|100.1.*|101.0.*|102.0.*|103.0.*",
"magepal/magento2-core":">1.1.0"
"magepal/magento2-core": ">=1.1.11"
},
"type": "magento2-module",
"version": "1.1.6",
Expand Down
36 changes: 8 additions & 28 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,42 +15,22 @@
<label>Link Products</label>
<tab>magepal</tab>
<resource>MagePal_LinkProduct::config_magepal_link_product</resource>
<group id="about" showInDefault="1" showInStore="1" showInWebsite="1" sortOrder="0" translate="label">
<group id="about_magepal" showInDefault="1" showInStore="1" showInWebsite="1" sortOrder="0" translate="label">
<attribute type="expanded">1</attribute>
<label>About MagePal Link Products</label>
<comment><![CDATA[
<div id="magepal-info">
Copyright © 2020 <a href="https://www.magepal.com/magento2/extensions.html?utm_source=reindex&utm_medium=admin" target="_blank">MagePal, LLC</a>
<div class="magepal-info">
Copyright © 2021 <a href="https://www.magepal.com/magento2/extensions.html?utm_source=reindex&utm_medium=admin" target="_blank">MagePal, LLC</a>
<a href="https://github.com/magepal/magento2-link-product" target="_blank">Documentation</a>
<a href="https://www.magepal.com/?utm_source=reindex&utm_medium=admin#support">Support</a>
<a href="https://www.magepal.com/magento2/extensions.html?utm_source=reindex&utm_medium=admin" target="_blank">More Extensions</a>
</div>
<hr style="border-top: 1px solid #e3e3e3" />
<style>
#magepal-info a {
font-weight: bold;
border-left: 2px solid #e3e3e3;
padding-left:10px;
padding-right:10px;
color: #ef7e1e;
}
#magepal-info a:first-child {
padding-left: 5px;
border-left: none;
}
#magepal-info {
padding-bottom: 5px;
}
</style>]]></comment>
<field id="module_version" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Module Version</label>
<frontend_model>MagePal\LinkProduct\Block\Adminhtml\System\Config\Form\Module\Version</frontend_model>
</field>
<field id="composer_version" translate="label" type="label" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
<hr class="magepal-hr" />
]]>
</comment>
<field id="MagePal_LinkProduct" translate="label" type="label" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Composer Version</label>
<frontend_model>MagePal\LinkProduct\Block\Adminhtml\System\Config\Form\Composer\Version</frontend_model>
<frontend_model>MagePal\Core\Block\Adminhtml\System\Config\Composer\Version</frontend_model>
</field>
</group>
</section>
Expand Down
5 changes: 4 additions & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="MagePal_LinkProduct" setup_version="1.1.0">
<sequence>
<module name="MagePal_Core"/>
</sequence>
</module>
</config>
</config>

0 comments on commit d1e5260

Please sign in to comment.