<?xml version="1.0" encoding="UTF-8"?>
<modification>
    <name><![CDATA[ExcelPort]]></name>
	<code><![CDATA[isense_excelport_3]]></code>
	<version><![CDATA[3.2.0]]></version>
	<author><![CDATA[iSenseLabs]]></author>
	<link><![CDATA[http://isenselabs.com]]></link>

	<file path="admin/view/template/catalog/product_list.twig">
		<operation>
			<search><![CDATA[<i class="fa fa-copy"></i></button>]]></search>
			<add position="after"><![CDATA[
				<a href="index.php?route=extension/module/excelport&user_token={{ user_token }}" class="btn btn-info" data-toggle="tooltip" title="Export / Import"><i class="fa fa-file-excel-o"></i></a>
			]]></add>
		</operation>
	</file>
    <file path="admin/controller/catalog/category.php">
        <operation>
            <search><![CDATA[$data['order'] = $order;]]></search>
            <add position="before"><![CDATA[
                $data['user_token'] = $this->session->data['user_token'];
            ]]></add>
        </operation>
    </file>
	<file path="admin/view/template/catalog/category_list.twig">
		<operation>
			<search><![CDATA[<a href="{{ repair }}" data-toggle="tooltip" title="{{ button_rebuild }}" class="btn btn-default"><i class="fa fa-refresh"></i></a>]]></search>
			<add position="replace"><![CDATA[
				<a href="index.php?route=extension/module/excelport&user_token={{ user_token }}" class="btn btn-info" data-toggle="tooltip" title="Export / Import"><i class="fa fa-file-excel-o"></i></a> <a href="{{ repair }}" data-toggle="tooltip" title="{{ button_rebuild }}" class="btn btn-default"><i class="fa fa-refresh"></i></a>
			]]></add>
		</operation>
	</file>
    <file path="admin/controller/catalog/option.php">
        <operation>
            <search><![CDATA[$data['order'] = $order;]]></search>
            <add position="after"><![CDATA[
                $data['user_token'] = $this->session->data['user_token'];
            ]]></add>
        </operation>
    </file>
	<file path="admin/view/template/catalog/option_list.twig">
		<operation>
			<search><![CDATA[<button type="button" data-toggle="tooltip" title="{{ button_delete }}" class="btn btn-danger" onclick="confirm('{{ text_confirm }}') ? $('#form-option').submit() : false;"><i class="fa fa-trash-o"></i></button>]]></search>
			<add position="before"><![CDATA[
				<a href="index.php?route=extension/module/excelport&user_token={{ user_token }}" class="btn btn-info" data-toggle="tooltip" title="Export / Import"><i class="fa fa-file-excel-o"></i></a>
			]]></add>
		</operation>
	</file>
    <file path="admin/controller/catalog/attribute.php">
        <operation>
            <search><![CDATA[$data['order'] = $order;]]></search>
            <add position="after"><![CDATA[
                $data['user_token'] = $this->session->data['user_token'];
            ]]></add>
        </operation>
    </file>
	<file path="admin/view/template/catalog/attribute_list.twig">
		<operation>
			<search><![CDATA[<button type="button" data-toggle="tooltip" title="{{ button_delete }}" class="btn btn-danger" onclick="confirm('{{ text_confirm }}') ? $('#form-attribute').submit() : false;"><i class="fa fa-trash-o"></i></button>]]></search>
			<add position="before"><![CDATA[
				<a href="index.php?route=extension/module/excelport&user_token={{ user_token }}" class="btn btn-info" data-toggle="tooltip" title="Export / Import"><i class="fa fa-file-excel-o"></i></a>
			]]></add>
		</operation>
	</file>
    <file path="admin/controller/catalog/attribute_group.php">
        <operation>
            <search><![CDATA[$data['order'] = $order;]]></search>
            <add position="after"><![CDATA[
                $data['user_token'] = $this->session->data['user_token'];
            ]]></add>
        </operation>
    </file>
	<file path="admin/view/template/catalog/attribute_group_list.twig">
		<operation>
			<search><![CDATA[<button type="button" data-toggle="tooltip" title="{{ button_delete }}" class="btn btn-danger" onclick="confirm('{{ text_confirm }}') ? $('#form-attribute-group').submit() : false;"><i class="fa fa-trash-o"></i></button>]]></search>
			<add position="before"><![CDATA[
				<a href="index.php?route=extension/module/excelport&user_token={{ user_token }}" class="btn btn-info" data-toggle="tooltip" title="Export / Import"><i class="fa fa-file-excel-o"></i></a>
			]]></add>
		</operation>
	</file>
    <file path="admin/controller/customer/customer.php">
        <operation>
            <search><![CDATA[$data['order'] = $order;]]></search>
            <add position="after"><![CDATA[
                $data['user_token'] = $this->session->data['user_token'];
            ]]></add>
        </operation>
    </file>
    <file path="admin/view/template/customer/customer_list.twig">
        <operation>
            <search><![CDATA[<button type="button" data-toggle="tooltip" title="{{ button_delete }}" class="btn btn-danger" onclick="confirm('{{ text_confirm }}') ? $('#form-customer').submit() : false;"><i class="fa fa-trash-o"></i></button>]]></search>
            <add position="before"><![CDATA[
                <a href="index.php?route=extension/module/excelport&user_token={{ user_token }}" class="btn btn-info" data-toggle="tooltip" title="Export / Import"><i class="fa fa-file-excel-o"></i></a>
            ]]></add>
        </operation>
    </file>
    <file path="admin/controller/customer/customer_group.php">
        <operation>
            <search><![CDATA[$data['order'] = $order;]]></search>
            <add position="after"><![CDATA[
                $data['user_token'] = $this->session->data['user_token'];
            ]]></add>
        </operation>
    </file>
    <file path="admin/view/template/customer/customer_group_list.twig">
        <operation>
            <search><![CDATA[<button type="button" data-toggle="tooltip" title="{{ button_delete }}" class="btn btn-danger" onclick="confirm('{{ text_confirm }}') ? $('#form-customer-group').submit() : false;"><i class="fa fa-trash-o"></i></button>]]></search>
            <add position="before"><![CDATA[
                <a href="index.php?route=extension/module/excelport&user_token={{ user_token }}" class="btn btn-info" data-toggle="tooltip" title="Export / Import"><i class="fa fa-file-excel-o"></i></a>
            ]]></add>
        </operation>
    </file>
    <file path="admin/controller/sale/order.php">
        <operation>
            <search><![CDATA[$data['order'] = $order;]]></search>
            <add position="after"><![CDATA[
                $data['user_token'] = $this->session->data['user_token'];
            ]]></add>
        </operation>
    </file>
	<file path="admin/view/template/sale/order_list.twig">
		<operation>
			<search><![CDATA[<a href="{{ add }}" data-toggle="tooltip" title="{{ button_add }}" class="btn btn-primary"><i class="fa fa-plus"></i></a>]]></search>
			<add position="before"><![CDATA[
                <a href="index.php?route=extension/module/excelport&user_token={{ user_token }}" class="btn btn-info" data-toggle="tooltip" title="Export / Import"><i class="fa fa-file-excel-o"></i></a>
            ]]></add>
		</operation>
	</file>
    <file path="admin/controller/catalog/manufacturer.php">
        <operation>
            <search><![CDATA[$data['order'] = $order;]]></search>
            <add position="after"><![CDATA[
                $data['user_token'] = $this->session->data['user_token'];
            ]]></add>
        </operation>
    </file>
    <file path="admin/view/template/catalog/manufacturer_list.twig">
        <operation>
            <search><![CDATA[<button type="button" data-toggle="tooltip" title="{{ button_delete }}" class="btn btn-danger" onclick="confirm('{{ text_confirm }}') ? $('#form-manufacturer').submit() : false;"><i class="fa fa-trash-o"></i></button>]]></search>
            <add position="before"><![CDATA[
                <a href="index.php?route=extension/module/excelport&user_token={{ user_token }}" class="btn btn-info" data-toggle="tooltip" title="Export / Import"><i class="fa fa-file-excel-o"></i></a>
            ]]></add>
        </operation>
    </file>
    <file path="admin/controller/common/column_left.php">
        <operation>
            <search><![CDATA[if ($this->user->hasPermission('access', 'tool/log')) {]]></search>
            <add position="before"><![CDATA[
                if ($this->user->hasPermission('access', 'extension/module/excelport')) {
                    $maintenance[] = array(
                        'name'     => 'ExcelPort: Export / Import',
                        'href'     => $this->url->link('extension/module/excelport', 'user_token=' . $this->session->data['user_token'], true),
                        'children' => array()
                    );
                }
            ]]></add>
        </operation>
    </file>
</modification>
