download all files

This commit is contained in:
Roman Pyrih
2025-06-24 14:14:35 +02:00
parent ebed09c00b
commit 4c71b5d9c2
72007 changed files with 10407727 additions and 40029 deletions

View File

@@ -0,0 +1,45 @@
{extends file="helpers/form/form.tpl"}
{block name="footer" prepend}
<input type="hidden" name="id" value="{if !empty($id)}{$id|escape:'html':'UTF-8'}{/if}">
{if $fields_list}
<div class="panel-body">
<label>Mark the fields that a new subscriber must fill in when signing up for a newsletter using the form.</label>
<table class="table table-striped table-hover " name="list_fields">
<tr>
<th>Field name </th>
<th>Tag name</th>
<th>Text on the Form</th>
<th>Required</th>
<th>Include</th>
</tr>
{if is_array($fields_list_update) }
{foreach $fields_list_update as $key => $val}
{if in_array($val.tag, array('presta_newsletter','presta_partners_newsletter'))}
<tr class="hide">
{else}
<tr>
{/if}
<td>
{$val.name}
{if $display == 'edit'}
<input type="hidden" name="fields[{$val.hash}][id]" value="{$val.id|escape:'html':'UTF-8'}">
{/if}
<input type="hidden" name="fields[{$val.hash}][name]" value="{$val.name|escape:'html':'UTF-8'}">
<input type="hidden" name="fields[{$val.hash}][hash]" value="{$val.hash|escape:'html':'UTF-8'}">
</td>
<td>
{$val.tag}
<input type="hidden" name="fields[{$val.hash}][tag]" value="{$val.tag|escape:'html':'UTF-8'}">
<input type="hidden" name="fields[{$val.hash}][type]" value="{$val.type|escape:'html':'UTF-8'}">
</td>
<td><input type="text" name="fields[{$val.hash}][displayname]" value="{if !empty($val.displayname)}{$val.displayname|escape:'html':'UTF-8'}{/if}"></td>
<td><input type="checkbox" name="fields[{$val.hash}][required]" value="1"{if !empty($val.require_field) || $val.tag == "email"} checked="checked"{/if} ></td>
<td><input type="checkbox" name="fields[{$val.hash}][include]" value="1" {if !empty($val.include_field) || $val.tag == "email"} checked="checked"{/if} ></td>
</tr>
{/foreach}
{/if}
</table>
</div>
{/if}
{/block}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2019 PrestaShop and Contributors
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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:
* https://opensource.org/licenses/OSL-3.0
* 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 https://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2019 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;