<file path="admin/view/template/design/banner_form.tpl">
<operation>
<search><![CDATA[
<td class="text-left"><?php echo $entry_title; ?></td>
]]></search>
<add position="after"><![CDATA[
<td class="text-left"><?php echo $entry_description; ?></td>
]]></add>
</operation>
<operation>
<search><![CDATA[
[<?php echo $image_row; ?>][link]
]]></search>
<add position="before"><![CDATA[
<td class="text-left" style="width: 30%;">
<textarea name="banner_image[<?php echo $language['language_id']; ?>][<?php echo $image_row; ?>][description]" value="<?php echo $banner_image['description']; ?>" placeholder="<?php echo $entry_description; ?>" class="form-control"></textarea>
</td>
]]></add>
</operation>
<operation>
<search><![CDATA[
[' + image_row + '][title]
]]></search>
<add position="after"><![CDATA[
html += ' <td class="text-left">
<textarea name="banner_image[' + language_id + '][' + image_row + '][description]" value="" placeholder="<?php echo $entry_description; ?>" class="form-control"></textarea>
</td>';
]]></add>
</operation>
</file>
<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>Description for banners</name>
<version>1.0</version>
<author>Ravilr</author>
<link>http://opencart-russia.ru</link>
<code>Description_for_banners_23</code>
<file path="admin/controller/design/banner.php">
<operation>
<search><![CDATA[
$data['button_remove'] = $this->language->get('button_remove');
]]></search>
<add position="after"><![CDATA[
$data['entry_description'] = $this->language->get('entry_description');
]]></add>
</operation>
<operation>
<search><![CDATA[
$data['banner_images'][$key][] = array(
]]></search>
<add position="after"><![CDATA[
'description' => $banner_image['description'],
]]></add>
</operation>
</file>
<file path="admin/model/design/banner.php">
<operation>
<search><![CDATA[
title = '" . $this->db->escape($banner_image['title']) . "',
]]></search>
<add position="replace"><![CDATA[
title = '" . $this->db->escape($banner_image['title']) . "', description = '" . $this->db->escape($banner_image['description']) . "',
]]>
</add>
</operation>
<operation>
<search><![CDATA[
'title' => $banner_image['title'],
]]></search>
<add position="after"><![CDATA[
'description' => $banner_image['description'],
]]></add>
</operation>
</file>
<file path="admin/language/ru-ru/design/banner.php">
<operation>
<search><![CDATA[
$_['entry_title'] = 'Заголовок';
]]></search>
<add position="after"><![CDATA[
$_['entry_description'] = 'Описание';
]]></add>
</operation>
</file>
<file path="admin/view/template/design/banner_form.tpl">
<operation>
<search><![CDATA[
<td class="text-left"><?php echo $entry_title; ?></td>
]]></search>
<add position="after"><![CDATA[
<td class="text-left"><?php echo $entry_description; ?></td>
]]></add>
</operation>
<operation>
<search><![CDATA[
[<?php echo $image_row; ?>][link]
]]></search>
<add position="before"><![CDATA[
<td class="text-left" style="width: 30%;"><input style="height:300px;" type="text" name="banner_image[<?php echo $language['language_id']; ?>][<?php echo $image_row; ?>][description]" value="<?php echo $banner_image['description']; ?>" placeholder="<?php echo $entry_description; ?>" class="form-control" /></td>
]]></add>
</operation>
<operation>
<search><![CDATA[
[' + image_row + '][title]
]]></search>
<add position="after"><![CDATA[
html += ' <td class="text-left"><input style="height:300px;" type="text" name="banner_image[' + language_id + '][' + image_row + '][description]" value="" placeholder="<?php echo $entry_description; ?>" class="form-control" /></td>';
]]></add>
</operation>
</file>
<file path="catalog/controller/extension/module/{banner,slideshow}.php">
<operation>
<search><![CDATA[
'title' => $result['title'],
]]></search>
<add position="after"><![CDATA[
'description' => html_entity_decode($result['description']),
]]></add>
</operation>
</file>
</modification>