<modification>
	<id></id>
	<name>İyzico Checkout Form</name>
	<code>iyzico_checkout_form</code>
	<version>2.3.0.4</version>
	<author>hello@kahvedigital.com</author>
	<link>http://kahvedigital.com</link>
	<file path="admin/controller/common/header.php">
		<operation>
			<search  index="0"><![CDATA[getStores(]]></search>
			<add position="before"><![CDATA[	   
			$this->load->language('extension/payment/iyzico_checkout_form');
            $this->load->model('extension/payment/iyzico_checkout_form');
			$iyzico_version = "2.3.0.4";
            $versionCheck = $this->model_extension_payment_iyzico_checkout_form->versionCheck(VERSION, $iyzico_version);

            if (!empty($versionCheck['version_status']) AND $versionCheck['version_status'] == '1') {
                $data['error_version'] = $this->language->get('entry_error_version');
				$data['alerts']= 1;
				$data['version_status']= $versionCheck['version_status'];
                $data['iyzico_or_text'] = $this->language->get('entry_iyzico_or_text');
                $data['iyzico_update_button'] = $this->language->get('entry_iyzico_update_button');
                $version_updatable = $versionCheck['new_version_id'];
                $data['version_update_link'] = $this->url->link('extension/payment/iyzico_checkout_form/update', 'token=' . $this->session->data['token'] . "&version=$version_updatable", true);
            }else{
				$data['version_status']='0';
			}                
]]></add>
		</operation>
	</file>
	
<file path="admin/view/template/common/header.tpl">
		<operation>
			<search  index="0"><![CDATA[<ul class="nav pull-right">]]></search>
			<add position="after"><![CDATA[
             <?php if($version_status > 0) { ?>     <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown"><span class="label label-danger pull-left"><?php echo $version_status; ?></span> <i class="fa fa-upload fa-lg"></i></a>
	   <ul class="dropdown-menu dropdown-menu-right alerts-dropdown">
	    <li class="dropdown-header"><?php echo $error_version ?><a href='<?php echo $version_update_link ?>'><?php echo $iyzico_update_button ?></a><?php echo $iyzico_or_text ?></li>
	   </ul>
	   
	</li>
             <?php } ?>      
]]></add>
		</operation>
	</file>
	
	
</modification>