Skip to content

Instantly share code, notes, and snippets.

@nidgetgod
Last active September 9, 2017 10:42
Show Gist options
  • Save nidgetgod/e2413b7244235580cb510adbf9944600 to your computer and use it in GitHub Desktop.
Save nidgetgod/e2413b7244235580cb510adbf9944600 to your computer and use it in GitHub Desktop.
OpenCart 2.3.0.2 OCMOD - 簡化 OpenCart 2.3.0.2
<?xml version="1.0" encoding="utf-8"?>
<modification>
<code><![CDATA[簡化 OpenCart]]></code>
<name><![CDATA[簡化 OpenCart]]></name>
<version><![CDATA[1.0]]></version>
<author><![CDATA[NidgetGod]]></author>
<link>https://gist.github.com/nidgetgod/e2413b7244235580cb510adbf9944600</link>
<file path="admin/view/template/catalog/product_form.tpl">
<operation>
<search><![CDATA[<label class="col-sm-2 control-label" for="input-meta-description<?php echo $language['language_id']; ?>"><?php echo $entry_meta_description; ?></label>]]></search>
<add position="replace" offset="15"></add>
</operation>
<operation>
<search><![CDATA[<label class="col-sm-2 control-label" for="input-sku"><span data-toggle="tooltip" title="<?php echo $help_sku; ?>"><?php echo $entry_sku; ?></span></label>]]></search>
<add position="replace" offset="41"></add>
</operation>
<operation>
<search><![CDATA[<label class="col-sm-2 control-label" for="input-tax-class"><?php echo $entry_tax_class; ?></label>]]></search>
<add position="replace" offset="14"></add>
</operation>
<operation>
<search><![CDATA[<label class="col-sm-2 control-label"><?php echo $entry_store; ?></label>]]></search>
<add position="replace" offset="43"></add>
</operation>
<operation>
<search><![CDATA[<li><a href="#tab-recurring" data-toggle="tab"><?php echo $tab_recurring; ?></a></li>]]></search>
<add position="replace"></add>
</operation>
<operation>
<search><![CDATA[<div class="tab-pane" id="tab-recurring">]]></search>
<add position="replace" offset="46"></add>
</operation>
<operation>
<search><![CDATA[<li><a href="#tab-reward" data-toggle="tab"><?php echo $tab_reward; ?></a></li>]]></search>
<add position="replace"></add>
</operation>
<operation>
<search><![CDATA[<div class="tab-pane" id="tab-reward">]]></search>
<add position="replace" offset="25"></add>
</operation>
</file>
<file path="admin/controller/common/column_left.php">
<operation>
<search><![CDATA[if ($this->user->hasPermission('access', 'catalog/download')) {]]></search>
<add position="replace" offset="6"></add>
</operation>
<operation>
<search><![CDATA[if ($this->user->hasPermission('access', 'catalog/recurring')) {]]></search>
<add position="replace" offset="6"></add>
</operation>
<operation>
<search><![CDATA[if ($this->user->hasPermission('access', 'sale/recurring')) {]]></search>
<add position="replace" offset="6"></add>
</operation>
<operation>
<search><![CDATA[$voucher = array();]]></search>
<add position="replace" offset="24"></add>
</operation>
</file>
</modification>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment