<?xml version="1.0" encoding="utf-8"?>
<modification>
	<name>Android Store - Push Notification</name>
	<version>4.2</version>
	<code>ocxas42</code>
	<author>OC-Extensions.com</author>
	<link>http://www.oc-extensions.com/Android-Store-Opencart-2.x</link>	
	
	<file path="admin/controller/common/header.php">
		<operation error="log">
			<search><![CDATA[$data['logout'] = $this->url->link('common/logout', 'token=' . $this->session->data['token'], 'SSL');]]></search>
			<add position="after"><![CDATA[$data['push_notification'] = $this->url->link('module/android_store/push_notification', 'token=' . $this->session->data['token'], 'SSL');]]></add>
		</operation>		
	</file>
	
	<file path="admin/view/template/common/header.tpl">
		<operation error="log">
			<search><![CDATA[<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown"><span class="label label-danger pull-left"><?php echo $alerts; ?></span> <i class="fa fa-bell fa-lg"></i></a>]]></search>
			<add position="before"><![CDATA[<li><a href="<?php echo $push_notification; ?>"><i class="fa fa-bullhorn fa-lg"></i></a></li>]]></add>
		</operation>		
	</file>
	
	<file path="catalog/controller/common/header.php">
		<operation error="log">
			<search><![CDATA[$data['cart'] = $this->load->controller('common/cart');]]></search>
			<add position="after"><![CDATA[$data['android_store_promote'] = $this->load->controller('android_store/promote');]]></add>
		</operation>		
	</file>	
	
	<file path="catalog/view/theme/*/template/common/header.tpl">
		<operation error="log">
			<search><![CDATA[<?php foreach ($styles as $style) { ?>]]></search>
			<add position="before"><![CDATA[<link href="catalog/view/theme/android_store_default/stylesheet/android_store_promote.css" rel="stylesheet">]]></add>
		</operation>		
		<operation error="log">
			<search><![CDATA[<body class="<?php echo $class; ?>">]]></search>
			<add position="after"><![CDATA[<?php echo $android_store_promote; ?>]]></add>
		</operation>		
	</file>	
</modification>