Current File : //var/www/vinorea/modules/tvcmscategorychainslider/views/templates/admin/display_manage.tpl |
{**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2025 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{strip}
<div class="panel">
<input type="hidden" name="tvcmscatslider_tab_number" id='tvcmscatslider-tab-number'>
<form id="module_form" action="{$tvurlupgrade}" method="post" enctype="multipart/form-data" novalidate="">
<button class="btn btn-primary tvcms-sample-catslider-btn" type="submit" onclick="return confirm('Are you sure want to install sample data?')" name="submitTvcmsSampleinstall">{l s='Install Sample Data' mod="tvcmscategorychainslider"}</button>
</form>
<div class="seperation defaultHidden"> </div>
<table id="table-data" class="table tvcmstable tvcmscategorychainslider">
<thead>
<tr class="nodrag nodrop">
<th class="fixed-width-xs center">
<span class="title_box active">{l s='Category Images' mod='tvcmscategorychainslider'}</span>
</th>
{if $show_fields.category_title == true}
<th class="fixed-width-xs center">
<span class="title_box active">{l s='Category Name' mod='tvcmscategorychainslider'}</span>
</th>
{/if}
{if $show_fields.title == true}
<th class="fixed-width-xs center">
<span class="title_box active">{l s='Category Custom Name' mod='tvcmscategorychainslider'}</span>
</th>
{/if}
{if $show_fields.short_description == true}
<th class="fixed-width-xs center">
<span class="title_box active">{l s='Category Description' mod='tvcmscategorychainslider'}</span>
</th>
{/if}
<th class="fixed-width-xs center status">
<span class="title_box active">{l s='Status' mod='tvcmscategorychainslider'}</span>
</th>
<th class="fixed-width-xs center action">
<span class="title_box active">{l s='Action' mod='tvcmscategorychainslider'}</span>
</th>
</tr>
</thead>
<tbody>
{foreach $array_list as $Data}
<tr id="recordsArray_{$Data.id|escape:'htmlall':'UTF-8'}">
<td class="pointer fixed-width-xs center">
<img src='{$module_dir|escape:"html":"UTF-8"}views/img/{$Data.image}' width="100px" />
</td>
{if $show_fields.category_title == true}
<td class="pointer fixed-width-xs center">
{$category_list[$Data['id_category']]|escape:'htmlall':'UTF-8'}
</td>
{/if}
{if $show_fields.title == true}
<td class="pointer fixed-width-xs center">
{$Data.title|escape:'htmlall':'UTF-8'}
</td>
{/if}
{if $show_fields.short_description == true}
<td class="pointer fixed-width-xs center">
{$Data.short_description|escape:'htmlall':'UTF-8'}
</td>
{/if}
<td class="pointer fixed-width-xs center">
{if $Data.status == 1}
<i class="icon-check greenColor"></i>
{else}
<i class="icon-close redColor"></i>
{/if}
</td>
<td class="pointer fixed-width-xs center">
<form action="" class="actionEdit" name="actionEdit" method="post">
<input type="hidden" name="id" value="{$Data.id|escape:'html':'UTF-8'}">
<input type="hidden" name="action" value="edit">
<button title="Edit" class="edit" onclick="$(this).parent('.actionEdit').trigger('submit');"><i class="icon-pencil"></i> {l s='Edit' mod='tvcmscategorychainslider'} </button>
</form>
<form action="" class="actionDelete" name="actionDelete" method="post">
<input type="hidden" name="id" value="{$Data.id|escape:'html':'UTF-8'}">
<input type="hidden" name="action" value="remove">
<button title="Delete" class="delete tvcmsdelete"><i class='icon-trash'></i> {l s='Delete' mod='tvcmscategorychainslider'} </button>
</form>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<div id="growls" class="default"></div>
{/strip}