Module DigressivePrice
This commit is contained in:
0
.well-known/.docker/mysql-data/.gitkeep
Normal file
0
.well-known/.docker/mysql-data/.gitkeep
Normal file
55
.well-known/.docker/nginx/nginx.conf
Normal file
55
.well-known/.docker/nginx/nginx.conf
Normal file
@@ -0,0 +1,55 @@
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
root /application/web/;
|
||||
index index.php;
|
||||
|
||||
access_log /var/log/nginx/starter.tld_access.log;
|
||||
error_log /var/log/nginx/starter.tld_error.log;
|
||||
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ @rewriteapp;
|
||||
}
|
||||
|
||||
location @rewriteapp {
|
||||
# rewrite all to index.php
|
||||
rewrite ^(.*)$ /index.php/$1 last;
|
||||
}
|
||||
|
||||
# Php configuration
|
||||
location ~ ^/(index|index_dev)\.php(/|$) {
|
||||
# Php-FPM Config (Socks or Network)
|
||||
#fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
|
||||
fastcgi_pass php-fpm:9000;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_read_timeout 3000;
|
||||
}
|
||||
|
||||
# Security. discard all files and folders starting with a "."
|
||||
location ~ /\. {
|
||||
deny all;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
# Stuffs
|
||||
location = /favicon.ico {
|
||||
allow all;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
location ~ /robots.txt {
|
||||
allow all;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
|
||||
# Static files
|
||||
location ~* ^.+\.(jpg|jpeg|gif|css|png|js|pdf|zip)$ {
|
||||
expires 30d;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
}
|
||||
19
.well-known/.docker/php-fpm/Dockerfile
Normal file
19
.well-known/.docker/php-fpm/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM phpdockerio/php73-fpm:latest
|
||||
WORKDIR "/application"
|
||||
|
||||
# Fix debconf warnings upon build
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Install selected extensions and other stuff
|
||||
RUN apt-get update \
|
||||
&& apt-get -y --no-install-recommends install php-mysql php7.3-mysql php7.3-gd php-imagick php7.3-intl php-yaml php-xdebug \
|
||||
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||
|
||||
# Install git
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install git \
|
||||
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install vim \
|
||||
&& apt-get clean;
|
||||
17
.well-known/.docker/php-fpm/php-ini-overrides.ini
Normal file
17
.well-known/.docker/php-fpm/php-ini-overrides.ini
Normal file
@@ -0,0 +1,17 @@
|
||||
upload_max_filesize = 100M
|
||||
post_max_size = 108M
|
||||
html_errors=On
|
||||
display_errors=On
|
||||
date.timezone=Europe/Paris
|
||||
memory_limit=-1
|
||||
max_execution_time = 300
|
||||
|
||||
xdebug.idekey = "PHPSTORM"
|
||||
xdebug.remote_enable=1
|
||||
xdebug.remote_autostart=1
|
||||
xdebug.remote_port=9000
|
||||
xdebug.remote_connect_back=1
|
||||
xdebug.remote_handler=dbgp
|
||||
xdebug.profiler_enable=0
|
||||
xdebug.profiler_enable_trigger=1
|
||||
xdebug.profiler_output_dir="/application/log"
|
||||
2
.well-known/.env.dist
Normal file
2
.well-known/.env.dist
Normal file
@@ -0,0 +1,2 @@
|
||||
# This file is a "template" of which env vars need to be defined for your application
|
||||
# Copy this file to .env file for development, create environment variables when deploying to production
|
||||
1
.well-known/.gitattributes
vendored
Normal file
1
.well-known/.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
CHANGELOG.md merge=union
|
||||
65
.well-known/.github/workflows/test.yml
vendored
Normal file
65
.well-known/.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
name: test
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
jobs:
|
||||
phpunit:
|
||||
name: PHP ${{ matrix.php-versions }}
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
mysql:
|
||||
image: mariadb:10.3
|
||||
env:
|
||||
MYSQL_ROOT_PASSWORD: thelia
|
||||
MYSQL_DATABASE: thelia
|
||||
ports:
|
||||
- 3306/tcp
|
||||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3']
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Environment
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install sendmail
|
||||
- name: Setup PHP, with composer and extensions
|
||||
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
ini-values: post_max_size=20M
|
||||
extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite, mysql, gd, zip
|
||||
- name: Start mysql service
|
||||
run: sudo /etc/init.d/mysql start
|
||||
- name: Get composer cache directory
|
||||
id: composercache
|
||||
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
|
||||
- name: Cache composer dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ steps.composercache.outputs.dir }}
|
||||
# Use composer.json for key, if composer.lock is not committed.
|
||||
# key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
||||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
|
||||
restore-keys: ${{ runner.os }}-composer-
|
||||
- name: Install Composer dependencies
|
||||
run: |
|
||||
composer install --no-progress --prefer-dist --optimize-autoloader
|
||||
composer update --no-interaction --prefer-dist
|
||||
- name: Install Thelia
|
||||
run: |
|
||||
php Thelia thelia:install --db_host=127.0.0.1:${{ job.services.mysql.ports['3306'] }} --db_username=root --db_name=thelia --db_password=thelia
|
||||
php setup/faker.php -r 0
|
||||
php Thelia module:refresh
|
||||
php Thelia module:activate Colissimo
|
||||
php Thelia module:activate Cheque
|
||||
php Thelia module:activate HookTest
|
||||
php Thelia module:activate VirtualProductDelivery
|
||||
php Thelia admin:create --login_name thelia2 --password thelia2 --last_name thelia2 --first_name thelia2 --email thelia2@example.com
|
||||
- name: Run PHPUnit
|
||||
run: php bin/phpunit
|
||||
34
.well-known/.gitignore
vendored
Normal file
34
.well-known/.gitignore
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
cache/*
|
||||
log/*
|
||||
bin/*
|
||||
local/session/*
|
||||
coverage
|
||||
.idea
|
||||
.buildpath
|
||||
.project
|
||||
.settings/
|
||||
web/assets/*
|
||||
web/cache/*
|
||||
web/tinymce
|
||||
web/media
|
||||
phpdoc*.log
|
||||
xhprof/
|
||||
phpunit.phar
|
||||
.DS_Store
|
||||
phpmyadmin
|
||||
composer.phar
|
||||
local/I18n/*.php
|
||||
.docker/mysql-data/*
|
||||
!.docker/mysql-data/.gitkeep
|
||||
|
||||
#Ignore CodeKit
|
||||
codekit-config.json
|
||||
config.codekit
|
||||
.codekit-cache
|
||||
|
||||
#MacOS
|
||||
.DS_Store
|
||||
|
||||
# Ignore casperjs screenshots
|
||||
tests/functionnal/casperjs/screenshot/
|
||||
tests/phpunit/Thelia/Tests/Api/fixtures/visuel*.png
|
||||
2
.well-known/.htaccess
Normal file
2
.well-known/.htaccess
Normal file
@@ -0,0 +1,2 @@
|
||||
<IfModule mod_alias.c>
|
||||
</IfModule>
|
||||
1312
.well-known/CHANGELOG.md
Normal file
1312
.well-known/CHANGELOG.md
Normal file
File diff suppressed because it is too large
Load Diff
51
.well-known/CONTRIBUTORS.md
Normal file
51
.well-known/CONTRIBUTORS.md
Normal file
@@ -0,0 +1,51 @@
|
||||
CONTRIBUTORS
|
||||
============
|
||||
|
||||
If you contributes or contributed to this project and do not appear in this list below,
|
||||
please email us (info@thelia.net) or fork this file on GitHub and send a pull-request.
|
||||
|
||||
- Manuel Raynaud (lunika)
|
||||
- Franck Allimant (roadster31)
|
||||
- Etienne Roudeix (etienneroudeix)
|
||||
- Benjamin Perche (lovenunu)
|
||||
- Julien Chanseaume (bibich)
|
||||
- Christophe Laffont (touffies)
|
||||
- Michaël Espeche (mespeche)
|
||||
- Gilles Bourgeat (gillesbourgeat)
|
||||
- Guillaume Morel (gmorel)
|
||||
- Yochima (Yochima)
|
||||
- Goleo Bruno (badsuricate)
|
||||
- (zzuutt)
|
||||
- Jérôme Billiras (bilhackmac)
|
||||
- Emmanuel Nurit (enurit)
|
||||
- (Asturyan)
|
||||
- Etienne Perriere (Mertiozys)
|
||||
- (griotteau)
|
||||
- Alban Baixas (Alban-io)
|
||||
- Christophe (InformatiqueProg)
|
||||
- (jodeq)
|
||||
- (nicolasleon)
|
||||
- Chevrier (AnthonyMeedle)
|
||||
- Romain Ducher (air-dex)
|
||||
- Antony Penalver (Soldras)
|
||||
- David Rimbault (Id4v)
|
||||
- Stéphanie Pinet (stephaniepinet)
|
||||
- Damien Foulhoux (Lucanis)
|
||||
- Vincent Lopes-Vicente (lopes-vincent)
|
||||
- (alex63530)
|
||||
- Arnault Pachot (apachot)
|
||||
- Cédric Sibaud (csibaud)
|
||||
- Stéphane Calisti (csteph85)
|
||||
- Alex Rock Ancelet (Pierstoval)
|
||||
- Baptiste Cabarrou (bcabarrou)
|
||||
- Adrien Bourroux (driou)
|
||||
- (AdeDidou)
|
||||
- DirtyF (DirtyF)
|
||||
- (xockduo)
|
||||
- Michaël Marinetti (Asenar)
|
||||
- Mickaël (Kira-kyuukyoku)
|
||||
- Quentin Dufour (superboum)
|
||||
- Lespes (knjeurope)
|
||||
- Tarun Garg (tarun1793)
|
||||
- poum (poum)
|
||||
- Luis Cordova (cordoval)
|
||||
4
.well-known/COPYRIGHT.txt
Normal file
4
.well-known/COPYRIGHT.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
THELIA
|
||||
Copyright (C) 2005-2015 OpenStudio
|
||||
|
||||
THELIA application uses externals components and libraries which are released under their own LGPL compatible license terms.
|
||||
165
.well-known/LICENSE.txt
Normal file
165
.well-known/LICENSE.txt
Normal file
@@ -0,0 +1,165 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
||||
227
.well-known/Readme.md
Normal file
227
.well-known/Readme.md
Normal file
@@ -0,0 +1,227 @@
|
||||
Readme
|
||||
======
|
||||
|
||||
## Warning
|
||||
### This is the development repository of Thelia. If you want to create a project, please take a look at [thelia/thelia-project](https://github.com/thelia/thelia-project)
|
||||
|
||||
If you want to download a packaged, ready-to-use distribution of the most recent version of Thelia please download [thelia.zip](https://thelia.net/download/thelia.zip)
|
||||
|
||||
Thelia
|
||||
------
|
||||
[](https://github.com/thelia/thelia/actions?query=workflow%3A"test")
|
||||
[](https://scrutinizer-ci.com/g/thelia/thelia/)
|
||||
[](https://packagist.org/packages/thelia/thelia)
|
||||
|
||||
[Thelia](https://thelia.net/) is an open source tool for creating e-business websites and managing online content. This software is published under LGPL.
|
||||
|
||||
This is the new major version of Thelia.
|
||||
|
||||
A repository containing all thelia modules is available at this address : https://github.com/thelia-modules
|
||||
|
||||
Compatibility
|
||||
------------
|
||||
|
||||
| | Thelia 2.1 | Thelia 2.2 | Thelia 2.3 | Thelia 2.4 |
|
||||
| ------------- |:-------------:| -----:| -----:| -----:|
|
||||
| PHP | 5.4 5.5 5.6 | 5.4 5.5 5.6 | 5.5 5.6 7.0 7.1 | 5.6 7.0 7.1 7.2 7.3 |
|
||||
| MySQL | 5.5 5.6 | 5.5 5.6 | 5.5 5.6 | 5.5 5.6 5.7 |
|
||||
| Symfony | 2.3 | 2.3 | 2.8 | 2.8 |
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
* PHP
|
||||
* Required extensions :
|
||||
* PDO_Mysql
|
||||
* openssl
|
||||
* intl
|
||||
* gd
|
||||
* curl
|
||||
* dom
|
||||
* safe_mode off
|
||||
* memory_limit at least 128M, preferably 256.
|
||||
* post\_max\_size 20M
|
||||
* upload\_max\_filesize 2M
|
||||
* date.timezone must be defined
|
||||
* Web Server Apache 2 or Nginx
|
||||
* MySQL 5
|
||||
|
||||
|
||||
### MySQL 5.6
|
||||
|
||||
As of MySQL 5.6, default configuration sets the sql_mode value to
|
||||
|
||||
```
|
||||
STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION
|
||||
```
|
||||
|
||||
This 'STRICT_TRANS_TABLES' configuration results in SQL errors when no default value is defined on NOT NULL columns and the value is empty or invalid.
|
||||
|
||||
You can edit this default config in ` /etc/my.cnf ` and change the sql_mode to remove the STRICT_TRANS_TABLES part
|
||||
|
||||
```
|
||||
[mysqld]
|
||||
sql_mode=NO_ENGINE_SUBSTITUTION
|
||||
```
|
||||
|
||||
Assuming your sql_mode is the default one, you can change the value directly on the run by running the following SQL Command
|
||||
|
||||
```sql
|
||||
SET @@GLOBAL.sql_mode='NO_ENGINE_SUBSTITUTION', @@SESSION.sql_mode='NO_ENGINE_SUBSTITUTION'
|
||||
```
|
||||
|
||||
For more information on sql_mode you can consult the [MySQL doc](https://dev.mysql.com/doc/refman/5.0/fr/server-sql-mode.html "sql Mode")
|
||||
|
||||
## Archive builders
|
||||
Thelia's archive builder's needs external libraries.
|
||||
For zip archives, you need PECL zip. See [PHP Doc](https://php.net/manual/en/zip.installation.php)
|
||||
|
||||
For tar archives, you need PECL phar. Moreover, you need to deactivate php.ini option "phar.readonly":
|
||||
```ini
|
||||
phar.readonly = Off
|
||||
```
|
||||
|
||||
For tar.bz2 archives, you need tar's dependencies and the extension "bzip2". See [PHP Doc](https://php.net/manual/fr/book.bzip2.php)
|
||||
|
||||
For tar.gz archives, you need tar's dependencies and the extension "zlib". See [PHP Doc](https://fr2.php.net/manual/fr/book.zlib.php)
|
||||
|
||||
## Download Thelia 2 and install its dependencies
|
||||
|
||||
You can get the sources from git and then let composer install dependencies, or use composer to install the whole thelia project into a specific directory
|
||||
|
||||
### Using git for download and composer for dependencies
|
||||
|
||||
``` bash
|
||||
$ git clone --recursive https://github.com/thelia/thelia path
|
||||
$ cd path
|
||||
$ git checkout 2.4.3 (2.3.5 or 2.2.6)
|
||||
$ curl -sS https://getcomposer.org/installer | php
|
||||
$ php composer.phar install
|
||||
```
|
||||
|
||||
### Using composer for both download and dependencies
|
||||
|
||||
``` bash
|
||||
$ curl -sS https://getcomposer.org/installer | php
|
||||
$ php composer.phar create-project thelia/thelia path/ 2.4.3 (2.3.5 or 2.2.6)
|
||||
```
|
||||
|
||||
If something goes wrong during the install process, you can restart Thelia install wizard with
|
||||
the following command : `php composer.phar run-script post-create-project-cmd`
|
||||
|
||||
## Install it
|
||||
|
||||
You can install Thelia by two different way
|
||||
|
||||
### Using install wizard
|
||||
|
||||
Installing thelia with the web install wizard allow to create an administrator, add some informations about your shop, etc
|
||||
|
||||
First of all, you have to configure a vhost as describe in [configuration](https://doc.thelia.net/en/documentation/configuration.html) section.
|
||||
|
||||
The install wizard in accessible with your favorite browser :
|
||||
|
||||
``` bash
|
||||
https://yourdomain.tld/[/subdomain_if_needed]/install
|
||||
```
|
||||
|
||||
For example, I have thelia downloaded at https://thelia.net and my vhost is correctly configured, I have to reach this address :
|
||||
|
||||
``` bash
|
||||
https://thelia.net/install
|
||||
```
|
||||
|
||||
### Using cli tools
|
||||
|
||||
``` bash
|
||||
$ php Thelia thelia:install
|
||||
```
|
||||
|
||||
or if you use a Thelia project :
|
||||
|
||||
``` bash
|
||||
$ php composer.phar run-script post-create-project-cmd
|
||||
```
|
||||
|
||||
You just have to follow all instructions.
|
||||
|
||||
### Docker and docker compose
|
||||
|
||||
This repo contains all the configuration needed to run Thelia with docker and docker-compose.
|
||||
Warning, this docker configuration is not ready for production.
|
||||
|
||||
It requires obviously [docker](https://docker.com/) and [docker-compose](https://docs.docker.com/compose/)
|
||||
|
||||
To install Thelia within Docker, run :
|
||||
|
||||
```
|
||||
docker-compose up -d
|
||||
docker-compose exec php-fpm composer install
|
||||
docker-compose exec php-fpm php Thelia thelia:install
|
||||
```
|
||||
|
||||
By default if you haven't changed the `docker-compose.yml` you'll have to answer these questions like this
|
||||
|
||||
```
|
||||
Database host [default: localhost] : mariadb
|
||||
```
|
||||
```
|
||||
Database port [default: 3306] : 3306
|
||||
```
|
||||
```
|
||||
Database name (if database does not exist, Thelia will try to create it) : thelia
|
||||
```
|
||||
|
||||
```
|
||||
Database username : thelia
|
||||
```
|
||||
|
||||
```
|
||||
Database pasword : thelia
|
||||
```
|
||||
|
||||
Next just go to http://localhost:8080 and you should see your Thelia installed !
|
||||
|
||||
tip : create an alias for docker-compose, it's boring to write it all the time
|
||||
|
||||
If you want add some sample data just execute this command (still in your container)
|
||||
``` bash
|
||||
docker-compose exec php-fpm php setup/import.php
|
||||
```
|
||||
|
||||
If you want to access your database from your computer (with DBeaver, Sequel Pro or anything else) by default the host is `localhost` and the port is `8086`
|
||||
|
||||
Obviously you can modify all the configuration for your own case, for example the php version or add environment variable for the database configuration. Each time you modify the configuration, you have to rebuild it :
|
||||
|
||||
```
|
||||
docker-compose build --no-cache
|
||||
```
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
Thelia documentation is available at https://doc.thelia.net
|
||||
|
||||
|
||||
Contribute
|
||||
----------
|
||||
|
||||
See the documentation : http://doc.thelia.net/en/documentation/contribute.html
|
||||
|
||||
|
||||
If you submit modifications that adds new data or change the structure of the database, take a look to https://doc.thelia.net/en/documentation/contribute.html#sql-scripts-modification
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
Consult the page : https://localhost/thelia/web/index_dev.php
|
||||
|
||||
You can create a virtual host and choose the web folder for root directory.
|
||||
|
||||
To run tests (phpunit required) :
|
||||
|
||||
``` bash
|
||||
$ phpunit
|
||||
```
|
||||
|
||||
We still have a lot of work to achieve but enjoy this part.
|
||||
5
.well-known/Thelia
Normal file
5
.well-known/Thelia
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
$bootstrapFile = __DIR__ . "/core/vendor/autoload.php";
|
||||
include __DIR__ . "/core/Thelia";
|
||||
68
.well-known/UPDATE.md
Normal file
68
.well-known/UPDATE.md
Normal file
@@ -0,0 +1,68 @@
|
||||
# How to update your Thelia ?
|
||||
|
||||
If you have already installed Thelia but a new version is available, you can update easily.
|
||||
|
||||
Before proceeding to the update, it's strongly recommended to backup your website (files and database).
|
||||
You can backup your database with tools such as [phpmyadmin](http://www.phpmyadmin.net)
|
||||
or [mysqldump](dev.mysql.com/doc/refman/5.6/en/mysqldump.html).
|
||||
|
||||
## 1. Update files
|
||||
|
||||
- Download the latest version of Thelia : <http://thelia.net/download/thelia.zip>
|
||||
- Extract the zip in a temporary directory
|
||||
- Then you should replace (not only copy) all the files from the new Thelia version :
|
||||
- all files from root directory
|
||||
- bin (*optional*)
|
||||
- core (**mandatory**)
|
||||
- setup (**mandatory**)
|
||||
- Then, you have to merge (copy in your existent directories) these other directories. Normally,
|
||||
you haven't modify files inside these directories (just created new ones - like your frontOffice template).
|
||||
But If you have modified files, you should proceed carefully and try to report all your changes.
|
||||
- local/config
|
||||
- local/modules
|
||||
- templates
|
||||
- web
|
||||
|
||||
|
||||
## 2. Update database
|
||||
|
||||
Then you have 2 different ways to proceed. In each method, a backup of your database can be automatically
|
||||
performed if you want to. If an error is encountered, then your database will be restored.
|
||||
But if your database is quite large, it's better to make a backup manually.
|
||||
|
||||
### 2.1. use the update script
|
||||
|
||||
In a command shell, go to the root directory of your installation, run and follow instructions :
|
||||
|
||||
```bash
|
||||
php setup/update.php
|
||||
```
|
||||
|
||||
### 2.2. use the update wizard
|
||||
|
||||
An update wizard is available in the ```web/install``` directory. It's the same directory used by the install wizard.
|
||||
|
||||
**You have to protect the web folder if your site is public (htaccess, List of allowed IP, ...).**
|
||||
|
||||
The update wizard in accessible with your favorite browser :
|
||||
|
||||
```bash
|
||||
http://yourdomain.tld/[/subdomain_if_needed]/install
|
||||
```
|
||||
|
||||
Note:
|
||||
|
||||
- the wizard is available only if your Thelia is not already in the latest version.
|
||||
- at the end of the process, the install directory will be removed.
|
||||
|
||||
|
||||
## 3. Clear cache
|
||||
|
||||
Once the update is done successfully, you have to clear all caches :
|
||||
|
||||
- clear all caches in all environment :
|
||||
- ```php Thelia cache:clear```
|
||||
- ```php Thelia cache:clear --env=prod```
|
||||
|
||||
If the command fails, you can do it manually. Just delete the content of
|
||||
the ```cache``` and ```web/cache``` directories.
|
||||
131
.well-known/UPGRADE-2.3.md
Normal file
131
.well-known/UPGRADE-2.3.md
Normal file
@@ -0,0 +1,131 @@
|
||||
|
||||
UPGRADE FROM 2.2 to 2.3
|
||||
=======================
|
||||
|
||||
|
||||
EventDispatcher
|
||||
----------------
|
||||
|
||||
* The `getDispatcher()` and `getName()` methods from `Symfony\Component\EventDispatcher\Event`
|
||||
are deprecated, the event dispatcher instance and event name can be received in the listener call instead.
|
||||
|
||||
Before:
|
||||
|
||||
```php
|
||||
use Symfony\Component\EventDispatcher\Event;
|
||||
|
||||
class Foo
|
||||
{
|
||||
public function myFooListener(Event $event)
|
||||
{
|
||||
$dispatcher = $event->getDispatcher();
|
||||
$eventName = $event->getName();
|
||||
$dispatcher->dispatch('log', $event);
|
||||
|
||||
// ... more code
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
After:
|
||||
|
||||
```php
|
||||
use Symfony\Component\EventDispatcher\Event;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
|
||||
class MyListenerClass
|
||||
{
|
||||
public function myListenerMethod(Event $event, $eventName, EventDispatcherInterface $dispatcher)
|
||||
{
|
||||
$dispatcher->dispatch('log', $event);
|
||||
|
||||
// ... more code
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
While this above is sufficient for most uses, **if your module must be compatible with versions less than 2.3, or if your module uses multiple EventDispatcher instances,** you might need to specifically inject a known instance of the `EventDispatcher` into your listeners. This could be done using constructor or setter injection as follows:
|
||||
|
||||
```php
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
|
||||
class MyListenerClass
|
||||
{
|
||||
protected $dispatcher = null;
|
||||
|
||||
public function __construct(EventDispatcherInterface $dispatcher)
|
||||
{
|
||||
$this->dispatcher = $dispatcher;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Request and RequestStack
|
||||
----------------
|
||||
|
||||
* The `Request` service are deprecated, you must now use the `RequestStack` service.
|
||||
|
||||
##### In your loops
|
||||
The way to recover the request does not change.
|
||||
|
||||
To get the current request
|
||||
|
||||
```php
|
||||
class MyLoopClass extends BaseLoop implements PropelSearchLoopInterface
|
||||
{
|
||||
public function buildModelCriteria()
|
||||
{
|
||||
// Get the current request
|
||||
$request = $this->getCurrentRequest();
|
||||
// Or
|
||||
$request = $this->requestStack->getCurrentRequest();
|
||||
|
||||
// ... more code
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
##### In your controllers
|
||||
It's not recommended to use `getRequest()` and `getSession()`, the Request instance can be received in the action method parameters.
|
||||
However, the `getRequest()` method returns the current request.
|
||||
**Warning !!** This is not compatible with Thelia 2.0, because it uses Symfony 2.2
|
||||
|
||||
To get the current request
|
||||
|
||||
```php
|
||||
use Thelia\Core\HttpFoundation\Request;
|
||||
|
||||
class MyControllerClass extends ...
|
||||
{
|
||||
public function MyActionMethod(Request $request, $query_parameters ...)
|
||||
{
|
||||
$session = $request->getSession();
|
||||
// ... more code
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Container Scopes
|
||||
----------------
|
||||
|
||||
* The "container scopes" concept no longer exists in Thelia 2.3.
|
||||
For backward compatibility, the attributes `scope` is automatically removed of the xml configuration files.
|
||||
**Warning !!** The attributes `scope` are always needed for your modules compatible with Thelia < 2.3.
|
||||
[See the Symfony documentation for more information](http://symfony.com/doc/2.8/cookbook/service_container/scopes.html)
|
||||
|
||||
|
||||
Unit Test
|
||||
----------------
|
||||
|
||||
* The `SecurityContext`, `ParserContext`, `TokenProvider`, `TheliaFormFactory`, `TaxEngine` services are no longer dependent on "Request", but "RequestSTack".
|
||||
This may break your unit tests.
|
||||
|
||||
For more information about the upgrade from Symfony 2.3 to Symfony 2.8
|
||||
----------------
|
||||
|
||||
[Upgrade from Symfony 2.3 to 2.4](https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.4.md)
|
||||
[Upgrade from Symfony 2.4 to 2.5](https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.5.md)
|
||||
[Upgrade from Symfony 2.5 to 2.6](https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.6.md)
|
||||
[Upgrade from Symfony 2.6 to 2.7](https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.7.md)
|
||||
[Upgrade from Symfony 2.7 to 2.8](https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.8.md)
|
||||
[Upgrade from Symfony 2.8 to 3.0](https://github.com/symfony/symfony/blob/2.8/UPGRADE-3.0.md)
|
||||
191
.well-known/bin/lessc
Executable file
191
.well-known/bin/lessc
Executable file
@@ -0,0 +1,191 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/../lib/Less/Autoloader.php';
|
||||
Less_Autoloader::register();
|
||||
|
||||
// Create our environment
|
||||
$env = array('compress' => false, 'relativeUrls' => false);
|
||||
$silent = false;
|
||||
$watch = false;
|
||||
$rootpath = '';
|
||||
|
||||
// Check for arguments
|
||||
array_shift($argv);
|
||||
if (!count($argv)) {
|
||||
$argv[] = '-h';
|
||||
}
|
||||
|
||||
// parse arguments
|
||||
foreach ($argv as $key => $arg) {
|
||||
if (preg_match('/^--?([a-z][0-9a-z-]*)(?:=([^\s]+))?$/i', $arg, $matches)) {
|
||||
$option = $matches[1];
|
||||
$value = isset($matches[2]) ? $matches[2] : false;
|
||||
unset($argv[$key]);
|
||||
|
||||
switch ($option) {
|
||||
case 'h':
|
||||
case 'help':
|
||||
echo <<<EOD
|
||||
Usage: lessc [options] sources [destination]
|
||||
|
||||
-h, --help Print help (this message) and exit.
|
||||
-s, --silent Suppress output of error messages.
|
||||
-v, --version Print version number and exit.
|
||||
-x, --compress Compress output by removing some whitespaces.
|
||||
--include-path=PATHS Set include paths. Separated by `:'. Use `;' on Windows.
|
||||
--strict-imports Force evaluation of imports.
|
||||
-sm=on|off Turn on or off strict math, where in strict mode, math
|
||||
--strict-math=on|off requires brackets. This option may default to on and then
|
||||
be removed in the future.
|
||||
-su=on|off Allow mixed units, e.g. 1px+1em or 1px*1px which have units
|
||||
--strict-units=on|off that cannot be represented.
|
||||
-ru, --relative-urls re-write relative urls to the base less file.
|
||||
-rp, --rootpath=URL Set rootpath for url rewriting in relative imports and urls.
|
||||
Works with or without the relative-urls option.
|
||||
-w, --watch Watch input files for changes.
|
||||
|
||||
|
||||
EOD;
|
||||
exit;
|
||||
case 's':
|
||||
case 'silent':
|
||||
$silent = true;
|
||||
break;
|
||||
|
||||
case 'w':
|
||||
case 'watch':
|
||||
$watch = true;
|
||||
break;
|
||||
|
||||
case 'v':
|
||||
case 'version':
|
||||
echo "lessc " . Less_Version::version . " (less.php)\n\n";
|
||||
exit;
|
||||
|
||||
case 'rp':
|
||||
case 'rootpath':
|
||||
$rootpath = $value;
|
||||
break;
|
||||
|
||||
|
||||
//parser options
|
||||
case 'compress':
|
||||
$env['compress'] = true;
|
||||
break;
|
||||
|
||||
case 'ru':
|
||||
case 'relative-urls':
|
||||
$env['relativeUrls'] = true;
|
||||
break;
|
||||
|
||||
case 'su':
|
||||
case 'strict-units':
|
||||
$env['strictUnits'] = ($value === 'on');
|
||||
break;
|
||||
|
||||
case 'sm':
|
||||
case 'strict-math':
|
||||
$env['strictMath'] = ($value === 'on');
|
||||
break;
|
||||
|
||||
case 'x':
|
||||
case 'include-path':
|
||||
$env['import_dirs'] = preg_split('#;|\:#', $value);
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (count($argv) > 1) {
|
||||
$output = array_pop($argv);
|
||||
$inputs = $argv;
|
||||
}
|
||||
else {
|
||||
$inputs = $argv;
|
||||
$output = false;
|
||||
}
|
||||
|
||||
if (!count($inputs)) {
|
||||
echo("lessc: no input files\n");
|
||||
exit;
|
||||
}
|
||||
|
||||
if ($watch) {
|
||||
if (!$output) {
|
||||
echo("lessc: you must specify the output file if --watch is given\n");
|
||||
exit;
|
||||
}
|
||||
|
||||
$lastAction = 0;
|
||||
|
||||
echo("lessc: watching input files\n");
|
||||
|
||||
while (1) {
|
||||
clearstatcache();
|
||||
|
||||
$updated = false;
|
||||
foreach ($inputs as $input) {
|
||||
if ($input == '-') {
|
||||
if (count($inputs) == 1) {
|
||||
echo("lessc: during watching files is not possible to watch stdin\n");
|
||||
exit;
|
||||
}
|
||||
else {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (filemtime($input) > $lastAction) {
|
||||
$updated = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ($updated) {
|
||||
$lastAction = time();
|
||||
$parser = new Less_Parser($env);
|
||||
foreach ($inputs as $input) {
|
||||
try {
|
||||
$parser->parseFile($input, $rootpath);
|
||||
}
|
||||
catch (Exception $e) {
|
||||
echo("lessc: " . $e->getMessage() . " \n");
|
||||
continue; // Invalid processing
|
||||
}
|
||||
}
|
||||
|
||||
file_put_contents($output, $parser->getCss());
|
||||
echo("lessc: output file recompiled\n");
|
||||
}
|
||||
|
||||
sleep(1);
|
||||
}
|
||||
}
|
||||
else {
|
||||
$parser = new Less_Parser($env);
|
||||
foreach ($inputs as $input) {
|
||||
if ($input == '-') {
|
||||
$content = file_get_contents('php://stdin');
|
||||
$parser->parse($content);
|
||||
}
|
||||
else {
|
||||
try {
|
||||
$parser->parseFile($input);
|
||||
}
|
||||
catch (Exception $e) {
|
||||
if (!$silent) {
|
||||
echo("lessc: " . ((string)$e) . " \n");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($output) {
|
||||
file_put_contents($output, $parser->getCss());
|
||||
}
|
||||
else {
|
||||
echo $parser->getCss();
|
||||
}
|
||||
}
|
||||
52
.well-known/bin/phpunit
Executable file
52
.well-known/bin/phpunit
Executable file
@@ -0,0 +1,52 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
/*
|
||||
* This file is part of PHPUnit.
|
||||
*
|
||||
* (c) Sebastian Bergmann <sebastian@phpunit.de>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
if (version_compare('5.6.0', PHP_VERSION, '>')) {
|
||||
fwrite(
|
||||
STDERR,
|
||||
sprintf(
|
||||
'This version of PHPUnit is supported on PHP 5.6, PHP 7.0, and PHP 7.1.' . PHP_EOL .
|
||||
'You are using PHP %s (%s).' . PHP_EOL,
|
||||
PHP_VERSION,
|
||||
PHP_BINARY
|
||||
)
|
||||
);
|
||||
|
||||
die(1);
|
||||
}
|
||||
|
||||
if (!ini_get('date.timezone')) {
|
||||
ini_set('date.timezone', 'UTC');
|
||||
}
|
||||
|
||||
foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {
|
||||
if (file_exists($file)) {
|
||||
define('PHPUNIT_COMPOSER_INSTALL', $file);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
unset($file);
|
||||
|
||||
if (!defined('PHPUNIT_COMPOSER_INSTALL')) {
|
||||
fwrite(STDERR,
|
||||
'You need to set up the project dependencies using Composer:' . PHP_EOL . PHP_EOL .
|
||||
' composer install' . PHP_EOL . PHP_EOL .
|
||||
'You can learn all about Composer on https://getcomposer.org/.' . PHP_EOL
|
||||
);
|
||||
|
||||
die(1);
|
||||
}
|
||||
|
||||
require PHPUNIT_COMPOSER_INSTALL;
|
||||
|
||||
PHPUnit_TextUI_Command::main();
|
||||
4
.well-known/bin/propel
Executable file
4
.well-known/bin/propel
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
require(__DIR__ . '/propel.php');
|
||||
0
.well-known/cache/.gitkeep
vendored
Normal file
0
.well-known/cache/.gitkeep
vendored
Normal file
2
.well-known/cache/.htaccess
vendored
Normal file
2
.well-known/cache/.htaccess
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
order deny,allow
|
||||
deny from all
|
||||
6026
.well-known/cache/dev/CoreDevDebugProjectContainer.php
vendored
Normal file
6026
.well-known/cache/dev/CoreDevDebugProjectContainer.php
vendored
Normal file
File diff suppressed because one or more lines are too long
1
.well-known/cache/dev/CoreDevDebugProjectContainer.php.meta
vendored
Normal file
1
.well-known/cache/dev/CoreDevDebugProjectContainer.php.meta
vendored
Normal file
File diff suppressed because one or more lines are too long
85
.well-known/cache/dev/ProjectUrlGeneratorrouter_Front.php
vendored
Normal file
85
.well-known/cache/dev/ProjectUrlGeneratorrouter_Front.php
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
use Symfony\Component\Routing\Exception\RouteNotFoundException;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlGeneratorrouter_Front extends Symfony\Component\Routing\Generator\UrlGenerator
|
||||
{
|
||||
private static $declaredRoutes;
|
||||
|
||||
public function __construct(RequestContext $context, LoggerInterface $logger = null)
|
||||
{
|
||||
$this->context = $context;
|
||||
$this->logger = $logger;
|
||||
if (null === self::$declaredRoutes) {
|
||||
self::$declaredRoutes = array(
|
||||
'ajax.mini-cart' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'includes/mini-cart', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/ajax/mini-cart', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'ajax.addCartMessage' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'includes/addedToCart', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/ajax/addCartMessage', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.create.view' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::viewRegisterAction', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/register', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.create.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::createAction', '_view' => 'register', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/register', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.login.view' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::viewLoginAction', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/login', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.login.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::loginAction', '_view' => 'login', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/login', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.password.retrieve.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::newPasswordAction', '_view' => 'password', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/password', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.password.retrieve.sent' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::newPasswordSentAction', '_view' => 'password', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/password-sent', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.logout.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::logoutAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/logout', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.confirm.token' => array ( 0 => array ( 0 => 'token', ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::confirmCustomerAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'token', ), 1 => array ( 0 => 'text', 1 => '/customer/confirm', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.home' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'account', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/account', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.update.view' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::viewAction', '_view' => 'account-update', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/account/update', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.update.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::updateAction', '_view' => 'account-update', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/account/update', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.password.change.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CustomerController::updatePasswordAction', '_view' => 'account-password', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/account/password', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.password.change.view' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'account-password', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/account/password', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.order' => array ( 0 => array ( 0 => 'order_id', ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::viewAction', ), 2 => array ( 'order_id' => '\\d+', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'order_id', ), 1 => array ( 0 => 'text', 1 => '/account/order', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.order.pdf.delivery' => array ( 0 => array ( 0 => 'order_id', ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::generateDeliveryPdf', ), 2 => array ( 'order_id' => '\\d+', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'order_id', ), 1 => array ( 0 => 'text', 1 => '/account/order/pdf/delivery', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.order.pdf.invoice' => array ( 0 => array ( 0 => 'order_id', ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::generateInvoicePdf', ), 2 => array ( 'order_id' => '\\d+', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'order_id', ), 1 => array ( 0 => 'text', 1 => '/account/order/pdf/invoice', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'customer.order.product.download' => array ( 0 => array ( 0 => 'order_product_id', ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::downloadVirtualProduct', ), 2 => array ( 'order_product_id' => '\\d+', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'order_product_id', ), 1 => array ( 0 => 'text', 1 => '/account/download', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'address.create.view' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'address', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/address/create', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'address.create' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\AddressController::createAction', '_view' => 'address', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/address/create', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'address.edit' => array ( 0 => array ( 0 => 'address_id', ), 1 => array ( '_controller' => 'Front\\Controller\\AddressController::updateViewAction', '_view' => 'address-update', ), 2 => array ( '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'address_id', ), 1 => array ( 0 => 'text', 1 => '/address/update', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'address.update' => array ( 0 => array ( 0 => 'address_id', ), 1 => array ( '_controller' => 'Front\\Controller\\AddressController::processUpdateAction', '_view' => 'address-update', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'address_id', ), 1 => array ( 0 => 'text', 1 => '/address/update', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'address.delete' => array ( 0 => array ( 0 => 'address_id', ), 1 => array ( '_controller' => 'Front\\Controller\\AddressController::deleteAction', '_view' => 'account', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'address_id', ), 1 => array ( 0 => 'text', 1 => '/address/delete', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'address.generateModal' => array ( 0 => array ( 0 => 'address_id', ), 1 => array ( '_controller' => 'Front\\Controller\\AddressController::generateModalAction', '_view' => 'modal-address', ), 2 => array ( 'address_id' => '\\d+', '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'address_id', ), 1 => array ( 0 => 'text', 1 => '/address/modal', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'address.make.default' => array ( 0 => array ( 0 => 'addressId', ), 1 => array ( '_controller' => 'Front:Address:makeAddressDefault', ), 2 => array ( 'addressId' => '\\d+', '_method' => 'GET', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '\\d+', 3 => 'addressId', ), 1 => array ( 0 => 'text', 1 => '/address/default', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'cart.view' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'cart', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/cart', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'cart.add.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CartController::addItem', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/cart/add', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'cart.delete.process' => array ( 0 => array ( 0 => 'cart_item', ), 1 => array ( '_controller' => 'Front\\Controller\\CartController::deleteItem', '_view' => 'cart', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'cart_item', ), 1 => array ( 0 => 'text', 1 => '/cart/delete', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'cart.update.quantity' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CartController::changeItem', '_view' => 'cart', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/cart/update', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'cart.update.country' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CartController::changeCountry', '_view' => 'cart', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/cart/country', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'order.delivery.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::deliver', '_view' => 'order-delivery', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/delivery', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'order.delivery' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::deliverView', '_view' => 'order-delivery', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/delivery', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'admin.delivery.ajax-module-list' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::getDeliveryModuleListAjaxAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/deliveryModuleList', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'order.invoice.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::invoice', '_view' => 'order-invoice', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/invoice', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'order.invoice' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'order-invoice', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/invoice', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'order.coupon.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CouponController::consumeAction', '_view' => 'order-invoice', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/coupon', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'order.coupon.clear' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\CouponController::clearAllCouponsAction', '_view' => 'order-invoice', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/clear-coupons', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'order.payment.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::pay', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/order/pay', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'order.placed' => array ( 0 => array ( 0 => 'order_id', ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::orderPlaced', '_view' => 'order-placed', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'order_id', ), 1 => array ( 0 => 'text', 1 => '/order/placed', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'order.failed' => array ( 0 => array ( 0 => 'order_id', 1 => 'message', ), 1 => array ( '_controller' => 'Front\\Controller\\OrderController::orderFailed', '_view' => 'order-failed', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'message', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'order_id', ), 2 => array ( 0 => 'text', 1 => '/order/failed', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'contact.send' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\ContactController::sendAction', '_view' => 'contact', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/contact', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'contact.success' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'contact-success', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/contact/success', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'newsletter.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\NewsletterController::subscribeAction', '_view' => 'newsletter', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/newsletter', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'newsletter.unsubscribe' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\NewsletterController::unsubscribeAction', '_view' => 'newsletter-unsubscribe', ), 2 => array ( '_method' => 'POST', ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/newsletter-unsubscribe', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'sitemap.process' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\SitemapController::generateAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/sitemap', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'sitemap.process.xml' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Front\\Controller\\SitemapController::generateAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/sitemap.xml', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'feed.process' => array ( 0 => array ( 0 => 'context', 1 => 'lang', 2 => 'id', ), 1 => array ( '_controller' => 'Front\\Controller\\FeedController::generateAction', 'context' => 'catalog', 'lang' => '', 'id' => '', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'id', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'lang', ), 2 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'context', ), 3 => array ( 0 => 'text', 1 => '/feed', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'empty' => array ( 0 => array ( ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::emptyRoute', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/empty', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
'default' => array ( 0 => array ( 0 => '_view', ), 1 => array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'index', ), 2 => array ( '_view' => '(?!admin|api)[^/]+', ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '(?!admin|api)[^/]+', 3 => '_view', ), ), 4 => array ( ), 5 => array ( ),),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
public function generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH)
|
||||
{
|
||||
if (!isset(self::$declaredRoutes[$name])) {
|
||||
throw new RouteNotFoundException(sprintf('Unable to generate a URL for the named route "%s" as such route does not exist.', $name));
|
||||
}
|
||||
|
||||
list($variables, $defaults, $requirements, $tokens, $hostTokens, $requiredSchemes) = self::$declaredRoutes[$name];
|
||||
|
||||
return $this->doGenerate($variables, $defaults, $requirements, $tokens, $parameters, $name, $referenceType, $hostTokens, $requiredSchemes);
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlGeneratorrouter_Front.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlGeneratorrouter_Front.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":94:{s:86:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/Front/Config/front.xml";}}
|
||||
66
.well-known/cache/dev/ProjectUrlMatcherCarousel.php
vendored
Normal file
66
.well-known/cache/dev/ProjectUrlMatcherCarousel.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherCarousel extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/carousel')) {
|
||||
if (0 === strpos($pathinfo, '/admin/module/carousel/up')) {
|
||||
// carousel.upload.image
|
||||
if ('/admin/module/carousel/upload' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_carouseluploadimage;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Carousel\\Controller\\ConfigurationController::uploadImage', '_route' => 'carousel.upload.image',);
|
||||
}
|
||||
not_carouseluploadimage:
|
||||
|
||||
// carousel.update
|
||||
if ('/admin/module/carousel/update' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_carouselupdate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Carousel\\Controller\\ConfigurationController::updateAction', '_route' => 'carousel.update',);
|
||||
}
|
||||
not_carouselupdate:
|
||||
|
||||
}
|
||||
|
||||
// carousel.delete
|
||||
if ('/admin/module/carousel/delete' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_carouseldelete;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Carousel\\Controller\\ConfigurationController::deleteAction', '_route' => 'carousel.delete',);
|
||||
}
|
||||
not_carouseldelete:
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherCarousel.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherCarousel.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":99:{s:91:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/Carousel/Config/routing.xml";}}
|
||||
38
.well-known/cache/dev/ProjectUrlMatcherCheque.php
vendored
Normal file
38
.well-known/cache/dev/ProjectUrlMatcherCheque.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherCheque extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
// cheque.configure
|
||||
if ('/admin/cheque/configure' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_chequeconfigure;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Cheque\\Controller\\ConfigureController::configure', '_route' => 'cheque.configure',);
|
||||
}
|
||||
not_chequeconfigure:
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherCheque.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherCheque.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":97:{s:89:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/Cheque/Config/routing.xml";}}
|
||||
135
.well-known/cache/dev/ProjectUrlMatcherClickAndCollect.php
vendored
Normal file
135
.well-known/cache/dev/ProjectUrlMatcherClickAndCollect.php
vendored
Normal file
@@ -0,0 +1,135 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherClickAndCollect extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/ClickAndCollect')) {
|
||||
// cnc.places.list
|
||||
if ('/admin/module/ClickAndCollect' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_cncplaceslist;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'ClickAndCollect\\Controller\\backOffice\\ListController::viewAction', '_route' => 'cnc.places.list',);
|
||||
}
|
||||
not_cncplaceslist:
|
||||
|
||||
// cnc.toggle.active
|
||||
if (0 === strpos($pathinfo, '/admin/module/ClickAndCollect/toggle-online') && preg_match('#^/admin/module/ClickAndCollect/toggle\\-online/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_cnctoggleactive;
|
||||
}
|
||||
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'cnc.toggle.active')), array ( '_controller' => 'ClickAndCollect\\Controller\\backOffice\\ListController::toggleActive',));
|
||||
}
|
||||
not_cnctoggleactive:
|
||||
|
||||
// cnc.place.create
|
||||
if ('/admin/module/ClickAndCollect' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_cncplacecreate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'ClickAndCollect\\Controller\\backOffice\\PlaceController::createPlace', '_route' => 'cnc.place.create',);
|
||||
}
|
||||
not_cncplacecreate:
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/ClickAndCollect/edit')) {
|
||||
// cnc.place.view
|
||||
if ('/admin/module/ClickAndCollect/edit' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_cncplaceview;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'ClickAndCollect\\Controller\\backOffice\\PlaceController::viewPlace', '_route' => 'cnc.place.view',);
|
||||
}
|
||||
not_cncplaceview:
|
||||
|
||||
// cnc.place.edit
|
||||
if ('/admin/module/ClickAndCollect/edit' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_cncplaceedit;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'ClickAndCollect\\Controller\\backOffice\\PlaceController::editPlace', '_route' => 'cnc.place.edit',);
|
||||
}
|
||||
not_cncplaceedit:
|
||||
|
||||
}
|
||||
|
||||
// cnc.place.delete
|
||||
if ('/admin/module/ClickAndCollect/delete' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_cncplacedelete;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'ClickAndCollect\\Controller\\backOffice\\PlaceController::deletePlace', '_route' => 'cnc.place.delete',);
|
||||
}
|
||||
not_cncplacedelete:
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/ClickAndCollect/schedule')) {
|
||||
// cnc.schedule.create
|
||||
if ('/admin/module/ClickAndCollect/schedule/create' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_cncschedulecreate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'ClickAndCollect\\Controller\\backOffice\\ScheduleController::createSchedule', '_route' => 'cnc.schedule.create',);
|
||||
}
|
||||
not_cncschedulecreate:
|
||||
|
||||
// cnc.schedule.update
|
||||
if ('/admin/module/ClickAndCollect/schedule/update' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_cncscheduleupdate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'ClickAndCollect\\Controller\\backOffice\\ScheduleController::updateSchedule', '_route' => 'cnc.schedule.update',);
|
||||
}
|
||||
not_cncscheduleupdate:
|
||||
|
||||
// cnc.schedule.delete
|
||||
if ('/admin/module/ClickAndCollect/schedule/delete' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_cncscheduledelete;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'ClickAndCollect\\Controller\\backOffice\\ScheduleController::deleteSchedule', '_route' => 'cnc.schedule.delete',);
|
||||
}
|
||||
not_cncscheduledelete:
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherClickAndCollect.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherClickAndCollect.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":106:{s:98:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/ClickAndCollect/Config/routing.xml";}}
|
||||
154
.well-known/cache/dev/ProjectUrlMatcherCustomerFamily.php
vendored
Normal file
154
.well-known/cache/dev/ProjectUrlMatcherCustomerFamily.php
vendored
Normal file
@@ -0,0 +1,154 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherCustomerFamily extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin')) {
|
||||
if (0 === strpos($pathinfo, '/admin/module/CustomerFamily')) {
|
||||
// customer.family.config.view
|
||||
if ('/admin/module/CustomerFamily' === $pathinfo) {
|
||||
return array ( '_controller' => 'CustomerFamily\\Controller\\Admin\\CustomerFamilyAdminController::viewAction', '_route' => 'customer.family.config.view',);
|
||||
}
|
||||
|
||||
// customer.family.create
|
||||
if ('/admin/module/CustomerFamily/create' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerfamilycreate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'CustomerFamily\\Controller\\Admin\\CustomerFamilyAdminController::createAction', '_route' => 'customer.family.create',);
|
||||
}
|
||||
not_customerfamilycreate:
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/CustomerFamily/update')) {
|
||||
// customer.family.update
|
||||
if (preg_match('#^/admin/module/CustomerFamily/update/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerfamilyupdate;
|
||||
}
|
||||
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.family.update')), array ( '_controller' => 'CustomerFamily\\Controller\\Admin\\CustomerFamilyAdminController::updateAction',));
|
||||
}
|
||||
not_customerfamilyupdate:
|
||||
|
||||
// customer.family.update.default
|
||||
if ('/admin/module/CustomerFamily/update-default' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerfamilyupdatedefault;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'CustomerFamily\\Controller\\Admin\\CustomerFamilyAdminController::updateDefaultAction', '_route' => 'customer.family.update.default',);
|
||||
}
|
||||
not_customerfamilyupdatedefault:
|
||||
|
||||
}
|
||||
|
||||
// customer.family.delete
|
||||
if (0 === strpos($pathinfo, '/admin/module/CustomerFamily/delete') && preg_match('#^/admin/module/CustomerFamily/delete/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerfamilydelete;
|
||||
}
|
||||
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.family.delete')), array ( '_controller' => 'CustomerFamily\\Controller\\Admin\\CustomerFamilyAdminController::deleteAction',));
|
||||
}
|
||||
not_customerfamilydelete:
|
||||
|
||||
// customer.family.customer.update
|
||||
if ('/admin/module/CustomerFamily/customer/update' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerfamilycustomerupdate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'CustomerFamily\\Controller\\Admin\\CustomerFamilyAdminController::customerUpdateAction', '_route' => 'customer.family.customer.update',);
|
||||
}
|
||||
not_customerfamilycustomerupdate:
|
||||
|
||||
// customer.family.price.update
|
||||
if ('/admin/module/CustomerFamily/update-price-calculation' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerfamilypriceupdate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'CustomerFamily\\Controller\\Admin\\CustomerFamilyPriceController::updateAction', '_route' => 'customer.family.price.update',);
|
||||
}
|
||||
not_customerfamilypriceupdate:
|
||||
|
||||
// customer.family.price.calculate
|
||||
if ('/admin/module/CustomerFamily/calculate-all-prices' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_customerfamilypricecalculate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'CustomerFamily\\Controller\\Admin\\CustomerFamilyPriceController::calculatePricesAction', '_route' => 'customer.family.price.calculate',);
|
||||
}
|
||||
not_customerfamilypricecalculate:
|
||||
|
||||
}
|
||||
|
||||
// customer.family.price.mode.update
|
||||
if ('/admin/CustomerFamily/selectPriceMode' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerfamilypricemodeupdate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'CustomerFamily\\Controller\\Admin\\CustomerFamilyPriceController::updatePriceModeAction', '_route' => 'customer.family.price.mode.update',);
|
||||
}
|
||||
not_customerfamilypricemodeupdate:
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/CustomerFamily')) {
|
||||
// customer.family.category_restriction
|
||||
if (0 === strpos($pathinfo, '/admin/module/CustomerFamily/category_restriction') && preg_match('#^/admin/module/CustomerFamily/category_restriction/(?P<customerFamilyId>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerfamilycategory_restriction;
|
||||
}
|
||||
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.family.category_restriction')), array ( '_controller' => 'CustomerFamily\\Controller\\Admin\\CustomerFamilyAdminController::saveCustomerFamilyCategoryRestriction',));
|
||||
}
|
||||
not_customerfamilycategory_restriction:
|
||||
|
||||
// customer.family.brand_restriction
|
||||
if (0 === strpos($pathinfo, '/admin/module/CustomerFamily/brand_restriction') && preg_match('#^/admin/module/CustomerFamily/brand_restriction/(?P<customerFamilyId>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerfamilybrand_restriction;
|
||||
}
|
||||
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.family.brand_restriction')), array ( '_controller' => 'CustomerFamily\\Controller\\Admin\\CustomerFamilyAdminController::saveCustomerFamilyBrandRestriction',));
|
||||
}
|
||||
not_customerfamilybrand_restriction:
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherCustomerFamily.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherCustomerFamily.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":105:{s:97:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/CustomerFamily/Config/routing.xml";}}
|
||||
59
.well-known/cache/dev/ProjectUrlMatcherHookAdminHome.php
vendored
Normal file
59
.well-known/cache/dev/ProjectUrlMatcherHookAdminHome.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherHookAdminHome extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin')) {
|
||||
if (0 === strpos($pathinfo, '/admin/home')) {
|
||||
// admin.home.stats
|
||||
if ('/admin/home/stats' === $pathinfo) {
|
||||
return array ( '_controller' => 'HookAdminHome\\Controller\\HomeController::loadStatsAjaxAction', '_route' => 'admin.home.stats',);
|
||||
}
|
||||
|
||||
// admin.home.month.sales.block
|
||||
if (0 === strpos($pathinfo, '/admin/home/month-sales-block') && preg_match('#^/admin/home/month\\-sales\\-block/(?P<month>\\d+)/(?P<year>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin.home.month.sales.block')), array ( '_controller' => 'HookAdminHome\\Controller\\HomeController::blockMonthSalesStatistics',));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// admin.news-feed
|
||||
if ('/admin/ajax/thelia_news_feed' === $pathinfo) {
|
||||
return array ( '_controller' => 'HookAdminHome\\Controller\\HomeController::processTemplateAction', 'template' => 'ajax/thelia_news_feed', 'not-logged' => '1', '_route' => 'admin.news-feed',);
|
||||
}
|
||||
|
||||
// admin.home.config
|
||||
if ('/admin/module/HookAdminHome/configure' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_adminhomeconfig;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'HookAdminHome\\Controller\\ConfigurationController::editConfiguration', '_route' => 'admin.home.config',);
|
||||
}
|
||||
not_adminhomeconfig:
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherHookAdminHome.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherHookAdminHome.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":104:{s:96:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookAdminHome/Config/routing.xml";}}
|
||||
38
.well-known/cache/dev/ProjectUrlMatcherHookAnalytics.php
vendored
Normal file
38
.well-known/cache/dev/ProjectUrlMatcherHookAnalytics.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherHookAnalytics extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
// hookanalytics.configuration
|
||||
if ('/admin/module/hookanalytics/save' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_hookanalyticsconfiguration;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'HookAnalytics\\Controller\\Configuration::saveAction', '_route' => 'hookanalytics.configuration',);
|
||||
}
|
||||
not_hookanalyticsconfiguration:
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherHookAnalytics.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherHookAnalytics.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":104:{s:96:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookAnalytics/Config/routing.xml";}}
|
||||
52
.well-known/cache/dev/ProjectUrlMatcherHookNavigation.php
vendored
Normal file
52
.well-known/cache/dev/ProjectUrlMatcherHookNavigation.php
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherHookNavigation extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/HookNavigation')) {
|
||||
// hooknavigation.configuration.default
|
||||
if ('/admin/module/HookNavigation' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_hooknavigationconfigurationdefault;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'HookNavigation:HookNavigationConfig:default', '_route' => 'hooknavigation.configuration.default',);
|
||||
}
|
||||
not_hooknavigationconfigurationdefault:
|
||||
|
||||
// hooknavigation.configuration.save
|
||||
if ('/admin/module/HookNavigation' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_hooknavigationconfigurationsave;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'HookNavigation:HookNavigationConfig:save', '_route' => 'hooknavigation.configuration.save',);
|
||||
}
|
||||
not_hooknavigationconfigurationsave:
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherHookNavigation.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherHookNavigation.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":105:{s:97:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookNavigation/Config/routing.xml";}}
|
||||
38
.well-known/cache/dev/ProjectUrlMatcherHookSocial.php
vendored
Normal file
38
.well-known/cache/dev/ProjectUrlMatcherHookSocial.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherHookSocial extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
// hooksocial.configuration
|
||||
if ('/admin/module/hooksocial/save' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_hooksocialconfiguration;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'HookSocial\\Controller\\Configuration::saveAction', '_route' => 'hooksocial.configuration',);
|
||||
}
|
||||
not_hooksocialconfiguration:
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherHookSocial.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherHookSocial.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":101:{s:93:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookSocial/Config/routing.xml";}}
|
||||
154
.well-known/cache/dev/ProjectUrlMatcherLivraisonParSecteurs.php
vendored
Normal file
154
.well-known/cache/dev/ProjectUrlMatcherLivraisonParSecteurs.php
vendored
Normal file
@@ -0,0 +1,154 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherLivraisonParSecteurs extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/LivraisonParSecteurs')) {
|
||||
// livraisonparsecteurs.area.list
|
||||
if ('/admin/module/LivraisonParSecteurs' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_livraisonparsecteursarealist;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'LivraisonParSecteurs\\Controller\\backOffice\\ListController::viewAction', '_route' => 'livraisonparsecteurs.area.list',);
|
||||
}
|
||||
not_livraisonparsecteursarealist:
|
||||
|
||||
// livraisonparsecteurs.toggle.active
|
||||
if (0 === strpos($pathinfo, '/admin/module/LivraisonParSecteurs/toggle-online') && preg_match('#^/admin/module/LivraisonParSecteurs/toggle\\-online/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_livraisonparsecteurstoggleactive;
|
||||
}
|
||||
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'livraisonparsecteurs.toggle.active')), array ( '_controller' => 'LivraisonParSecteurs\\Controller\\backOffice\\ListController::toggleActive',));
|
||||
}
|
||||
not_livraisonparsecteurstoggleactive:
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/LivraisonParSecteurs/edit')) {
|
||||
// livraisonparsecteurs.area.view
|
||||
if ('/admin/module/LivraisonParSecteurs/edit' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_livraisonparsecteursareaview;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'LivraisonParSecteurs\\Controller\\backOffice\\GeneralController::viewArea', '_route' => 'livraisonparsecteurs.area.view',);
|
||||
}
|
||||
not_livraisonparsecteursareaview:
|
||||
|
||||
// livraisonparsecteurs.area.edit
|
||||
if ('/admin/module/LivraisonParSecteurs/edit' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_livraisonparsecteursareaedit;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'LivraisonParSecteurs\\Controller\\backOffice\\GeneralController::editArea', '_route' => 'livraisonparsecteurs.area.edit',);
|
||||
}
|
||||
not_livraisonparsecteursareaedit:
|
||||
|
||||
}
|
||||
|
||||
// lps-area-create
|
||||
if ('/admin/module/LivraisonParSecteurs' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_lpsareacreate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'LivraisonParSecteurs\\Controller\\backOffice\\GeneralController::createArea', '_route' => 'lps-area-create',);
|
||||
}
|
||||
not_lpsareacreate:
|
||||
|
||||
// livraisonparsecteurs.area.delete
|
||||
if ('/admin/module/LivraisonParSecteurs/delete' === $pathinfo) {
|
||||
return array ( '_controller' => 'LivraisonParSecteurs\\Controller\\backOffice\\GeneralController::deleteArea', '_route' => 'livraisonparsecteurs.area.delete',);
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/LivraisonParSecteurs/schedule')) {
|
||||
// livraisonparsecteurs.area.schedule.delete
|
||||
if ('/admin/module/LivraisonParSecteurs/schedule/delete' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_livraisonparsecteursareascheduledelete;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'LivraisonParSecteurs\\Controller\\backOffice\\ScheduleController::deleteSchedule', '_route' => 'livraisonparsecteurs.area.schedule.delete',);
|
||||
}
|
||||
not_livraisonparsecteursareascheduledelete:
|
||||
|
||||
// livraisonparsecteurs.area.schedule.update
|
||||
if ('/admin/module/LivraisonParSecteurs/schedule/update' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_livraisonparsecteursareascheduleupdate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'LivraisonParSecteurs\\Controller\\backOffice\\ScheduleController::updateSchedule', '_route' => 'livraisonparsecteurs.area.schedule.update',);
|
||||
}
|
||||
not_livraisonparsecteursareascheduleupdate:
|
||||
|
||||
// livraisonparsecteurs.area.schedule.create
|
||||
if ('/admin/module/LivraisonParSecteurs/schedule/create' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_livraisonparsecteursareaschedulecreate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'LivraisonParSecteurs\\Controller\\backOffice\\ScheduleController::createSchedule', '_route' => 'livraisonparsecteurs.area.schedule.create',);
|
||||
}
|
||||
not_livraisonparsecteursareaschedulecreate:
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/LivraisonParSecteurs/city')) {
|
||||
// livraisonparsecteurs.area.cities.remove
|
||||
if ('/admin/module/LivraisonParSecteurs/city/remove' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_livraisonparsecteursareacitiesremove;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'LivraisonParSecteurs\\Controller\\backOffice\\CitiesController::removeCity', '_route' => 'livraisonparsecteurs.area.cities.remove',);
|
||||
}
|
||||
not_livraisonparsecteursareacitiesremove:
|
||||
|
||||
// livraisonparsecteurs.area.cities.add
|
||||
if ('/admin/module/LivraisonParSecteurs/city/add' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_livraisonparsecteursareacitiesadd;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'LivraisonParSecteurs\\Controller\\backOffice\\CitiesController::addCity', '_route' => 'livraisonparsecteurs.area.cities.add',);
|
||||
}
|
||||
not_livraisonparsecteursareacitiesadd:
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherLivraisonParSecteurs.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherLivraisonParSecteurs.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":112:{s:103:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/LivraisonParSecteurs/Config/routing.xml";}}
|
||||
38
.well-known/cache/dev/ProjectUrlMatcherMailjet.php
vendored
Normal file
38
.well-known/cache/dev/ProjectUrlMatcherMailjet.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherMailjet extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
// mailjet.save
|
||||
if ('/admin/module/Mailjet' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_mailjetsave;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Mailjet\\Controller\\MailjetConfigController::saveAction', '_route' => 'mailjet.save',);
|
||||
}
|
||||
not_mailjetsave:
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherMailjet.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherMailjet.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":98:{s:90:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/Mailjet/Config/routing.xml";}}
|
||||
32
.well-known/cache/dev/ProjectUrlMatcherOrderComment.php
vendored
Normal file
32
.well-known/cache/dev/ProjectUrlMatcherOrderComment.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherOrderComment extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
// ordercomment.set.comment
|
||||
if ('/ordercomment/set/comment' === $pathinfo) {
|
||||
return array ( '_controller' => 'OrderComment\\Controller\\OrderCommentController::setComment', '_route' => 'ordercomment.set.comment',);
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherOrderComment.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherOrderComment.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":103:{s:95:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/OrderComment/Config/routing.xml";}}
|
||||
87
.well-known/cache/dev/ProjectUrlMatcherPayPlugModule.php
vendored
Normal file
87
.well-known/cache/dev/ProjectUrlMatcherPayPlugModule.php
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherPayPlugModule extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin')) {
|
||||
if (0 === strpos($pathinfo, '/admin/module')) {
|
||||
// admin.payplugmodule.config
|
||||
if ('/admin/module/PayPlugModule' === $pathinfo) {
|
||||
return array ( '_controller' => 'PayPlugModule\\Controller\\Admin\\ConfigurationController::viewAction', '_route' => 'admin.payplugmodule.config',);
|
||||
}
|
||||
|
||||
// admin.payplugmodule.config.save
|
||||
if ('/admin/module/payplugmodule/configuration' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_adminpayplugmoduleconfigsave;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PayPlugModule\\Controller\\Admin\\ConfigurationController::saveAction', '_route' => 'admin.payplugmodule.config.save',);
|
||||
}
|
||||
not_adminpayplugmoduleconfigsave:
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/payplugmodule/order')) {
|
||||
// admin.payplugmodule.order.refund
|
||||
if ('/admin/payplugmodule/order/refund' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_adminpayplugmoduleorderrefund;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PayPlugModule\\Controller\\Admin\\OrderController::refundAction', '_route' => 'admin.payplugmodule.order.refund',);
|
||||
}
|
||||
not_adminpayplugmoduleorderrefund:
|
||||
|
||||
// admin.payplugmodule.order.capture
|
||||
if ('/admin/payplugmodule/order/capture' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_adminpayplugmoduleordercapture;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PayPlugModule\\Controller\\Admin\\OrderController::captureAction', '_route' => 'admin.payplugmodule.order.capture',);
|
||||
}
|
||||
not_adminpayplugmoduleordercapture:
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/payplug')) {
|
||||
// payplugmodule_notification
|
||||
if ('/payplug/notification' === $pathinfo) {
|
||||
return array ( '_controller' => 'PayPlugModule\\Controller\\NotificationController::entryPoint', '_route' => 'payplugmodule_notification',);
|
||||
}
|
||||
|
||||
// payplugmodule_delete_card
|
||||
if ('/payplug/card/delete' === $pathinfo) {
|
||||
return array ( '_controller' => 'PayPlugModule\\Controller\\CardController::deleteCurrentCustomerCard', '_route' => 'payplugmodule_delete_card',);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherPayPlugModule.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherPayPlugModule.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":104:{s:96:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/PayPlugModule/Config/routing.xml";}}
|
||||
113
.well-known/cache/dev/ProjectUrlMatcherPaymentCondition.php
vendored
Normal file
113
.well-known/cache/dev/ProjectUrlMatcherPaymentCondition.php
vendored
Normal file
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherPaymentCondition extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module')) {
|
||||
// payment_condition_configuration_view
|
||||
if ('/admin/module/PaymentCondition' === $pathinfo) {
|
||||
return array ( '_controller' => 'PaymentCondition\\Controller\\AdminController::viewAction', '_route' => 'payment_condition_configuration_view',);
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/paymentcondition')) {
|
||||
if (0 === strpos($pathinfo, '/admin/module/paymentcondition/delivery')) {
|
||||
// payment_delivery_condition_view
|
||||
if ('/admin/module/paymentcondition/delivery' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_payment_delivery_condition_view;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PaymentCondition\\Controller\\DeliveryConditionController::viewAction', '_route' => 'payment_delivery_condition_view',);
|
||||
}
|
||||
not_payment_delivery_condition_view:
|
||||
|
||||
// payment_delivery_condition_save
|
||||
if ('/admin/module/paymentcondition/delivery' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_payment_delivery_condition_save;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PaymentCondition\\Controller\\DeliveryConditionController::saveAction', '_route' => 'payment_delivery_condition_save',);
|
||||
}
|
||||
not_payment_delivery_condition_save:
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/paymentcondition/customerfamily')) {
|
||||
// payment_customer_family_condition_view
|
||||
if ('/admin/module/paymentcondition/customerfamily' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_payment_customer_family_condition_view;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PaymentCondition\\Controller\\CustomerFamilyConditionController::viewAction', '_route' => 'payment_customer_family_condition_view',);
|
||||
}
|
||||
not_payment_customer_family_condition_view:
|
||||
|
||||
// payment_customer_family_condition_save
|
||||
if ('/admin/module/paymentcondition/customerfamily' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_payment_customer_family_condition_save;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PaymentCondition\\Controller\\CustomerFamilyConditionController::saveAction', '_route' => 'payment_customer_family_condition_save',);
|
||||
}
|
||||
not_payment_customer_family_condition_save:
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/paymentcondition/area')) {
|
||||
// payment_area_condition_view
|
||||
if ('/admin/module/paymentcondition/area' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_payment_area_condition_view;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PaymentCondition\\Controller\\AreaConditionController::viewAction', '_route' => 'payment_area_condition_view',);
|
||||
}
|
||||
not_payment_area_condition_view:
|
||||
|
||||
// payment_area_condition_save
|
||||
if ('/admin/module/paymentcondition/area' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_payment_area_condition_save;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PaymentCondition\\Controller\\AreaConditionController::saveAction', '_route' => 'payment_area_condition_save',);
|
||||
}
|
||||
not_payment_area_condition_save:
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherPaymentCondition.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherPaymentCondition.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":107:{s:99:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/PaymentCondition/Config/routing.xml";}}
|
||||
46
.well-known/cache/dev/ProjectUrlMatcherPlanificationLivraison.php
vendored
Normal file
46
.well-known/cache/dev/ProjectUrlMatcherPlanificationLivraison.php
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherPlanificationLivraison extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/PlanificationLivraison')) {
|
||||
// planiflivraison.configuration
|
||||
if ('/admin/module/PlanificationLivraison/configuration/update' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_planiflivraisonconfiguration;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PlanificationLivraison\\Controller\\Configuration::editConfig', '_route' => 'planiflivraison.configuration',);
|
||||
}
|
||||
not_planiflivraisonconfiguration:
|
||||
|
||||
// planiflivraison.products.list
|
||||
if ('/admin/module/PlanificationLivraison/products' === $pathinfo) {
|
||||
return array ( '_controller' => 'PlanificationLivraison\\Controller\\ProductsList::viewAction', '_route' => 'planiflivraison.products.list',);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherPlanificationLivraison.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherPlanificationLivraison.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":114:{s:105:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/PlanificationLivraison/Config/routing.xml";}}
|
||||
135
.well-known/cache/dev/ProjectUrlMatcherPointRetrait.php
vendored
Normal file
135
.well-known/cache/dev/ProjectUrlMatcherPointRetrait.php
vendored
Normal file
@@ -0,0 +1,135 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherPointRetrait extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/PointRetrait')) {
|
||||
// pdr.places.list
|
||||
if ('/admin/module/PointRetrait' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_pdrplaceslist;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PointRetrait\\Controller\\backOffice\\ListController::viewAction', '_route' => 'pdr.places.list',);
|
||||
}
|
||||
not_pdrplaceslist:
|
||||
|
||||
// pdr.toggle.active
|
||||
if (0 === strpos($pathinfo, '/admin/module/PointRetrait/toggle-online') && preg_match('#^/admin/module/PointRetrait/toggle\\-online/(?P<id>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_pdrtoggleactive;
|
||||
}
|
||||
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'pdr.toggle.active')), array ( '_controller' => 'PointRetrait\\Controller\\backOffice\\ListController::toggleActive',));
|
||||
}
|
||||
not_pdrtoggleactive:
|
||||
|
||||
// pdr.place.create
|
||||
if ('/admin/module/PointRetrait' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_pdrplacecreate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PointRetrait\\Controller\\backOffice\\PlaceController::createPlace', '_route' => 'pdr.place.create',);
|
||||
}
|
||||
not_pdrplacecreate:
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/PointRetrait/edit')) {
|
||||
// pdr.place.view
|
||||
if ('/admin/module/PointRetrait/edit' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_pdrplaceview;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PointRetrait\\Controller\\backOffice\\PlaceController::viewPlace', '_route' => 'pdr.place.view',);
|
||||
}
|
||||
not_pdrplaceview:
|
||||
|
||||
// pdr.place.edit
|
||||
if ('/admin/module/PointRetrait/edit' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_pdrplaceedit;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PointRetrait\\Controller\\backOffice\\PlaceController::editPlace', '_route' => 'pdr.place.edit',);
|
||||
}
|
||||
not_pdrplaceedit:
|
||||
|
||||
}
|
||||
|
||||
// pdr.place.delete
|
||||
if ('/admin/module/PointRetrait/delete' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_pdrplacedelete;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PointRetrait\\Controller\\backOffice\\PlaceController::deletePlace', '_route' => 'pdr.place.delete',);
|
||||
}
|
||||
not_pdrplacedelete:
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module/PointRetrait/schedule')) {
|
||||
// pdr.schedule.create
|
||||
if ('/admin/module/PointRetrait/schedule/create' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_pdrschedulecreate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PointRetrait\\Controller\\backOffice\\ScheduleController::createSchedule', '_route' => 'pdr.schedule.create',);
|
||||
}
|
||||
not_pdrschedulecreate:
|
||||
|
||||
// pdr.schedule.update
|
||||
if ('/admin/module/PointRetrait/schedule/update' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_pdrscheduleupdate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PointRetrait\\Controller\\backOffice\\ScheduleController::updateSchedule', '_route' => 'pdr.schedule.update',);
|
||||
}
|
||||
not_pdrscheduleupdate:
|
||||
|
||||
// pdr.schedule.delete
|
||||
if ('/admin/module/PointRetrait/schedule/delete' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_pdrscheduledelete;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'PointRetrait\\Controller\\backOffice\\ScheduleController::deleteSchedule', '_route' => 'pdr.schedule.delete',);
|
||||
}
|
||||
not_pdrscheduledelete:
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherPointRetrait.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherPointRetrait.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":103:{s:95:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/PointRetrait/Config/routing.xml";}}
|
||||
46
.well-known/cache/dev/ProjectUrlMatcherReCaptcha.php
vendored
Normal file
46
.well-known/cache/dev/ProjectUrlMatcherReCaptcha.php
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherReCaptcha extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/admin/module')) {
|
||||
// admin.recaptcha.config
|
||||
if ('/admin/module/ReCaptcha' === $pathinfo) {
|
||||
return array ( '_controller' => 'ReCaptcha\\Controller\\ConfigurationController::viewAction', '_route' => 'admin.recaptcha.config',);
|
||||
}
|
||||
|
||||
// admin.recaptcha.config.save
|
||||
if ('/admin/module/recaptcha/configuration' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_adminrecaptchaconfigsave;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'ReCaptcha\\Controller\\ConfigurationController::saveAction', '_route' => 'admin.recaptcha.config.save',);
|
||||
}
|
||||
not_adminrecaptchaconfigsave:
|
||||
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherReCaptcha.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherReCaptcha.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":100:{s:92:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/ReCaptcha/Config/routing.xml";}}
|
||||
38
.well-known/cache/dev/ProjectUrlMatcherTinymce.php
vendored
Normal file
38
.well-known/cache/dev/ProjectUrlMatcherTinymce.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherTinymce extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
// tinymce.configure
|
||||
if ('/admin/tinymce/configure' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_tinymceconfigure;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Tinymce\\Controller\\ConfigureController::configure', '_route' => 'tinymce.configure',);
|
||||
}
|
||||
not_tinymceconfigure:
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherTinymce.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherTinymce.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":98:{s:90:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/Tinymce/Config/routing.xml";}}
|
||||
475
.well-known/cache/dev/ProjectUrlMatcherrouter_Front.php
vendored
Normal file
475
.well-known/cache/dev/ProjectUrlMatcherrouter_Front.php
vendored
Normal file
@@ -0,0 +1,475 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
|
||||
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
|
||||
use Symfony\Component\Routing\RequestContext;
|
||||
|
||||
/**
|
||||
* This class has been auto-generated
|
||||
* by the Symfony Routing Component.
|
||||
*/
|
||||
class ProjectUrlMatcherrouter_Front extends Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
{
|
||||
public function __construct(RequestContext $context)
|
||||
{
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function match($rawPathinfo)
|
||||
{
|
||||
$allow = array();
|
||||
$pathinfo = rawurldecode($rawPathinfo);
|
||||
$context = $this->context;
|
||||
$request = $this->request ?: $this->createRequest($pathinfo);
|
||||
|
||||
if (0 === strpos($pathinfo, '/ajax')) {
|
||||
// ajax.mini-cart
|
||||
if ('/ajax/mini-cart' === $pathinfo) {
|
||||
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'includes/mini-cart', '_route' => 'ajax.mini-cart',);
|
||||
}
|
||||
|
||||
// ajax.addCartMessage
|
||||
if ('/ajax/addCartMessage' === $pathinfo) {
|
||||
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'includes/addedToCart', '_route' => 'ajax.addCartMessage',);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/register')) {
|
||||
// customer.create.view
|
||||
if ('/register' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_customercreateview;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\CustomerController::viewRegisterAction', '_route' => 'customer.create.view',);
|
||||
}
|
||||
not_customercreateview:
|
||||
|
||||
// customer.create.process
|
||||
if ('/register' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customercreateprocess;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\CustomerController::createAction', '_view' => 'register', '_route' => 'customer.create.process',);
|
||||
}
|
||||
not_customercreateprocess:
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/login')) {
|
||||
// customer.login.view
|
||||
if ('/login' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_customerloginview;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\CustomerController::viewLoginAction', '_route' => 'customer.login.view',);
|
||||
}
|
||||
not_customerloginview:
|
||||
|
||||
// customer.login.process
|
||||
if ('/login' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerloginprocess;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\CustomerController::loginAction', '_view' => 'login', '_route' => 'customer.login.process',);
|
||||
}
|
||||
not_customerloginprocess:
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/password')) {
|
||||
// customer.password.retrieve.process
|
||||
if ('/password' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerpasswordretrieveprocess;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\CustomerController::newPasswordAction', '_view' => 'password', '_route' => 'customer.password.retrieve.process',);
|
||||
}
|
||||
not_customerpasswordretrieveprocess:
|
||||
|
||||
// customer.password.retrieve.sent
|
||||
if ('/password-sent' === $pathinfo) {
|
||||
return array ( '_controller' => 'Front\\Controller\\CustomerController::newPasswordSentAction', '_view' => 'password', '_route' => 'customer.password.retrieve.sent',);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// customer.logout.process
|
||||
if ('/logout' === $pathinfo) {
|
||||
return array ( '_controller' => 'Front\\Controller\\CustomerController::logoutAction', '_route' => 'customer.logout.process',);
|
||||
}
|
||||
|
||||
// customer.confirm.token
|
||||
if (0 === strpos($pathinfo, '/customer/confirm') && preg_match('#^/customer/confirm/(?P<token>[^/]++)$#sD', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.confirm.token')), array ( '_controller' => 'Front\\Controller\\CustomerController::confirmCustomerAction',));
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/a')) {
|
||||
if (0 === strpos($pathinfo, '/account')) {
|
||||
// customer.home
|
||||
if ('/account' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_customerhome;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'account', '_route' => 'customer.home',);
|
||||
}
|
||||
not_customerhome:
|
||||
|
||||
if (0 === strpos($pathinfo, '/account/update')) {
|
||||
// customer.update.view
|
||||
if ('/account/update' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_customerupdateview;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\CustomerController::viewAction', '_view' => 'account-update', '_route' => 'customer.update.view',);
|
||||
}
|
||||
not_customerupdateview:
|
||||
|
||||
// customer.update.process
|
||||
if ('/account/update' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerupdateprocess;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\CustomerController::updateAction', '_view' => 'account-update', '_route' => 'customer.update.process',);
|
||||
}
|
||||
not_customerupdateprocess:
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/account/password')) {
|
||||
// customer.password.change.process
|
||||
if ('/account/password' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_customerpasswordchangeprocess;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\CustomerController::updatePasswordAction', '_view' => 'account-password', '_route' => 'customer.password.change.process',);
|
||||
}
|
||||
not_customerpasswordchangeprocess:
|
||||
|
||||
// customer.password.change.view
|
||||
if ('/account/password' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_customerpasswordchangeview;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'account-password', '_route' => 'customer.password.change.view',);
|
||||
}
|
||||
not_customerpasswordchangeview:
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/account/order')) {
|
||||
// customer.order
|
||||
if (preg_match('#^/account/order/(?P<order_id>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.order')), array ( '_controller' => 'Front\\Controller\\OrderController::viewAction',));
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/account/order/pdf')) {
|
||||
// customer.order.pdf.delivery
|
||||
if (0 === strpos($pathinfo, '/account/order/pdf/delivery') && preg_match('#^/account/order/pdf/delivery/(?P<order_id>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.order.pdf.delivery')), array ( '_controller' => 'Front\\Controller\\OrderController::generateDeliveryPdf',));
|
||||
}
|
||||
|
||||
// customer.order.pdf.invoice
|
||||
if (0 === strpos($pathinfo, '/account/order/pdf/invoice') && preg_match('#^/account/order/pdf/invoice/(?P<order_id>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.order.pdf.invoice')), array ( '_controller' => 'Front\\Controller\\OrderController::generateInvoicePdf',));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// customer.order.product.download
|
||||
if (0 === strpos($pathinfo, '/account/download') && preg_match('#^/account/download/(?P<order_product_id>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.order.product.download')), array ( '_controller' => 'Front\\Controller\\OrderController::downloadVirtualProduct',));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/address')) {
|
||||
if (0 === strpos($pathinfo, '/address/create')) {
|
||||
// address.create.view
|
||||
if ('/address/create' === $pathinfo) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_addresscreateview;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'address', '_route' => 'address.create.view',);
|
||||
}
|
||||
not_addresscreateview:
|
||||
|
||||
// address.create
|
||||
if ('/address/create' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_addresscreate;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\AddressController::createAction', '_view' => 'address', '_route' => 'address.create',);
|
||||
}
|
||||
not_addresscreate:
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/address/update')) {
|
||||
// address.edit
|
||||
if (preg_match('#^/address/update/(?P<address_id>[^/]++)$#sD', $pathinfo, $matches)) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_addressedit;
|
||||
}
|
||||
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'address.edit')), array ( '_controller' => 'Front\\Controller\\AddressController::updateViewAction', '_view' => 'address-update',));
|
||||
}
|
||||
not_addressedit:
|
||||
|
||||
// address.update
|
||||
if (preg_match('#^/address/update/(?P<address_id>[^/]++)$#sD', $pathinfo, $matches)) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_addressupdate;
|
||||
}
|
||||
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'address.update')), array ( '_controller' => 'Front\\Controller\\AddressController::processUpdateAction', '_view' => 'address-update',));
|
||||
}
|
||||
not_addressupdate:
|
||||
|
||||
}
|
||||
|
||||
// address.delete
|
||||
if (0 === strpos($pathinfo, '/address/delete') && preg_match('#^/address/delete/(?P<address_id>[^/]++)$#sD', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'address.delete')), array ( '_controller' => 'Front\\Controller\\AddressController::deleteAction', '_view' => 'account',));
|
||||
}
|
||||
|
||||
// address.generateModal
|
||||
if (0 === strpos($pathinfo, '/address/modal') && preg_match('#^/address/modal/(?P<address_id>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_addressgenerateModal;
|
||||
}
|
||||
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'address.generateModal')), array ( '_controller' => 'Front\\Controller\\AddressController::generateModalAction', '_view' => 'modal-address',));
|
||||
}
|
||||
not_addressgenerateModal:
|
||||
|
||||
// address.make.default
|
||||
if (0 === strpos($pathinfo, '/address/default') && preg_match('#^/address/default/(?P<addressId>\\d+)$#sD', $pathinfo, $matches)) {
|
||||
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
|
||||
$allow = array_merge($allow, array('GET', 'HEAD'));
|
||||
goto not_addressmakedefault;
|
||||
}
|
||||
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'address.make.default')), array ( '_controller' => 'Front:Address:makeAddressDefault',));
|
||||
}
|
||||
not_addressmakedefault:
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/cart')) {
|
||||
// cart.view
|
||||
if ('/cart' === $pathinfo) {
|
||||
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'cart', '_route' => 'cart.view',);
|
||||
}
|
||||
|
||||
// cart.add.process
|
||||
if ('/cart/add' === $pathinfo) {
|
||||
return array ( '_controller' => 'Front\\Controller\\CartController::addItem', '_route' => 'cart.add.process',);
|
||||
}
|
||||
|
||||
// cart.delete.process
|
||||
if (0 === strpos($pathinfo, '/cart/delete') && preg_match('#^/cart/delete/(?P<cart_item>[^/]++)$#sD', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'cart.delete.process')), array ( '_controller' => 'Front\\Controller\\CartController::deleteItem', '_view' => 'cart',));
|
||||
}
|
||||
|
||||
// cart.update.quantity
|
||||
if ('/cart/update' === $pathinfo) {
|
||||
return array ( '_controller' => 'Front\\Controller\\CartController::changeItem', '_view' => 'cart', '_route' => 'cart.update.quantity',);
|
||||
}
|
||||
|
||||
// cart.update.country
|
||||
if ('/cart/country' === $pathinfo) {
|
||||
return array ( '_controller' => 'Front\\Controller\\CartController::changeCountry', '_view' => 'cart', '_route' => 'cart.update.country',);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/order')) {
|
||||
if (0 === strpos($pathinfo, '/order/delivery')) {
|
||||
// order.delivery.process
|
||||
if ('/order/delivery' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_orderdeliveryprocess;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\OrderController::deliver', '_view' => 'order-delivery', '_route' => 'order.delivery.process',);
|
||||
}
|
||||
not_orderdeliveryprocess:
|
||||
|
||||
// order.delivery
|
||||
if ('/order/delivery' === $pathinfo) {
|
||||
return array ( '_controller' => 'Front\\Controller\\OrderController::deliverView', '_view' => 'order-delivery', '_route' => 'order.delivery',);
|
||||
}
|
||||
|
||||
// admin.delivery.ajax-module-list
|
||||
if ('/order/deliveryModuleList' === $pathinfo) {
|
||||
return array ( '_controller' => 'Front\\Controller\\OrderController::getDeliveryModuleListAjaxAction', '_route' => 'admin.delivery.ajax-module-list',);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/order/invoice')) {
|
||||
// order.invoice.process
|
||||
if ('/order/invoice' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_orderinvoiceprocess;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\OrderController::invoice', '_view' => 'order-invoice', '_route' => 'order.invoice.process',);
|
||||
}
|
||||
not_orderinvoiceprocess:
|
||||
|
||||
// order.invoice
|
||||
if ('/order/invoice' === $pathinfo) {
|
||||
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'order-invoice', '_route' => 'order.invoice',);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/order/c')) {
|
||||
// order.coupon.process
|
||||
if ('/order/coupon' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_ordercouponprocess;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\CouponController::consumeAction', '_view' => 'order-invoice', '_route' => 'order.coupon.process',);
|
||||
}
|
||||
not_ordercouponprocess:
|
||||
|
||||
// order.coupon.clear
|
||||
if ('/order/clear-coupons' === $pathinfo) {
|
||||
return array ( '_controller' => 'Front\\Controller\\CouponController::clearAllCouponsAction', '_view' => 'order-invoice', '_route' => 'order.coupon.clear',);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/order/p')) {
|
||||
// order.payment.process
|
||||
if ('/order/pay' === $pathinfo) {
|
||||
return array ( '_controller' => 'Front\\Controller\\OrderController::pay', '_route' => 'order.payment.process',);
|
||||
}
|
||||
|
||||
// order.placed
|
||||
if (0 === strpos($pathinfo, '/order/placed') && preg_match('#^/order/placed/(?P<order_id>[^/]++)$#sD', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'order.placed')), array ( '_controller' => 'Front\\Controller\\OrderController::orderPlaced', '_view' => 'order-placed',));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// order.failed
|
||||
if (0 === strpos($pathinfo, '/order/failed') && preg_match('#^/order/failed/(?P<order_id>[^/]++)/(?P<message>[^/]++)$#sD', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'order.failed')), array ( '_controller' => 'Front\\Controller\\OrderController::orderFailed', '_view' => 'order-failed',));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/contact')) {
|
||||
// contact.send
|
||||
if ('/contact' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_contactsend;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\ContactController::sendAction', '_view' => 'contact', '_route' => 'contact.send',);
|
||||
}
|
||||
not_contactsend:
|
||||
|
||||
// contact.success
|
||||
if ('/contact/success' === $pathinfo) {
|
||||
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'contact-success', '_route' => 'contact.success',);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/newsletter')) {
|
||||
// newsletter.process
|
||||
if ('/newsletter' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_newsletterprocess;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\NewsletterController::subscribeAction', '_view' => 'newsletter', '_route' => 'newsletter.process',);
|
||||
}
|
||||
not_newsletterprocess:
|
||||
|
||||
// newsletter.unsubscribe
|
||||
if ('/newsletter-unsubscribe' === $pathinfo) {
|
||||
if ($this->context->getMethod() != 'POST') {
|
||||
$allow[] = 'POST';
|
||||
goto not_newsletterunsubscribe;
|
||||
}
|
||||
|
||||
return array ( '_controller' => 'Front\\Controller\\NewsletterController::unsubscribeAction', '_view' => 'newsletter-unsubscribe', '_route' => 'newsletter.unsubscribe',);
|
||||
}
|
||||
not_newsletterunsubscribe:
|
||||
|
||||
}
|
||||
|
||||
if (0 === strpos($pathinfo, '/sitemap')) {
|
||||
// sitemap.process
|
||||
if ('/sitemap' === $pathinfo) {
|
||||
return array ( '_controller' => 'Front\\Controller\\SitemapController::generateAction', '_route' => 'sitemap.process',);
|
||||
}
|
||||
|
||||
// sitemap.process.xml
|
||||
if ('/sitemap.xml' === $pathinfo) {
|
||||
return array ( '_controller' => 'Front\\Controller\\SitemapController::generateAction', '_route' => 'sitemap.process.xml',);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// feed.process
|
||||
if (0 === strpos($pathinfo, '/feed') && preg_match('#^/feed(?:/(?P<context>[^/]++)(?:/(?P<lang>[^/]++)(?:/(?P<id>[^/]++))?)?)?$#sD', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'feed.process')), array ( '_controller' => 'Front\\Controller\\FeedController::generateAction', 'context' => 'catalog', 'lang' => '', 'id' => '',));
|
||||
}
|
||||
|
||||
// empty
|
||||
if ('/empty' === $pathinfo) {
|
||||
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::emptyRoute', '_route' => 'empty',);
|
||||
}
|
||||
|
||||
// default
|
||||
if (preg_match('#^/(?P<_view>(?!admin|api)[^/]+)?$#sD', $pathinfo, $matches)) {
|
||||
return $this->mergeDefaults(array_replace($matches, array('_route' => 'default')), array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'index',));
|
||||
}
|
||||
|
||||
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
|
||||
}
|
||||
}
|
||||
1
.well-known/cache/dev/ProjectUrlMatcherrouter_Front.php.meta
vendored
Normal file
1
.well-known/cache/dev/ProjectUrlMatcherrouter_Front.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":94:{s:86:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/Front/Config/front.xml";}}
|
||||
2
.well-known/cache/dev/classes.map
vendored
Normal file
2
.well-known/cache/dev/classes.map
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<?php return array (
|
||||
);
|
||||
27
.well-known/cache/dev/propel/config/propel.init.php
vendored
Normal file
27
.well-known/cache/dev/propel/config/propel.init.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
$serviceContainer = \Propel\Runtime\Propel::getServiceContainer();
|
||||
$serviceContainer->checkVersion('2.0.0-dev');
|
||||
$serviceContainer->setAdapterClass('thelia', 'mysql');
|
||||
$manager = new \Propel\Runtime\Connection\ConnectionManagerSingle();
|
||||
$manager->setConfiguration(array (
|
||||
'dsn' => 'mysql:host=localhost;dbname=pala4545_thel858;port=3306',
|
||||
'user' => 'pala4545_thel858',
|
||||
'password' => '!25pl56-SU',
|
||||
'classname' => '\\Propel\\Runtime\\Connection\\ConnectionWrapper',
|
||||
'settings' =>
|
||||
array (
|
||||
'queries' =>
|
||||
array (
|
||||
0 => 'SET NAMES \'UTF8\'',
|
||||
),
|
||||
'charset' => 'utf8',
|
||||
),
|
||||
'model_paths' =>
|
||||
array (
|
||||
0 => 'src',
|
||||
1 => 'vendor',
|
||||
),
|
||||
));
|
||||
$manager->setName('thelia');
|
||||
$serviceContainer->setConnectionManager('thelia', $manager);
|
||||
$serviceContainer->setDefaultDatasource('thelia');
|
||||
1
.well-known/cache/dev/propel/config/propel.init.php.meta
vendored
Normal file
1
.well-known/cache/dev/propel/config/propel.init.php.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":92:{s:84:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/cache/dev/propel/config/propel.yml";}}
|
||||
5
.well-known/cache/dev/propel/config/propel.yml
vendored
Normal file
5
.well-known/cache/dev/propel/config/propel.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
propel:
|
||||
database: { connections: { thelia: { adapter: mysql, dsn: 'mysql:host=localhost;dbname=pala4545_thel858;port=3306', user: pala4545_thel858, password: '!25pl56-SU', classname: \Propel\Runtime\Connection\ConnectionWrapper, settings: { queries: ['SET NAMES ''UTF8'''] } } } }
|
||||
runtime: { defaultConnection: thelia }
|
||||
paths: { phpDir: /Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/ }
|
||||
generator: { objectModel: { builders: { object: \Thelia\Core\Propel\Generator\Builder\Om\ObjectBuilder, objectstub: \Thelia\Core\Propel\Generator\Builder\Om\ExtensionObjectBuilder, objectmultiextend: \Thelia\Core\Propel\Generator\Builder\Om\MultiExtendObjectBuilder, query: \Thelia\Core\Propel\Generator\Builder\Om\QueryBuilder, querystub: \Thelia\Core\Propel\Generator\Builder\Om\ExtensionQueryBuilder, queryinheritance: \Thelia\Core\Propel\Generator\Builder\Om\QueryInheritanceBuilder, queryinheritancestub: \Thelia\Core\Propel\Generator\Builder\Om\ExtensionQueryInheritanceBuilder, tablemap: \Thelia\Core\Propel\Generator\Builder\Om\TableMapBuilder, event: \Thelia\Core\Propel\Generator\Builder\Om\EventBuilder } }, builders: { resolver: \Thelia\Core\Propel\Generator\Builder\ResolverBuilder } }
|
||||
1
.well-known/cache/dev/propel/config/propel.yml.meta
vendored
Normal file
1
.well-known/cache/dev/propel/config/propel.yml.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":83:{s:75:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/config/database.yml";}}
|
||||
1
.well-known/cache/dev/propel/hash
vendored
Normal file
1
.well-known/cache/dev/propel/hash
vendored
Normal file
@@ -0,0 +1 @@
|
||||
f592dbfd702820c0495e5712fa130b59
|
||||
2364
.well-known/cache/dev/propel/schema/thelia.schema.xml
vendored
Normal file
2364
.well-known/cache/dev/propel/schema/thelia.schema.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
.well-known/cache/dev/propel/schema/thelia.schema.xml.meta
vendored
Normal file
1
.well-known/cache/dev/propel/schema/thelia.schema.xml.meta
vendored
Normal file
@@ -0,0 +1 @@
|
||||
a:11:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":98:{s:90:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/Carousel/Config/schema.xml";}i:1;C:46:"Symfony\Component\Config\Resource\FileResource":102:{s:94:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/OrderComment/Config/schema.xml";}i:2;C:46:"Symfony\Component\Config\Resource\FileResource":106:{s:98:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/PaymentCondition/Config/schema.xml";}i:3;C:46:"Symfony\Component\Config\Resource\FileResource":104:{s:96:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/CustomerFamily/Config/schema.xml";}i:4;C:46:"Symfony\Component\Config\Resource\FileResource":111:{s:102:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/LivraisonParSecteurs/Config/schema.xml";}i:5;C:46:"Symfony\Component\Config\Resource\FileResource":99:{s:91:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/ReCaptcha/Config/schema.xml";}i:6;C:46:"Symfony\Component\Config\Resource\FileResource":113:{s:104:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/PlanificationLivraison/Config/schema.xml";}i:7;C:46:"Symfony\Component\Config\Resource\FileResource":102:{s:94:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/PointRetrait/Config/schema.xml";}i:8;C:46:"Symfony\Component\Config\Resource\FileResource":103:{s:95:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/PayPlugModule/Config/schema.xml";}i:9;C:46:"Symfony\Component\Config\Resource\FileResource":97:{s:89:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/Mailjet/Config/schema.xml";}i:10;C:46:"Symfony\Component\Config\Resource\FileResource":81:{s:73:"/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/config/schema.xml";}}
|
||||
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:03
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookNavigation/templates/frontOffice/default/main-footer-body.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab7382a714_53331246',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0c58310443c82959b76b465074e66765cbdfff68' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookNavigation/templates/frontOffice/default/main-footer-body.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab7382a714_53331246 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_block_plugin29 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin29, 'theliaIfLoop'))) {
|
||||
throw new SmartyException('block tag \'ifloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"blog.articles"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin29->theliaIfLoop(array('rel'=>"blog.articles"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<ul>
|
||||
<?php $_block_plugin30 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin30, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"content",'name'=>"blog.articles",'folder'=>$_smarty_tpl->tpl_vars['bodyFolderId']->value,'limit'=>3));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin30->theliaLoop(array('type'=>"content",'name'=>"blog.articles",'folder'=>$_smarty_tpl->tpl_vars['bodyFolderId']->value,'limit'=>3), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<li>
|
||||
<a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<h4 class="block-subtitle"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</h4>
|
||||
<p><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['CHAPO']->value,$_smarty_tpl);?>
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin30->theliaLoop(array('type'=>"content",'name'=>"blog.articles",'folder'=>$_smarty_tpl->tpl_vars['bodyFolderId']->value,'limit'=>3), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</ul>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin29->theliaIfLoop(array('rel'=>"blog.articles"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
$_block_plugin31 = isset($_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin31, 'theliaElseloop'))) {
|
||||
throw new SmartyException('block tag \'elseloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elseloop', array('rel'=>"blog.articles"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin31->theliaElseloop(array('rel'=>"blog.articles"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<ul>
|
||||
<li><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"No articles currently",'d'=>"hooknavigation.fo.default"),$_smarty_tpl ) );?>
|
||||
</li>
|
||||
</ul>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin31->theliaElseloop(array('rel'=>"blog.articles"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,150 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:02
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/includes/toolbar.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abae51a8d5_33308325',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1373f37b67f08923667a955ec71dd200f32f2252' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/includes/toolbar.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abae51a8d5_33308325 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><div class="toolbar toolbar-<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['toolbar']->value,$_smarty_tpl);?>
|
||||
" role="toolbar">
|
||||
<?php if ($_smarty_tpl->tpl_vars['toolbar']->value == "top") {?>
|
||||
<div class="sorter-container clearfix">
|
||||
<span class="amount"><?php if (($_smarty_tpl->tpl_vars['amount']->value > 1)) {
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"%nb Items",'nb'=>((string)$_smarty_tpl->tpl_vars['amount']->value)),$_smarty_tpl ) );
|
||||
} else {
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"%nb Item",'nb'=>((string)$_smarty_tpl->tpl_vars['amount']->value)),$_smarty_tpl ) );
|
||||
}?></span>
|
||||
|
||||
<span class="limiter">
|
||||
<label for="limit-top"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Show"),$_smarty_tpl ) );?>
|
||||
</label>
|
||||
<select id="limit-top" name="limit">
|
||||
<option value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'page'=>"1",'limit'=>"4"),$_smarty_tpl ) );?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['limit']->value == 4) {?>selected<?php }?>>4</option>
|
||||
<option value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'page'=>"1",'limit'=>"8"),$_smarty_tpl ) );?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['limit']->value == 8) {?>selected<?php }?>>8</option>
|
||||
<option value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'page'=>"1",'limit'=>"12"),$_smarty_tpl ) );?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['limit']->value == 12) {?>selected<?php }?>>12</option>
|
||||
<option value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'page'=>"1",'limit'=>"50"),$_smarty_tpl ) );?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['limit']->value == 50) {?>selected<?php }?>>50</option>
|
||||
<option value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'page'=>"1",'limit'=>"100000"),$_smarty_tpl ) );?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['limit']->value == 100000) {?>selected<?php }?>><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"All"),$_smarty_tpl ) );?>
|
||||
</option>
|
||||
</select>
|
||||
<span class="per-page"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"per page"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
</span><!-- /.limiter -->
|
||||
|
||||
<span class="sort-by">
|
||||
<label for="sortby-top"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Sort By"),$_smarty_tpl ) );?>
|
||||
</label>
|
||||
<select id="sortby-top" name="sortby">
|
||||
<option value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'limit'=>$_smarty_tpl->tpl_vars['limit']->value,'order'=>"alpha"),$_smarty_tpl ) );?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['order']->value == "alpha") {?>selected<?php }?>><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Name ascending"),$_smarty_tpl ) );?>
|
||||
</option>
|
||||
<option value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'limit'=>$_smarty_tpl->tpl_vars['limit']->value,'order'=>"alpha_reverse"),$_smarty_tpl ) );?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['order']->value == "alpha_reverse") {?>selected<?php }?>><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Name descending"),$_smarty_tpl ) );?>
|
||||
</option>
|
||||
<option value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'limit'=>$_smarty_tpl->tpl_vars['limit']->value,'order'=>"min_price"),$_smarty_tpl ) );?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['order']->value == "min_price") {?>selected<?php }?>><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Price ascending"),$_smarty_tpl ) );?>
|
||||
</option>
|
||||
<option value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'limit'=>$_smarty_tpl->tpl_vars['limit']->value,'order'=>"max_price"),$_smarty_tpl ) );?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['order']->value == "max_price") {?>selected<?php }?>><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Price descending"),$_smarty_tpl ) );?>
|
||||
</option>
|
||||
</select>
|
||||
</span><!-- /.sort-by -->
|
||||
|
||||
<span class="view-mode">
|
||||
<span class="view-mode-label sr-only"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"View as"),$_smarty_tpl ) );?>
|
||||
:</span>
|
||||
<span class="view-mode-btn">
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'mode'=>"grid"),$_smarty_tpl ) );?>
|
||||
" data-toggle="view" role="button" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Grid"),$_smarty_tpl ) );?>
|
||||
" rel="nofollow" class="btn btn-default btn-grid"><i class="fa fa-th"></i></a>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'mode'=>"list"),$_smarty_tpl ) );?>
|
||||
" data-toggle="view" role="button" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"List"),$_smarty_tpl ) );?>
|
||||
" rel="nofollow" class="btn btn-default btn-list"><i class="fa fa-th-list"></i></a>
|
||||
</span>
|
||||
</span><!-- /.view-mode -->
|
||||
|
||||
</div><!-- /.sorter -->
|
||||
<?php } else { ?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['amount']->value > $_smarty_tpl->tpl_vars['limit']->value) {?>
|
||||
<div class="pagination-container clearfix" role="pagination" aria-labelledby="pagination-label-<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['toolbar']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<strong id="pagination-label-<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['toolbar']->value,$_smarty_tpl);?>
|
||||
" class="pagination-label sr-only"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Pagination"),$_smarty_tpl ) );?>
|
||||
</strong>
|
||||
<ul class="pagination pagination-sm">
|
||||
<?php if ($_smarty_tpl->tpl_vars['product_page']->value <= 1) {?>
|
||||
<li class="disabled">
|
||||
<span class="prev"><i class="fa fa-caret-left"></i></span>
|
||||
</li>
|
||||
<?php } else { ?>
|
||||
<li>
|
||||
<a href="<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['product_page']->value-1,$_smarty_tpl);
|
||||
$_prefixVariable14 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'page'=>$_prefixVariable14),$_smarty_tpl ) );?>
|
||||
" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Previous"),$_smarty_tpl ) );?>
|
||||
" class="prev"><i class="fa fa-caret-left"></i></a>
|
||||
</li>
|
||||
<?php }?>
|
||||
|
||||
<?php $_block_plugin11 = isset($_smarty_tpl->smarty->registered_plugins['block']['pageloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['pageloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin11, 'theliaPageLoop'))) {
|
||||
throw new SmartyException('block tag \'pageloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('pageloop', array('rel'=>"product_list"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin11->theliaPageLoop(array('rel'=>"product_list"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<li<?php if ($_smarty_tpl->tpl_vars['PAGE']->value == $_smarty_tpl->tpl_vars['CURRENT']->value) {?> class="active"<?php }?>>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'page'=>$_smarty_tpl->tpl_vars['PAGE']->value),$_smarty_tpl ) );?>
|
||||
"> <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['PAGE']->value,$_smarty_tpl);?>
|
||||
</a>
|
||||
</li>
|
||||
<?php if ($_smarty_tpl->tpl_vars['PAGE']->value == $_smarty_tpl->tpl_vars['END']->value) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['CURRENT']->value == $_smarty_tpl->tpl_vars['LAST']->value) {?>
|
||||
<li class="disabled">
|
||||
<span class="next"><i class="fa fa-caret-right"></i></span>
|
||||
</li>
|
||||
<?php } else { ?>
|
||||
<li>
|
||||
<a href="<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['NEXT']->value,$_smarty_tpl);
|
||||
$_prefixVariable15 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('current'=>"1",'page'=>$_prefixVariable15),$_smarty_tpl ) );?>
|
||||
" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Next"),$_smarty_tpl ) );?>
|
||||
" class="next"><i class="fa fa-caret-right"></i></a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin11->theliaPageLoop(array('rel'=>"product_list"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
@@ -0,0 +1,692 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:40
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/email/custom/email-layout.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abd46698b5_61655478',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1cfa0b1c82c5fd6de2e69d2486f08af5e9b1bf30' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/email/custom/email-layout.tpl',
|
||||
1 => 1615367564,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abd46698b5_61655478 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_loadInheritance();
|
||||
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['default_translation_domain'][0], array( array('domain'=>'email.custom'),$_smarty_tpl ) );?>
|
||||
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['locale']->value,$_smarty_tpl);
|
||||
$_prefixVariable7 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['default_locale'][0], array( array('locale'=>$_prefixVariable7),$_smarty_tpl ) );?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['declare_assets'][0], array( array('directory'=>'assets'),$_smarty_tpl ) );?>
|
||||
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"url_site"),$_smarty_tpl ) );
|
||||
$_prefixVariable8=ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('url_site', $_prefixVariable8);
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_name"),$_smarty_tpl ) );
|
||||
$_prefixVariable9=ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('company_name', $_prefixVariable9);
|
||||
if (!$_smarty_tpl->tpl_vars['company_name']->value) {?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>'Thelia V2'),$_smarty_tpl ) );
|
||||
$_prefixVariable10=ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('company_name', $_prefixVariable10);
|
||||
}?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<title><?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_14698060296065abd460dd68_31258438', "email-subject");
|
||||
?>
|
||||
</title>
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
#outlook a{
|
||||
padding:0;
|
||||
}
|
||||
.ReadMsgBody{
|
||||
width:100%;
|
||||
}
|
||||
.ExternalClass{
|
||||
width:100%;
|
||||
}
|
||||
.yshortcuts,a .yshortcuts,a .yshortcuts:hover,a .yshortcuts:active,a .yshortcuts:focus{
|
||||
background-color:transparent !important;
|
||||
border:none !important;
|
||||
color:inherit !important;
|
||||
}
|
||||
body{
|
||||
margin:0;
|
||||
padding:0;
|
||||
}ORDER_SET_DELIVERY_ADDRESS
|
||||
img{
|
||||
border:0;
|
||||
height:auto;
|
||||
line-height:100%;
|
||||
outline:none;
|
||||
text-decoration:none;
|
||||
}
|
||||
table,td{
|
||||
border-collapse:collapse !important;
|
||||
mso-table-lspace:0pt;
|
||||
mso-table-rspace:0pt;
|
||||
}
|
||||
#bodyTable,#bodyCell{
|
||||
height:100% !important;
|
||||
margin:0;
|
||||
padding:0;
|
||||
width:100% !important;
|
||||
}
|
||||
#bodyCell{
|
||||
padding:20px;
|
||||
}
|
||||
.templateContainer{
|
||||
width:600px;
|
||||
}
|
||||
h1{
|
||||
color:#202020;
|
||||
display:block;
|
||||
font-family:Helvetica;
|
||||
font-size:26px;
|
||||
font-style:normal;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
letter-spacing:normal;
|
||||
margin-top:0;
|
||||
margin-right:0;
|
||||
margin-bottom:10px;
|
||||
margin-left:0;
|
||||
text-align:left;
|
||||
}
|
||||
h2{
|
||||
color:#404040;
|
||||
display:block;
|
||||
font-family:Helvetica;
|
||||
font-size:20px;
|
||||
font-style:normal;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
letter-spacing:normal;
|
||||
margin-top:0;
|
||||
margin-right:0;
|
||||
margin-bottom:10px;
|
||||
margin-left:0;
|
||||
text-align:left;
|
||||
}
|
||||
h3{
|
||||
color:#606060;
|
||||
display:block;
|
||||
font-family:Helvetica;
|
||||
font-size:16px;
|
||||
font-style:normal;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
letter-spacing:normal;
|
||||
margin-top:0;
|
||||
margin-right:0;
|
||||
margin-bottom:10px;
|
||||
margin-left:0;
|
||||
text-align:left;
|
||||
}
|
||||
h4{
|
||||
color:#808080;
|
||||
display:block;
|
||||
font-family:Helvetica;
|
||||
font-size:12px;
|
||||
font-style:normal;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
letter-spacing:normal;
|
||||
margin-top:0;
|
||||
margin-right:0;
|
||||
margin-bottom:10px;
|
||||
margin-left:0;
|
||||
text-align:left;
|
||||
}
|
||||
#templatePreheader{
|
||||
background-color:#f5f5f5;
|
||||
border-top:10px solid #f5f5f5;
|
||||
border-bottom:0;
|
||||
}
|
||||
.preheaderContent{
|
||||
color:#707070;
|
||||
font-family:Helvetica;
|
||||
font-size:10px;
|
||||
line-height:125%;
|
||||
padding-top:10px;
|
||||
padding-bottom:10px;
|
||||
text-align:left;
|
||||
}
|
||||
.preheaderContent a:link,.preheaderContent a:visited,.preheaderContent a .yshortcuts {
|
||||
color:#FFFFFF;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
#templateHeader{
|
||||
background-color:#FFFFFF;
|
||||
border-top:10px solid #f5f5f5;
|
||||
border-bottom:0;
|
||||
}
|
||||
.headerContent{
|
||||
color:#202020;
|
||||
font-family:Helvetica;
|
||||
font-size:20px;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
padding-top:40px;
|
||||
padding-right:0;
|
||||
padding-bottom:20px;
|
||||
padding-left:0;
|
||||
text-align:left;
|
||||
vertical-align:middle;
|
||||
}
|
||||
.headerContent a:link,.headerContent a:visited,.headerContent a .yshortcuts {
|
||||
color:#E1523D;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
#templateBody{
|
||||
background-color:#FFFFFF;
|
||||
border-top:0;
|
||||
border-bottom:0;
|
||||
}
|
||||
.titleContentBlock{
|
||||
background-color:#ffffff;
|
||||
border-top:0px solid #F47766;
|
||||
border-bottom:0px solid #B14031;
|
||||
}
|
||||
.titleContent{
|
||||
color:#7a7a7a;
|
||||
font-family:Arial;
|
||||
font-size:24px;
|
||||
font-weight:normal;
|
||||
line-height:110%;
|
||||
padding-top:5px;
|
||||
padding-bottom:5px;
|
||||
text-align:left;
|
||||
}
|
||||
.bodyContentBlock{
|
||||
background-color:#FFFFFF;
|
||||
border-top:0;
|
||||
border-bottom:1px solid #E5E5E5;
|
||||
}
|
||||
.bodyContent{
|
||||
color:#505050;
|
||||
font-family:Helvetica;
|
||||
font-size:16px;
|
||||
line-height:150%;
|
||||
padding-top:20px;
|
||||
padding-bottom:20px;
|
||||
text-align:left;
|
||||
}
|
||||
.bodyContent a:link,.bodyContent a:visited,.bodyContent a .yshortcuts {
|
||||
color:#E1523D;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
.templateButton{
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
background-color:#f49a17;
|
||||
border:0;
|
||||
border-radius:5px;
|
||||
}
|
||||
.templateButtonContent,.templateButtonContent a:link,.templateButtonContent a:visited,.templateButtonContent a .yshortcuts {
|
||||
color:#FFFFFF;
|
||||
font-family:Helvetica;
|
||||
font-size:15px;
|
||||
font-weight:bold;
|
||||
letter-spacing:-.5px;
|
||||
line-height:100%;
|
||||
text-align:center;
|
||||
text-decoration:none;
|
||||
}
|
||||
.bodyContent img{
|
||||
display:inline;
|
||||
height:auto;
|
||||
max-width:600px;
|
||||
}
|
||||
body,#bodyTable{
|
||||
background-color:#444444;
|
||||
}
|
||||
#templateFooter{
|
||||
border-top:0;
|
||||
}
|
||||
.footerContent{
|
||||
color:#808080;
|
||||
font-family:Helvetica;
|
||||
font-size:10px;
|
||||
line-height:150%;
|
||||
padding-top:20px;
|
||||
text-align:left;
|
||||
}
|
||||
.footerContent a:link,.footerContent a:visited,.footerContent a .yshortcuts {
|
||||
color:#606060;
|
||||
font-weight:normal;
|
||||
text-decoration:underline;
|
||||
}
|
||||
.footerContent img{
|
||||
display:inline;
|
||||
max-width:600px;
|
||||
}
|
||||
@media only screen and (max-width: 480px){
|
||||
body,table,td,p,a,li,blockquote{
|
||||
-webkit-text-size-adjust:none !important;
|
||||
}
|
||||
|
||||
body{
|
||||
width:auto !important;
|
||||
}
|
||||
|
||||
table[class=templateContainer]{
|
||||
width:100% !important;
|
||||
}
|
||||
|
||||
table[class=templateContainer]{
|
||||
max-width:600px !important;
|
||||
width:100% !important;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-size:24px !important;
|
||||
line-height:100% !important;
|
||||
}
|
||||
|
||||
h2{
|
||||
font-size:20px !important;
|
||||
line-height:100% !important;
|
||||
}
|
||||
|
||||
h3{
|
||||
font-size:18px !important;
|
||||
line-height:100% !important;
|
||||
}
|
||||
|
||||
h4{
|
||||
font-size:16px !important;
|
||||
line-height:100% !important;
|
||||
}
|
||||
|
||||
table[id=templatePreheader]{
|
||||
display:none !important;
|
||||
}
|
||||
|
||||
img[id=headerImage]{
|
||||
height:auto !important;
|
||||
max-width:233px !important;
|
||||
width:100% !important;
|
||||
}
|
||||
|
||||
td[class=headerContent]{
|
||||
font-size:20px !important;
|
||||
line-height:150% !important;
|
||||
padding-top:40px !important;
|
||||
padding-right:10px !important;
|
||||
padding-bottom:20px !important;
|
||||
padding-left:10px !important;
|
||||
}
|
||||
|
||||
img[class=bodyImage]{
|
||||
height:auto !important;
|
||||
max-width:400px !important;
|
||||
width:50% !important;
|
||||
}
|
||||
|
||||
td[class=titleContent]{
|
||||
font-size:20px !important;
|
||||
line-height:125% !important;
|
||||
padding-right:10px;
|
||||
padding-left:10px;
|
||||
}
|
||||
|
||||
td[class=bodyContent]{
|
||||
font-size:16px !important;
|
||||
line-height:125% !important;
|
||||
padding-right:10px;
|
||||
padding-left:10px;
|
||||
}
|
||||
|
||||
td[class=footerContent]{
|
||||
font-size:14px !important;
|
||||
line-height:150% !important;
|
||||
padding-right:10px;
|
||||
padding-left:10px;
|
||||
}
|
||||
|
||||
td[class=footerContent] a{
|
||||
display:block !important;
|
||||
}
|
||||
}
|
||||
|
||||
.preheaderContent a:link,.preheaderContent a:visited,.preheaderContent a .yshortcuts{
|
||||
color:#f49a17;
|
||||
}
|
||||
.footerContent a:link,.footerContent a:visited,.footerContent a .yshortcuts{
|
||||
color:#ffffff;
|
||||
}
|
||||
.bodyContent a:link,.bodyContent a:visited,.bodyContent a .yshortcuts{
|
||||
color:#f49a17;
|
||||
text-decoration:none;
|
||||
font-weight:normal;
|
||||
}
|
||||
.templateButtonContent,.templateButtonContent a:link,.templateButtonContent a:visited,.templateButtonContent a .yshortcuts{
|
||||
font-weight:normal;
|
||||
}
|
||||
|
||||
</style>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"email-html.layout.css"),$_smarty_tpl ) );?>
|
||||
|
||||
</head>
|
||||
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" style="margin: 0;padding: 0;background-color: #444444;">
|
||||
<center>
|
||||
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;margin: 0;padding: 0;background-color: #444444;border-collapse: collapse !important;height: 100% !important;width: 100% !important;">
|
||||
<tr>
|
||||
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_11578962336065abd4616606_58648009', "pre-header");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_5667056256065abd4628322_48379023', "logo-header");
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateBody" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;background-color: #FFFFFF;border-top: 0;border-bottom: 0;border-collapse: collapse !important;">
|
||||
<tr>
|
||||
<td align="center" valign="top" style="padding-top: 20px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="templateContainer" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;width: 600px;border-collapse: collapse !important;">
|
||||
<tr>
|
||||
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
|
||||
<table border="0" cellpadding="10" cellspacing="0" width="100%" class="titleContentBlock" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;background-color: #ffffff;border-top: 0px solid #F47766;border-bottom: 0px solid #B14031;border-collapse: collapse !important;">
|
||||
<tr>
|
||||
<td valign="top" class="titleContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #7a7a7a;font-family: Arial;font-size: 24px;font-weight: normal;line-height: 110%;padding-top: 5px;padding-bottom: 5px;text-align: left;border-collapse: collapse !important;">
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_19819752006065abd462d3f7_74233657', "email-title");
|
||||
?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="top" style="padding-bottom: 40px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
|
||||
<table border="0" cellpadding="10" cellspacing="0" width="100%" class="bodyContentBlock" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;background-color: #FFFFFF;border-top: 0;border-bottom: 1px solid #E5E5E5;border-collapse: collapse !important;">
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_10048311766065abd4631173_57373297', "image-header");
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td valign="top" class="bodyContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #505050;font-family: Helvetica;font-size: 14px;line-height: 150%;padding-top: 0px;padding-bottom: 20px;text-align: left;border-collapse: collapse !important;">
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_19705247016065abd463a722_97506736', "email-content");
|
||||
?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateFooter" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-top: 0;border-collapse: collapse !important;">
|
||||
<tr>
|
||||
<td align="center" valign="top" style="padding-bottom: 40px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"email-html.layout.footer"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php $_block_plugin11 = isset($_smarty_tpl->smarty->registered_plugins['block']['elsehook'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elsehook'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin11, 'elseHook'))) {
|
||||
throw new SmartyException('block tag \'elsehook\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elsehook', array('rel'=>"email-html.layout.footer"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin11->elseHook(array('rel'=>"email-html.layout.footer"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="templateContainer" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;width: 600px;border-collapse: collapse !important;">
|
||||
<tr>
|
||||
<td valign="top" class="footerContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #808080;font-family: Helvetica;font-size: 10px;line-height: 150%;padding-top: 20px;text-align: left;border-collapse: collapse !important;">
|
||||
<strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Our mailing address is:"),$_smarty_tpl ) );?>
|
||||
</strong>
|
||||
<br>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_address1"),$_smarty_tpl ) );?>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_address2"),$_smarty_tpl ) );?>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_address3"),$_smarty_tpl ) );?>
|
||||
<br>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_zipcode"),$_smarty_tpl ) );?>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_city"),$_smarty_tpl ) );?>
|
||||
,
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_country"),$_smarty_tpl ) );
|
||||
$_prefixVariable11 = ob_get_clean();
|
||||
if ($_prefixVariable11) {?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_country"),$_smarty_tpl ) );
|
||||
$_prefixVariable12 = ob_get_clean();
|
||||
$_block_plugin12 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin12, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"country",'name'=>"address.country.title",'id'=>$_prefixVariable12));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin12->theliaLoop(array('type'=>"country",'name'=>"address.country.title",'id'=>$_prefixVariable12), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>, <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);
|
||||
$_block_repeat=false;
|
||||
echo $_block_plugin12->theliaLoop(array('type'=>"country",'name'=>"address.country.title",'id'=>$_prefixVariable12), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php }?>
|
||||
<br>
|
||||
<br>
|
||||
<em><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Copyright"),$_smarty_tpl ) );?>
|
||||
© <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(date('Y'),$_smarty_tpl);?>
|
||||
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['company_name']->value,$_smarty_tpl);?>
|
||||
, <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"All rights reserved."),$_smarty_tpl ) );?>
|
||||
</em>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin11->elseHook(array('rel'=>"email-html.layout.footer"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
/* {block "email-subject"} */
|
||||
class Block_14698060296065abd460dd68_31258438 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'email-subject' =>
|
||||
array (
|
||||
0 => 'Block_14698060296065abd460dd68_31258438',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "email-subject"} */
|
||||
/* {block "email-intro"} */
|
||||
class Block_904470146065abd4619da2_28459486 extends Smarty_Internal_Block
|
||||
{
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "email-intro"} */
|
||||
/* {block "browser"} */
|
||||
class Block_13484263446065abd461d6f8_46961656 extends Smarty_Internal_Block
|
||||
{
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Email not displaying correctly?"),$_smarty_tpl ) );?>
|
||||
<br><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"url_site"),$_smarty_tpl ) );?>
|
||||
?view=email/register" target="_blank" style="color: #f49a17;font-weight: normal;text-decoration: underline;"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"View it in your browser"),$_smarty_tpl ) );?>
|
||||
</a>.<?php
|
||||
}
|
||||
}
|
||||
/* {/block "browser"} */
|
||||
/* {block "pre-header"} */
|
||||
class Block_11578962336065abd4616606_58648009 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'pre-header' =>
|
||||
array (
|
||||
0 => 'Block_11578962336065abd4616606_58648009',
|
||||
),
|
||||
'email-intro' =>
|
||||
array (
|
||||
0 => 'Block_904470146065abd4619da2_28459486',
|
||||
),
|
||||
'browser' =>
|
||||
array (
|
||||
0 => 'Block_13484263446065abd461d6f8_46961656',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templatePreheader" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;background-color: #f5f5f5;border-top: 10px solid #f5f5f5;border-bottom: 0;border-collapse: collapse !important;">
|
||||
<tr>
|
||||
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" class="templateContainer" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;width: 600px;border-collapse: collapse !important;">
|
||||
<tr>
|
||||
<td valign="top" class="preheaderContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #707070;font-family: Helvetica;font-size: 10px;line-height: 125%;padding-top: 10px;padding-bottom: 10px;text-align: left;border-collapse: collapse !important;">
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_904470146065abd4619da2_28459486', "email-intro", $this->tplIndex);
|
||||
?>
|
||||
|
||||
</td>
|
||||
|
||||
<td valign="top" class="preheaderContent" style="padding-left: 20px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #707070;font-family: Helvetica;font-size: 10px;line-height: 125%;padding-top: 10px;padding-bottom: 10px;text-align: left;border-collapse: collapse !important;" width="200">
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_13484263446065abd461d6f8_46961656', "browser", $this->tplIndex);
|
||||
?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "pre-header"} */
|
||||
/* {block "logo-header"} */
|
||||
class Block_5667056256065abd4628322_48379023 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'logo-header' =>
|
||||
array (
|
||||
0 => 'Block_5667056256065abd4628322_48379023',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "logo-header"} */
|
||||
/* {block "email-title"} */
|
||||
class Block_19819752006065abd462d3f7_74233657 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'email-title' =>
|
||||
array (
|
||||
0 => 'Block_19819752006065abd462d3f7_74233657',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "email-title"} */
|
||||
/* {block "image-header"} */
|
||||
class Block_10048311766065abd4631173_57373297 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'image-header' =>
|
||||
array (
|
||||
0 => 'Block_10048311766065abd4631173_57373297',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td class="bodyContent" style="padding-bottom: 20px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #505050;font-family: Helvetica;font-size: 16px;line-height: 150%;padding-top: 20px;text-align: left;border-collapse: collapse !important;">
|
||||
<?php $_block_plugin10 = isset($_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin10, 'storeMediaDataAccess'))) {
|
||||
throw new SmartyException('block tag \'local_media\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('local_media', array('type'=>"banner"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin10->storeMediaDataAccess(array('type'=>"banner"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<img class="bodyImage" src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['MEDIA_URL']->value,$_smarty_tpl);?>
|
||||
" alt="" border="0" style="border: 0px none;border-color: ;border-style: none;border-width: 0px;margin: 0;padding: 0;line-height: 100%;outline: none;text-decoration: none;display: inline;max-width: 400px;">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin10->storeMediaDataAccess(array('type'=>"banner"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "image-header"} */
|
||||
/* {block "email-content"} */
|
||||
class Block_19705247016065abd463a722_97506736 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'email-content' =>
|
||||
array (
|
||||
0 => 'Block_19705247016065abd463a722_97506736',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "email-content"} */
|
||||
}
|
||||
@@ -0,0 +1,535 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:01
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/custom/category.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abade45b41_62636998',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2284a4d4e0ff30aa4b427c0294f69d4f9d0faede' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/custom/category.html',
|
||||
1 => 1616676487,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
'file:includes/meta-seo.html' => 1,
|
||||
'file:includes/toolbar.html' => 2,
|
||||
'file:includes/single-product.html' => 1,
|
||||
'file:includes/menu.html' => 1,
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abade45b41_62636998 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_loadInheritance();
|
||||
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_12726999826065abadd4b3d4_92190839', "init");
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_10699187946065abadd56c18_22900388', "body-class");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_13804676766065abadd59f04_22674133', 'no-return-functions');
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_5284431016065abadd72b10_21781523', "meta");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_4419129056065abadd83312_30568387', "feeds");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_5309418526065abadd93d05_76336540', 'no-return-functions');
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_8519406996065abaddaab18_64327578', "main-content");
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_2435985986065abade36fb3_26316912', "stylesheet");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_3192310406065abade3c4b3_25185789', "after-javascript-include");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_8095580176065abade41800_48369597', "javascript-initialization");
|
||||
?>
|
||||
|
||||
<?php $_smarty_tpl->inheritance->endChild($_smarty_tpl, 'layout.tpl');
|
||||
}
|
||||
/* {block "init"} */
|
||||
class Block_12726999826065abadd4b3d4_92190839 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'init' =>
|
||||
array (
|
||||
0 => 'Block_12726999826065abadd4b3d4_92190839',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['category'][0], array( array('attr'=>"id"),$_smarty_tpl ) );
|
||||
$_prefixVariable1 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('category_id', $_prefixVariable1);
|
||||
}
|
||||
}
|
||||
/* {/block "init"} */
|
||||
/* {block "body-class"} */
|
||||
class Block_10699187946065abadd56c18_22900388 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'body-class' =>
|
||||
array (
|
||||
0 => 'Block_10699187946065abadd56c18_22900388',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
page-category<?php
|
||||
}
|
||||
}
|
||||
/* {/block "body-class"} */
|
||||
/* {block 'no-return-functions'} */
|
||||
class Block_13804676766065abadd59f04_22674133 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'no-return-functions' =>
|
||||
array (
|
||||
0 => 'Block_13804676766065abadd59f04_22674133',
|
||||
),
|
||||
);
|
||||
public $append = 'true';
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['category_id']->value) {?>
|
||||
<?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin1, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"category.seo.title",'type'=>"category",'id'=>$_smarty_tpl->tpl_vars['category_id']->value,'limit'=>"1"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin1->theliaLoop(array('name'=>"category.seo.title",'type'=>"category",'id'=>$_smarty_tpl->tpl_vars['category_id']->value,'limit'=>"1"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_smarty_tpl->_assignInScope('page_title', $_smarty_tpl->tpl_vars['META_TITLE']->value);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin1->theliaLoop(array('name'=>"category.seo.title",'type'=>"category",'id'=>$_smarty_tpl->tpl_vars['category_id']->value,'limit'=>"1"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* {/block 'no-return-functions'} */
|
||||
/* {block "meta"} */
|
||||
class Block_5284431016065abadd72b10_21781523 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'meta' =>
|
||||
array (
|
||||
0 => 'Block_5284431016065abadd72b10_21781523',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['category_id']->value) {?>
|
||||
<?php $_block_plugin2 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin2, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"category.seo.meta",'type'=>"category",'id'=>$_smarty_tpl->tpl_vars['category_id']->value,'limit'=>"1"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin2->theliaLoop(array('name'=>"category.seo.meta",'type'=>"category",'id'=>$_smarty_tpl->tpl_vars['category_id']->value,'limit'=>"1"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_smarty_tpl->_subTemplateRender("file:includes/meta-seo.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
||||
?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin2->theliaLoop(array('name'=>"category.seo.meta",'type'=>"category",'id'=>$_smarty_tpl->tpl_vars['category_id']->value,'limit'=>"1"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* {/block "meta"} */
|
||||
/* {block "feeds"} */
|
||||
class Block_4419129056065abadd83312_30568387 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'feeds' =>
|
||||
array (
|
||||
0 => 'Block_4419129056065abadd83312_30568387',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['category_id']->value) {?>
|
||||
<link rel="alternate" type="application/rss+xml" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>'All products in'),$_smarty_tpl ) );?>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['category'][0], array( array('attr'=>'title'),$_smarty_tpl ) );?>
|
||||
" href="<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('attr'=>"locale"),$_smarty_tpl ) );
|
||||
$_prefixVariable2 = ob_get_clean();
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['category'][0], array( array('attr'=>"id"),$_smarty_tpl ) );
|
||||
$_prefixVariable3 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/feed/catalog/%lang/%category_id",'lang'=>$_prefixVariable2,'category_id'=>$_prefixVariable3),$_smarty_tpl ) );?>
|
||||
" />
|
||||
<?php }
|
||||
}
|
||||
}
|
||||
/* {/block "feeds"} */
|
||||
/* {block 'no-return-functions'} */
|
||||
class Block_5309418526065abadd93d05_76336540 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'no-return-functions' =>
|
||||
array (
|
||||
0 => 'Block_5309418526065abadd93d05_76336540',
|
||||
),
|
||||
);
|
||||
public $append = 'true';
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['category_id']->value) {?>
|
||||
<?php $_smarty_tpl->_assignInScope('breadcrumbs', array());?>
|
||||
<?php $_block_plugin3 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin3, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"category_path",'type'=>"category-path",'category'=>$_smarty_tpl->tpl_vars['category_id']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin3->theliaLoop(array('name'=>"category_path",'type'=>"category-path",'category'=>$_smarty_tpl->tpl_vars['category_id']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);
|
||||
$_prefixVariable4 = ob_get_clean();
|
||||
ob_start();
|
||||
echo $_smarty_tpl->tpl_vars['URL']->value;
|
||||
$_prefixVariable5 = ob_get_clean();
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['breadcrumbs']) ? $_smarty_tpl->tpl_vars['breadcrumbs']->value : array();
|
||||
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array[] = array('title'=>$_prefixVariable4,'url'=>$_prefixVariable5);
|
||||
$_smarty_tpl->_assignInScope('breadcrumbs', $_tmp_array);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin3->theliaLoop(array('name'=>"category_path",'type'=>"category-path",'category'=>$_smarty_tpl->tpl_vars['category_id']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* {/block 'no-return-functions'} */
|
||||
/* {block "main-content"} */
|
||||
class Block_8519406996065abaddaab18_64327578 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'main-content' =>
|
||||
array (
|
||||
0 => 'Block_8519406996065abaddaab18_64327578',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_GET['limit'])===null||$tmp==='' ? 8 : $tmp),$_smarty_tpl);
|
||||
$_prefixVariable6 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('limit', $_prefixVariable6);
|
||||
ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_GET['page'])===null||$tmp==='' ? 1 : $tmp),$_smarty_tpl);
|
||||
$_prefixVariable7 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('product_page', $_prefixVariable7);
|
||||
ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_GET['order'])===null||$tmp==='' ? 'alpha' : $tmp),$_smarty_tpl);
|
||||
$_prefixVariable8 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('product_order', $_prefixVariable8);?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"category.top",'category'=>((string)$_smarty_tpl->tpl_vars['category_id']->value)),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<div class="main row">
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"category.main-top",'category'=>((string)$_smarty_tpl->tpl_vars['category_id']->value)),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<article class="col-main col-md-12 col-md-push-0 <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_GET['mode'])===null||$tmp==='' ? "grid" : $tmp),$_smarty_tpl);?>
|
||||
" role="main">
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"category.content-top",'category'=>((string)$_smarty_tpl->tpl_vars['category_id']->value)),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php if ($_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'category_display_detail') && $_smarty_tpl->tpl_vars['category_id']->value) {?>
|
||||
<section class="category-description">
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['category_id']->value,$_smarty_tpl);
|
||||
$_prefixVariable9 = ob_get_clean();
|
||||
$_block_plugin4 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin4, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"category.description",'type'=>"category",'id'=>$_prefixVariable9,'limit'=>"1"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin4->theliaLoop(array('name'=>"category.description",'type'=>"category",'id'=>$_prefixVariable9,'limit'=>"1"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<h1 id="main-label" class="page-header"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['category'][0], array( array('attr'=>"title"),$_smarty_tpl ) );?>
|
||||
</h1>
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);
|
||||
$_prefixVariable10 = ob_get_clean();
|
||||
$_block_plugin5 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin5, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"category.image",'type'=>"image",'source'=>"category",'source_id'=>$_prefixVariable10,'width'=>218,'height'=>146,'resize_mode'=>"borders"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin5->theliaLoop(array('name'=>"category.image",'type'=>"image",'source'=>"category",'source_id'=>$_prefixVariable10,'width'=>218,'height'=>146,'resize_mode'=>"borders"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<p><img itemprop="image" src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
|
||||
" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
"></p>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin5->theliaLoop(array('name'=>"category.image",'type'=>"image",'source'=>"category",'source_id'=>$_prefixVariable10,'width'=>218,'height'=>146,'resize_mode'=>"borders"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['DESCRIPTION']->value) {?>
|
||||
<div class="description">
|
||||
<?php echo $_smarty_tpl->tpl_vars['DESCRIPTION']->value;?>
|
||||
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['POSTSCRIPTUM']->value) {?>
|
||||
<small class="postscriptum">
|
||||
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['POSTSCRIPTUM']->value,$_smarty_tpl);?>
|
||||
|
||||
</small>
|
||||
<?php }?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin4->theliaLoop(array('name'=>"category.description",'type'=>"category",'id'=>$_prefixVariable9,'limit'=>"1"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</section>
|
||||
<hr/>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'category_display_subcategories')) {?>
|
||||
<?php $_block_plugin6 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin6, 'theliaIfLoop'))) {
|
||||
throw new SmartyException('block tag \'ifloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"subcategories"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin6->theliaIfLoop(array('rel'=>"subcategories"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<div class="block-links">
|
||||
<div class="block-content">
|
||||
<ul>
|
||||
<?php $_block_plugin7 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin7, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"subcategories",'type'=>"category",'parent'=>$_smarty_tpl->tpl_vars['category_id']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin7->theliaLoop(array('name'=>"subcategories",'type'=>"category",'parent'=>$_smarty_tpl->tpl_vars['category_id']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<li>
|
||||
<a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
|
||||
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</a>
|
||||
</li>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin7->theliaLoop(array('name'=>"subcategories",'type'=>"category",'parent'=>$_smarty_tpl->tpl_vars['category_id']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin6->theliaIfLoop(array('rel'=>"subcategories"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php }?>
|
||||
|
||||
<?php $_block_plugin8 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin8, 'theliaIfLoop'))) {
|
||||
throw new SmartyException('block tag \'ifloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"product_list"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin8->theliaIfLoop(array('rel'=>"product_list"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['count'][0], array( array('type'=>"product",'category'=>$_smarty_tpl->tpl_vars['category_id']->value),$_smarty_tpl ) );
|
||||
$_prefixVariable11 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('amount', $_prefixVariable11);?>
|
||||
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['amount']->value,$_smarty_tpl);
|
||||
$_prefixVariable12 = ob_get_clean();
|
||||
$_smarty_tpl->_subTemplateRender("file:includes/toolbar.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('toolbar'=>"top",'limit'=>$_smarty_tpl->tpl_vars['limit']->value,'order'=>$_smarty_tpl->tpl_vars['product_order']->value,'amount'=>$_prefixVariable12), 0, false);
|
||||
?>
|
||||
|
||||
<div id="category-products">
|
||||
<div class="products-content">
|
||||
<ul class="list-unstyled row">
|
||||
<?php $_block_plugin9 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin9, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"product",'name'=>"product_list",'category'=>$_smarty_tpl->tpl_vars['category_id']->value,'limit'=>$_smarty_tpl->tpl_vars['limit']->value,'page'=>$_smarty_tpl->tpl_vars['product_page']->value,'order'=>$_smarty_tpl->tpl_vars['product_order']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin9->theliaLoop(array('type'=>"product",'name'=>"product_list",'category'=>$_smarty_tpl->tpl_vars['category_id']->value,'limit'=>$_smarty_tpl->tpl_vars['limit']->value,'page'=>$_smarty_tpl->tpl_vars['product_page']->value,'order'=>$_smarty_tpl->tpl_vars['product_order']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_smarty_tpl->_subTemplateRender("file:includes/single-product.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('product_id'=>$_smarty_tpl->tpl_vars['ID']->value,'hasBtn'=>true,'hasDescription'=>true,'hasQuickView'=>true,'width'=>"218",'height'=>"146"), 0, false);
|
||||
?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin9->theliaLoop(array('type'=>"product",'name'=>"product_list",'category'=>$_smarty_tpl->tpl_vars['category_id']->value,'limit'=>$_smarty_tpl->tpl_vars['limit']->value,'page'=>$_smarty_tpl->tpl_vars['product_page']->value,'order'=>$_smarty_tpl->tpl_vars['product_order']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</ul>
|
||||
</div>
|
||||
</div><!-- /#category-products -->
|
||||
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['amount']->value,$_smarty_tpl);
|
||||
$_prefixVariable13 = ob_get_clean();
|
||||
$_smarty_tpl->_subTemplateRender("file:includes/toolbar.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('toolbar'=>"bottom",'amount'=>$_prefixVariable13), 0, true);
|
||||
?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin8->theliaIfLoop(array('rel'=>"product_list"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php $_block_plugin10 = isset($_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin10, 'theliaElseloop'))) {
|
||||
throw new SmartyException('block tag \'elseloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elseloop', array('rel'=>"product_list"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin10->theliaElseloop(array('rel'=>"product_list"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<div class="alert alert-warning">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"No products available in this category"),$_smarty_tpl ) );?>
|
||||
|
||||
</div>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin10->theliaElseloop(array('rel'=>"product_list"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"category.content-bottom",'category'=>((string)$_smarty_tpl->tpl_vars['category_id']->value)),$_smarty_tpl ) );?>
|
||||
|
||||
</article>
|
||||
|
||||
<!-- TheCoreDev le 25/03/2021 : On ne veut pas de la barre latérale
|
||||
<aside class="col-left col-md-3 col-md-pull-9" role="complementary" itemscope itemtype="http://schema.org/WPSideBar">
|
||||
<?php $_smarty_tpl->_subTemplateRender("file:includes/menu.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
||||
?>
|
||||
</aside>
|
||||
//-->
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"category.main-bottom",'category'=>((string)$_smarty_tpl->tpl_vars['category_id']->value)),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
</div>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"category.bottom",'category'=>((string)$_smarty_tpl->tpl_vars['category_id']->value)),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "main-content"} */
|
||||
/* {block "stylesheet"} */
|
||||
class Block_2435985986065abade36fb3_26316912 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'stylesheet' =>
|
||||
array (
|
||||
0 => 'Block_2435985986065abade36fb3_26316912',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"category.stylesheet"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "stylesheet"} */
|
||||
/* {block "after-javascript-include"} */
|
||||
class Block_3192310406065abade3c4b3_25185789 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'after-javascript-include' =>
|
||||
array (
|
||||
0 => 'Block_3192310406065abade3c4b3_25185789',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"category.after-javascript-include"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "after-javascript-include"} */
|
||||
/* {block "javascript-initialization"} */
|
||||
class Block_8095580176065abade41800_48369597 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'javascript-initialization' =>
|
||||
array (
|
||||
0 => 'Block_8095580176065abade41800_48369597',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"category.javascript-initialization"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "javascript-initialization"} */
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:26
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/PayPlugModule/templates/frontOffice/default/PayPlugModule/order-invoice-after-js-include.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abc6b17074_68690139',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'244c392d2623552f29ebde879c199c8e3f2dad89' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/PayPlugModule/templates/frontOffice/default/PayPlugModule/order-invoice-after-js-include.html',
|
||||
1 => 1613639139,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abc6b17074_68690139 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
echo '<script'; ?>
|
||||
type="text/javascript" src="https://api.payplug.com/js/1/form.latest.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
var payPlugModuleId = '<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['payPlugModuleId']->value,$_smarty_tpl);?>
|
||||
';
|
||||
|
||||
|
||||
var form = document.getElementById('form-cart-payment');
|
||||
form.addEventListener('submit', function (event) {
|
||||
var payPlugRadio = $('#payment_'+payPlugModuleId);
|
||||
if(payPlugRadio.is(':checked')) {
|
||||
event.preventDefault();
|
||||
|
||||
var form = $(this);
|
||||
var url = form.attr('action');
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: url,
|
||||
data: form.serialize(),
|
||||
}).success(function (data) {
|
||||
if (true === data.forceRedirect) {
|
||||
window.location.replace(data.paymentUrl);
|
||||
} else {
|
||||
Payplug.showPayment(data.paymentUrl);
|
||||
}
|
||||
}).fail(function (data) {
|
||||
var payPlugLi = payPlugRadio.parent().parent();
|
||||
console.log(payPlugLi);
|
||||
console.log(data.responseJSON.error);
|
||||
payPlugLi.prepend('<div class="alert alert-danger">Error : '+data.responseJSON.error+'</div>');
|
||||
})
|
||||
}
|
||||
});
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
><?php }
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:03
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookCart/templates/frontOffice/default/mini-cart.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab73468587_80024016',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'262029b04057dec7f89175d530c9a75ebcdced77' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookCart/templates/frontOffice/default/mini-cart.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab73468587_80024016 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_block_plugin15 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin15, 'theliaIfLoop'))) {
|
||||
throw new SmartyException('block tag \'ifloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"cartloop"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin15->theliaIfLoop(array('rel'=>"cartloop"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<li class="dropdown pull-right cart-not-empty cart-container">
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/cart"),$_smarty_tpl ) );?>
|
||||
" rel="nofollow" class="cart">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Cart",'d'=>"hookcart.fo.default"),$_smarty_tpl ) );?>
|
||||
<span class="badge"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['cart'][0], array( array('attr'=>"count_item"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
</a>
|
||||
<div class="dropdown-menu cart-content">
|
||||
<form id="form-cart-mini" action="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/order/delivery"),$_smarty_tpl ) );?>
|
||||
" method="post">
|
||||
<table class="table table-cart-mini">
|
||||
<colgroup>
|
||||
<col width="70">
|
||||
<col>
|
||||
<col width="100">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<?php $_smarty_tpl->_assignInScope('total_price', 0);?>
|
||||
<?php $_block_plugin16 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin16, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"cart",'name'=>"cartloop"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin16->theliaLoop(array('type'=>"cart",'name'=>"cartloop"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<tr>
|
||||
<td class="image">
|
||||
<?php $_block_plugin17 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin17, 'theliaIfLoop'))) {
|
||||
throw new SmartyException('block tag \'ifloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"pse-first-image"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin17->theliaIfLoop(array('rel'=>"pse-first-image"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_block_plugin18 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin18, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"product-sale-elements-image",'name'=>"pse-first-image",'product_sale_elements_id'=>$_smarty_tpl->tpl_vars['PRODUCT_SALE_ELEMENTS_ID']->value,'limit'=>"1"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin18->theliaLoop(array('type'=>"product-sale-elements-image",'name'=>"pse-first-image",'product_sale_elements_id'=>$_smarty_tpl->tpl_vars['PRODUCT_SALE_ELEMENTS_ID']->value,'limit'=>"1"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_block_plugin19 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin19, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"image",'name'=>"product-image",'id'=>$_smarty_tpl->tpl_vars['PRODUCT_IMAGE_ID']->value,'product'=>$_smarty_tpl->tpl_vars['PRODUCT_ID']->value,'limit'=>"1",'width'=>"118",'height'=>"60"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin19->theliaLoop(array('type'=>"image",'name'=>"product-image",'id'=>$_smarty_tpl->tpl_vars['PRODUCT_IMAGE_ID']->value,'product'=>$_smarty_tpl->tpl_vars['PRODUCT_ID']->value,'limit'=>"1",'width'=>"118",'height'=>"60"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_smarty_tpl->_assignInScope('product_image_url', $_smarty_tpl->tpl_vars['IMAGE_URL']->value);?>
|
||||
<img src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
|
||||
" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin19->theliaLoop(array('type'=>"image",'name'=>"product-image",'id'=>$_smarty_tpl->tpl_vars['PRODUCT_IMAGE_ID']->value,'product'=>$_smarty_tpl->tpl_vars['PRODUCT_ID']->value,'limit'=>"1",'width'=>"118",'height'=>"60"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin18->theliaLoop(array('type'=>"product-sale-elements-image",'name'=>"pse-first-image",'product_sale_elements_id'=>$_smarty_tpl->tpl_vars['PRODUCT_SALE_ELEMENTS_ID']->value,'limit'=>"1"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin17->theliaIfLoop(array('rel'=>"pse-first-image"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin20 = isset($_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin20, 'theliaElseloop'))) {
|
||||
throw new SmartyException('block tag \'elseloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elseloop', array('rel'=>"pse-first-image"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin20->theliaElseloop(array('rel'=>"pse-first-image"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_block_plugin21 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin21, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"image",'name'=>"product-image",'product'=>$_smarty_tpl->tpl_vars['PRODUCT_ID']->value,'limit'=>"1",'width'=>"118",'height'=>"60"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin21->theliaLoop(array('type'=>"image",'name'=>"product-image",'product'=>$_smarty_tpl->tpl_vars['PRODUCT_ID']->value,'limit'=>"1",'width'=>"118",'height'=>"60"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<img src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
|
||||
" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin21->theliaLoop(array('type'=>"image",'name'=>"product-image",'product'=>$_smarty_tpl->tpl_vars['PRODUCT_ID']->value,'limit'=>"1",'width'=>"118",'height'=>"60"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin20->theliaElseloop(array('rel'=>"pse-first-image"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</td>
|
||||
<td class="product">
|
||||
<h3 class="name" style="margin:0">
|
||||
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
|
||||
</h3>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['token_url'][0], array( array('path'=>"/cart/delete/".((string)$_smarty_tpl->tpl_vars['ITEM_ID']->value)),$_smarty_tpl ) );?>
|
||||
" class="btn btn-remove" data-tip="tooltip" data-title="Delete" data-original-title=""><i class="fa fa-trash"></i> <span><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Remove",'d'=>"hookcart.fo.default"),$_smarty_tpl ) );?>
|
||||
</span></a>
|
||||
</td>
|
||||
<td class="unitprice text-center">
|
||||
<span class="qty"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['QUANTITY']->value,$_smarty_tpl);?>
|
||||
</span> X <span class="price" style="font-size:1em;"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['REAL_TAXED_PRICE']->value),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin16->theliaLoop(array('type'=>"cart",'name'=>"cartloop"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2" class="empty">
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/cart"),$_smarty_tpl ) );?>
|
||||
" role="button" class="btn btn-default btn-sm"><i class="fa fa-eye"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"View Cart",'d'=>"hookcart.fo.default"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/order/delivery"),$_smarty_tpl ) );?>
|
||||
" role="button" class="btn btn-primary btn-sm"><i class="fa fa-chevron-right"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Checkout",'d'=>"hookcart.fo.default"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
</td>
|
||||
<td class="total">
|
||||
<div class="total-price">
|
||||
<span class="price"><?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['cart'][0], array( array('attr'=>'total_taxed_price_without_discount'),$_smarty_tpl ) );
|
||||
$_prefixVariable5 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_prefixVariable5),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</li>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin15->theliaIfLoop(array('rel'=>"cartloop"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
$_block_plugin22 = isset($_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin22, 'theliaElseloop'))) {
|
||||
throw new SmartyException('block tag \'elseloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elseloop', array('rel'=>"cartloop"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin22->theliaElseloop(array('rel'=>"cartloop"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<li class="dropdown pull-right cart-container">
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/cart"),$_smarty_tpl ) );?>
|
||||
" rel="nofollow" class="cart">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Cart",'d'=>"hookcart.fo.default"),$_smarty_tpl ) );?>
|
||||
<span class="badge">0</span>
|
||||
</a>
|
||||
<div class="dropdown-menu cart-content">
|
||||
<p><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"You have no items in your shopping cart.",'d'=>"hookcart.fo.default"),$_smarty_tpl ) );?>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin22->theliaElseloop(array('rel'=>"cartloop"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:03
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookSearch/templates/frontOffice/default/main-navbar-secondary.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab73175446_56382599',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'26a60b38f1df274dd3edfe575662578ea34e3a14' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookSearch/templates/frontOffice/default/main-navbar-secondary.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab73175446_56382599 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><div class="search-container navbar-form navbar-left">
|
||||
<form id="form-search" action="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/search"),$_smarty_tpl ) );?>
|
||||
" method="get" role="search" aria-labelledby="search-label">
|
||||
<label id="search-label" class="sr-only" for="q"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Search a product",'d'=>"hooksearch.fo.default"),$_smarty_tpl ) );?>
|
||||
</label>
|
||||
<input type="search" name="q" id="q" placeholder="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Search...",'d'=>"hooksearch.fo.default"),$_smarty_tpl ) );?>
|
||||
" class="form-control" autocomplete="off" aria-required="true" required pattern=".{2,}" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Minimum 2 characters.",'d'=>"hooksearch.fo.default"),$_smarty_tpl ) );?>
|
||||
">
|
||||
</form>
|
||||
</div><?php }
|
||||
}
|
||||
850
.well-known/cache/dev/smarty/compile/28f9e05af79056ad72d916eaf3b4bc697352df0f_0.file.layout.tpl.php
vendored
Normal file
850
.well-known/cache/dev/smarty/compile/28f9e05af79056ad72d916eaf3b4bc697352df0f_0.file.layout.tpl.php
vendored
Normal file
@@ -0,0 +1,850 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:02
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/custom/layout.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab726f84d2_36007868',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'28f9e05af79056ad72d916eaf3b4bc697352df0f' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/custom/layout.tpl',
|
||||
1 => 1617199242,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
'file:misc/breadcrumb.tpl' => 1,
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab726f84d2_36007868 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_loadInheritance();
|
||||
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
|
||||
?>
|
||||
<!doctype html>
|
||||
<!--
|
||||
______ __ __ ______ __ __ ______
|
||||
/\__ _\ /\ \_\ \ /\ ___\ /\ \ /\ \ /\ __ \
|
||||
\/_/\ \/ \ \ __ \ \ \ __\ \ \ \____ \ \ \ \ \ __ \
|
||||
\ \_\ \ \_\ \_\ \ \_____\ \ \_____\ \ \_\ \ \_\ \_\
|
||||
\/_/ \/_/\/_/ \/_____/ \/_____/ \/_/ \/_/\/_/
|
||||
|
||||
|
||||
Copyright (c) OpenStudio
|
||||
email : info@thelia.net
|
||||
web : http://www.thelia.net
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the
|
||||
GNU General Public License : http://www.gnu.org/licenses/
|
||||
-->
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['declare_assets'][0], array( array('directory'=>'assets/dist'),$_smarty_tpl ) );?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['default_translation_domain'][0], array( array('domain'=>'fo.custom'),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->smarty->ext->configLoad->_loadConfigFile($_smarty_tpl, 'variables.conf', null, 0);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1091729366065ab725ccb32_95059306', "init");
|
||||
?>
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_16195695326065ab725cf9f6_59177611', "no-return-functions");
|
||||
?>
|
||||
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_name"),$_smarty_tpl ) );
|
||||
$_prefixVariable24 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('store_name', $_prefixVariable24);
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_description"),$_smarty_tpl ) );
|
||||
$_prefixVariable25 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('store_description', $_prefixVariable25);
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('attr'=>"code"),$_smarty_tpl ) );
|
||||
$_prefixVariable26 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('lang_code', $_prefixVariable26);
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('attr'=>"locale"),$_smarty_tpl ) );
|
||||
$_prefixVariable27 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('lang_locale', $_prefixVariable27);
|
||||
if (!$_smarty_tpl->tpl_vars['store_name']->value) {
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>'Thelia V2'),$_smarty_tpl ) );
|
||||
$_prefixVariable28 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('store_name', $_prefixVariable28);
|
||||
}
|
||||
if (!$_smarty_tpl->tpl_vars['store_description']->value) {
|
||||
ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['store_name']->value,$_smarty_tpl);
|
||||
$_prefixVariable29 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('store_description', $_prefixVariable29);
|
||||
}?>
|
||||
|
||||
<!--[if lt IE 7 ]><html class="no-js oldie ie6" lang="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['lang_code']->value,$_smarty_tpl);?>
|
||||
"> <![endif]-->
|
||||
<!--[if IE 7 ]><html class="no-js oldie ie7" lang="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['lang_code']->value,$_smarty_tpl);?>
|
||||
"> <![endif]-->
|
||||
<!--[if IE 8 ]><html class="no-js oldie ie8" lang="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['lang_code']->value,$_smarty_tpl);?>
|
||||
"> <![endif]-->
|
||||
<!--[if (gte IE 9)|!(IE)]><!--><html lang="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['lang_code']->value,$_smarty_tpl);?>
|
||||
" class="no-js"> <!--<![endif]-->
|
||||
<head>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.head-top"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>(function(H) { H.className=H.className.replace(/\bno-js\b/,'js') } )(document.documentElement);<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<meta charset="utf-8">
|
||||
|
||||
<title><?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_4720107776065ab725f6f13_90408361', "page-title");
|
||||
?>
|
||||
</title>
|
||||
|
||||
<meta name="generator" content="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>'Thelia V2'),$_smarty_tpl ) );?>
|
||||
">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_15554598016065ab726119d6_94852796', "meta");
|
||||
?>
|
||||
|
||||
|
||||
<?php $_block_plugin32 = isset($_smarty_tpl->smarty->registered_plugins['block']['stylesheets'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['stylesheets'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin32, 'blockStylesheets'))) {
|
||||
throw new SmartyException('block tag \'stylesheets\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('stylesheets', array('file'=>'assets/dist/css/thelia.min.css'));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin32->blockStylesheets(array('file'=>'assets/dist/css/thelia.min.css'), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<link rel="stylesheet" href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['asset_url']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin32->blockStylesheets(array('file'=>'assets/dist/css/thelia.min.css'), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.stylesheet"),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_20409510806065ab726261e9_12441115', "stylesheet");
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<!--[if lt IE 11]>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['image'][0], array( array('file'=>'assets/dist/img/favicon.ico'),$_smarty_tpl ) );?>
|
||||
" />
|
||||
<![endif]-->
|
||||
|
||||
<?php $_block_plugin33 = isset($_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin33, 'storeMediaDataAccess'))) {
|
||||
throw new SmartyException('block tag \'local_media\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('local_media', array('type'=>"favicon",'width'=>32,'height'=>32));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin33->storeMediaDataAccess(array('type'=>"favicon",'width'=>32,'height'=>32), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<link rel="icon" type="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['MEDIA_MIME_TYPE']->value,$_smarty_tpl);?>
|
||||
" href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['MEDIA_URL']->value,$_smarty_tpl);?>
|
||||
" />
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin33->storeMediaDataAccess(array('type'=>"favicon",'width'=>32,'height'=>32), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>'All products'),$_smarty_tpl ) );?>
|
||||
" href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/feed/catalog/%lang",'lang'=>$_smarty_tpl->tpl_vars['lang_locale']->value),$_smarty_tpl ) );?>
|
||||
" />
|
||||
<link rel="alternate" type="application/rss+xml" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>'All contents'),$_smarty_tpl ) );?>
|
||||
" href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/feed/content/%lang",'lang'=>$_smarty_tpl->tpl_vars['lang_locale']->value),$_smarty_tpl ) );?>
|
||||
" />
|
||||
<link rel="alternate" type="application/rss+xml" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>'All brands'),$_smarty_tpl ) );?>
|
||||
" href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/feed/brand/%lang",'lang'=>$_smarty_tpl->tpl_vars['lang_locale']->value),$_smarty_tpl ) );?>
|
||||
" />
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_21375111776065ab7263f015_97601327', "feeds");
|
||||
?>
|
||||
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<?php echo '<script'; ?>
|
||||
src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php $_block_plugin34 = isset($_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin34, 'blockJavascripts'))) {
|
||||
throw new SmartyException('block tag \'javascripts\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('javascripts', array('file'=>"assets/dist/js/vendors/html5shiv.min.js"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin34->blockJavascripts(array('file'=>"assets/dist/js/vendors/html5shiv.min.js"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php echo '<script'; ?>
|
||||
>window.html5 || document.write('<?php echo '<script'; ?>
|
||||
src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['asset_url']->value,$_smarty_tpl);?>
|
||||
"><\/script>');<?php echo '</script'; ?>
|
||||
>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin34->blockJavascripts(array('file'=>"assets/dist/js/vendors/html5shiv.min.js"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php $_block_plugin35 = isset($_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin35, 'blockJavascripts'))) {
|
||||
throw new SmartyException('block tag \'javascripts\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('javascripts', array('file'=>"assets/dist/js/vendors/respond.min.js"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin35->blockJavascripts(array('file'=>"assets/dist/js/vendors/respond.min.js"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php echo '<script'; ?>
|
||||
>window.respond || document.write('<?php echo '<script'; ?>
|
||||
src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['asset_url']->value,$_smarty_tpl);?>
|
||||
"><\/script>');<?php echo '</script'; ?>
|
||||
>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin35->blockJavascripts(array('file'=>"assets/dist/js/vendors/respond.min.js"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<![endif]-->
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.head-bottom"),$_smarty_tpl ) );?>
|
||||
|
||||
</head>
|
||||
<body class="<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_18066713406065ab7264cf01_48350547', "body-class");
|
||||
?>
|
||||
" itemscope itemtype="http://schema.org/WebPage">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.body-top"),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<!-- Accessibility -->
|
||||
<a class="sr-only" href="#content"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Skip to content"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
|
||||
<div class="page" role="document">
|
||||
|
||||
<div class="header-container" itemscope itemtype="http://schema.org/WPHeader">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.header-top"),$_smarty_tpl ) );?>
|
||||
|
||||
<div class="navbar navbar-default navbar-secondary" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||
<div class="container">
|
||||
|
||||
<div class="navbar-header">
|
||||
<!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-secondary">
|
||||
<span class="sr-only"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Toggle navigation"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand visible-xs" href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['navigate'][0], array( array('to'=>"index"),$_smarty_tpl ) );?>
|
||||
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['store_name']->value,$_smarty_tpl);?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<?php $_block_plugin36 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin36, 'ifHook'))) {
|
||||
throw new SmartyException('block tag \'ifhook\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifhook', array('rel'=>"main.navbar-secondary"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin36->ifHook(array('rel'=>"main.navbar-secondary"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<nav class="navbar-collapse collapse nav-secondary" role="navigation" aria-label="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Secondary Navigation"),$_smarty_tpl ) );?>
|
||||
">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.navbar-secondary"),$_smarty_tpl ) );?>
|
||||
|
||||
</nav>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin36->ifHook(array('rel'=>"main.navbar-secondary"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<header class="container" role="banner">
|
||||
<div class="header row">
|
||||
<h1 class="logo container hidden-xs">
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['navigate'][0], array( array('to'=>"index"),$_smarty_tpl ) );?>
|
||||
" title="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['store_name']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_plugin37 = isset($_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin37, 'storeMediaDataAccess'))) {
|
||||
throw new SmartyException('block tag \'local_media\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('local_media', array('type'=>"logo"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin37->storeMediaDataAccess(array('type'=>"logo"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<img src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['MEDIA_URL']->value,$_smarty_tpl);?>
|
||||
" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['store_name']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin37->storeMediaDataAccess(array('type'=>"logo"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</a>
|
||||
</h1>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.navbar-primary"),$_smarty_tpl ) );?>
|
||||
|
||||
</div>
|
||||
</header><!-- /.header -->
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.header-bottom"),$_smarty_tpl ) );?>
|
||||
|
||||
</div><!-- /.header-container -->
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.header-bottom"),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<main class="main-container" role="main">
|
||||
<div class="container">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.content-top"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_4678684456065ab72674c75_06705521', "breadcrumb");
|
||||
?>
|
||||
|
||||
<div id="content"><?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_5758541226065ab72679bb1_07045893', "main-content");
|
||||
?>
|
||||
</div>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.content-bottom"),$_smarty_tpl ) );?>
|
||||
|
||||
</div><!-- /.container -->
|
||||
</main><!-- /.main-container -->
|
||||
|
||||
<section class="footer-container" itemscope itemtype="http://schema.org/WPFooter">
|
||||
|
||||
<?php $_block_plugin38 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin38, 'ifHook'))) {
|
||||
throw new SmartyException('block tag \'ifhook\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifhook', array('rel'=>"main.footer-top"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin38->ifHook(array('rel'=>"main.footer-top"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<section class="footer-block">
|
||||
<div class="container">
|
||||
<div class="blocks row">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.footer-top"),$_smarty_tpl ) );?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin38->ifHook(array('rel'=>"main.footer-top"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin39 = isset($_smarty_tpl->smarty->registered_plugins['block']['elsehook'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elsehook'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin39, 'elseHook'))) {
|
||||
throw new SmartyException('block tag \'elsehook\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elsehook', array('rel'=>"main.footer-top"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin39->elseHook(array('rel'=>"main.footer-top"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<!--
|
||||
<section class="footer-banner">
|
||||
<div class="container">
|
||||
<div class="banner row banner-col-3">
|
||||
<div class="col col-sm-4">
|
||||
<span class="fa fa-truck fa-flip-horizontal"></span>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Free shipping"),$_smarty_tpl ) );?>
|
||||
<small><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Orders over "."$"."50"),$_smarty_tpl ) );?>
|
||||
</small>
|
||||
</div>
|
||||
<div class="col col-sm-4">
|
||||
<span class="fa fa-credit-card"></span>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Secure payment"),$_smarty_tpl ) );?>
|
||||
<small><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Multi-payment platform"),$_smarty_tpl ) );?>
|
||||
</small>
|
||||
</div>
|
||||
<div class="col col-sm-4">
|
||||
<span class="fa fa-info"></span>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Need help ?"),$_smarty_tpl ) );?>
|
||||
<small><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Questions ? See our F.A.Q."),$_smarty_tpl ) );?>
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
//-->
|
||||
<!-- /.footer-banner -->
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin39->elseHook(array('rel'=>"main.footer-top"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php $_block_plugin40 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin40, 'ifHook'))) {
|
||||
throw new SmartyException('block tag \'ifhook\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifhook', array('rel'=>"main.footer-body"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin40->ifHook(array('rel'=>"main.footer-body"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<section class="footer-block">
|
||||
<div class="container">
|
||||
<div class="blocks row">
|
||||
<?php $_block_plugin41 = isset($_smarty_tpl->smarty->registered_plugins['block']['hookblock'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['hookblock'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin41, 'processHookBlock'))) {
|
||||
throw new SmartyException('block tag \'hookblock\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('hookblock', array('name'=>"main.footer-body",'fields'=>"id,class,title,content"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin41->processHookBlock(array('name'=>"main.footer-body",'fields'=>"id,class,title,content"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_block_plugin42 = isset($_smarty_tpl->smarty->registered_plugins['block']['forhook'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['forhook'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin42, 'processForHookBlock'))) {
|
||||
throw new SmartyException('block tag \'forhook\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('forhook', array('rel'=>"main.footer-body"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin42->processForHookBlock(array('rel'=>"main.footer-body"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<div class="col col-sm-3">
|
||||
<section <?php if ($_smarty_tpl->tpl_vars['id']->value) {?> id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['id']->value,$_smarty_tpl);?>
|
||||
"<?php }?> class="block <?php if ($_smarty_tpl->tpl_vars['class']->value) {?> block-<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['class']->value,$_smarty_tpl);
|
||||
}?>">
|
||||
<div class="block-heading"><h3 class="block-title"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['title']->value,$_smarty_tpl);?>
|
||||
</h3></div>
|
||||
<div class="block-content">
|
||||
<?php echo $_smarty_tpl->tpl_vars['content']->value;?>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin42->processForHookBlock(array('rel'=>"main.footer-body"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin41->processHookBlock(array('name'=>"main.footer-body",'fields'=>"id,class,title,content"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin40->ifHook(array('rel'=>"main.footer-body"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php $_block_plugin43 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin43, 'ifHook'))) {
|
||||
throw new SmartyException('block tag \'ifhook\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifhook', array('rel'=>"main.footer-bottom"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin43->ifHook(array('rel'=>"main.footer-bottom"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<footer class="footer-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="info row">
|
||||
<div class="col-lg-9">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.footer-bottom"),$_smarty_tpl ) );?>
|
||||
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
<section class="copyright"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Copyright"),$_smarty_tpl ) );?>
|
||||
© <time datetime="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(date('Y-m-d'),$_smarty_tpl);?>
|
||||
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(date('Y'),$_smarty_tpl);?>
|
||||
</time> <a href="http://thelia.net" rel="external">Thelia</a></section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin43->ifHook(array('rel'=>"main.footer-bottom"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin44 = isset($_smarty_tpl->smarty->registered_plugins['block']['elsehook'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elsehook'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin44, 'elseHook'))) {
|
||||
throw new SmartyException('block tag \'elsehook\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elsehook', array('rel'=>"main.footer-bottom"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin44->elseHook(array('rel'=>"main.footer-bottom"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<footer class="footer-info" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="info row">
|
||||
<nav class="nav-footer col-lg-9" role="navigation">
|
||||
<ul class="list-unstyled list-inline">
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"information_folder_id"),$_smarty_tpl ) );
|
||||
$_prefixVariable30 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('folder_information', $_prefixVariable30);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['folder_information']->value) {?>
|
||||
<?php $_block_plugin45 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin45, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"footer_links",'type'=>"content",'folder'=>$_smarty_tpl->tpl_vars['folder_information']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin45->theliaLoop(array('name'=>"footer_links",'type'=>"content",'folder'=>$_smarty_tpl->tpl_vars['folder_information']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<li><a href="<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
|
||||
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</a></li>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin45->theliaLoop(array('name'=>"footer_links",'type'=>"content",'folder'=>$_smarty_tpl->tpl_vars['folder_information']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php }?>
|
||||
<li><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/contact"),$_smarty_tpl ) );?>
|
||||
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Contact Us"),$_smarty_tpl ) );?>
|
||||
</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<section class="copyright col-lg-3"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Copyright"),$_smarty_tpl ) );?>
|
||||
© <time datetime="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(date('Y-m-d'),$_smarty_tpl);?>
|
||||
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(date('Y'),$_smarty_tpl);?>
|
||||
</time> <a href="http://thelia.net" rel="external">Thelia</a></section>
|
||||
</div>
|
||||
</div>
|
||||
</footer><!-- /.footer-info -->
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin44->elseHook(array('rel'=>"main.footer-bottom"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
</section><!-- /.footer-container -->
|
||||
|
||||
</div><!-- /.page -->
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_14858263076065ab726d1443_99229600', "before-javascript-include");
|
||||
?>
|
||||
|
||||
<!-- JavaScript -->
|
||||
|
||||
<!-- Jquery -->
|
||||
<!--[if lt IE 9]><?php echo '<script'; ?>
|
||||
src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"><?php echo '</script'; ?>
|
||||
> <![endif]-->
|
||||
<!--[if (gte IE 9)|!(IE)]><!--><?php echo '<script'; ?>
|
||||
src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"><?php echo '</script'; ?>
|
||||
><!--<![endif]-->
|
||||
<?php $_block_plugin46 = isset($_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin46, 'blockJavascripts'))) {
|
||||
throw new SmartyException('block tag \'javascripts\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('javascripts', array('file'=>"assets/dist/js/vendors/jquery.min.js"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin46->blockJavascripts(array('file'=>"assets/dist/js/vendors/jquery.min.js"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php echo '<script'; ?>
|
||||
>window.jQuery || document.write('<?php echo '<script'; ?>
|
||||
src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['asset_url']->value,$_smarty_tpl);?>
|
||||
"><\/script>');<?php echo '</script'; ?>
|
||||
>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin46->blockJavascripts(array('file'=>"assets/dist/js/vendors/jquery.min.js"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
src="//ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/jquery.validate.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php if ($_smarty_tpl->tpl_vars['lang_code']->value != 'en') {?>
|
||||
<?php echo '<script'; ?>
|
||||
src="//ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/localization/messages_<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['lang_code']->value,$_smarty_tpl);?>
|
||||
.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php }?>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php $_block_plugin47 = isset($_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin47, 'blockJavascripts'))) {
|
||||
throw new SmartyException('block tag \'javascripts\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('javascripts', array('file'=>"assets/dist/js/vendors/bootstrap.min.js"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin47->blockJavascripts(array('file'=>"assets/dist/js/vendors/bootstrap.min.js"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php echo '<script'; ?>
|
||||
>if(typeof($.fn.modal) === 'undefined') { document.write('<?php echo '<script'; ?>
|
||||
src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['asset_url']->value,$_smarty_tpl);?>
|
||||
"><\/script>'); }<?php echo '</script'; ?>
|
||||
>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin47->blockJavascripts(array('file'=>"assets/dist/js/vendors/bootstrap.min.js"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php $_block_plugin48 = isset($_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin48, 'blockJavascripts'))) {
|
||||
throw new SmartyException('block tag \'javascripts\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('javascripts', array('file'=>"assets/dist/js/vendors/bootbox.js"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin48->blockJavascripts(array('file'=>"assets/dist/js/vendors/bootbox.js"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php echo '<script'; ?>
|
||||
src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['asset_url']->value,$_smarty_tpl);?>
|
||||
"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin48->blockJavascripts(array('file'=>"assets/dist/js/vendors/bootbox.js"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.after-javascript-include"),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_12336376466065ab726e62a5_99923882', "after-javascript-include");
|
||||
?>
|
||||
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.javascript-initialization"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
// fix path for addCartMessage
|
||||
// if you use '/' in your URL rewriting, the cart message is not displayed
|
||||
// addCartMessageUrl is used in thelia.js to update the mini-cart content
|
||||
var addCartMessageUrl = "<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>'ajax/addCartMessage'),$_smarty_tpl ) );?>
|
||||
";
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_16922776136065ab726ecf73_42526492', "javascript-initialization");
|
||||
?>
|
||||
|
||||
|
||||
<!-- Custom scripts -->
|
||||
<?php echo '<script'; ?>
|
||||
src="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['javascript'][0], array( array('file'=>'assets/dist/js/thelia.min.js'),$_smarty_tpl ) );?>
|
||||
"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"main.body-bottom"),$_smarty_tpl ) );?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
/* {block "init"} */
|
||||
class Block_1091729366065ab725ccb32_95059306 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'init' =>
|
||||
array (
|
||||
0 => 'Block_1091729366065ab725ccb32_95059306',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "init"} */
|
||||
/* {block "no-return-functions"} */
|
||||
class Block_16195695326065ab725cf9f6_59177611 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'no-return-functions' =>
|
||||
array (
|
||||
0 => 'Block_16195695326065ab725cf9f6_59177611',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "no-return-functions"} */
|
||||
/* {block "page-title"} */
|
||||
class Block_4720107776065ab725f6f13_90408361 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'page-title' =>
|
||||
array (
|
||||
0 => 'Block_4720107776065ab725f6f13_90408361',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['page_title']->value) {
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['page_title']->value,$_smarty_tpl);
|
||||
} elseif ($_smarty_tpl->tpl_vars['breadcrumbs']->value) {
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, array_reverse($_smarty_tpl->tpl_vars['breadcrumbs']->value), 'breadcrumb');
|
||||
if ($_from !== null) {
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['breadcrumb']->value) {
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape(htmlspecialchars_decode($_smarty_tpl->tpl_vars['breadcrumb']->value['title'], ENT_QUOTES),$_smarty_tpl);?>
|
||||
- <?php
|
||||
}
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['store_name']->value,$_smarty_tpl);
|
||||
} else {
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['store_name']->value,$_smarty_tpl);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* {/block "page-title"} */
|
||||
/* {block "meta"} */
|
||||
class Block_15554598016065ab726119d6_94852796 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'meta' =>
|
||||
array (
|
||||
0 => 'Block_15554598016065ab726119d6_94852796',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/core/vendor/smarty/smarty/libs/plugins/modifier.truncate.php','function'=>'smarty_modifier_truncate',),));
|
||||
?>
|
||||
|
||||
<meta name="description" content="<?php if ($_smarty_tpl->tpl_vars['page_description']->value) {
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['page_description']->value,$_smarty_tpl);
|
||||
} else {
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape(smarty_modifier_truncate(preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['store_description']->value),120),$_smarty_tpl);
|
||||
}?>">
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "meta"} */
|
||||
/* {block "stylesheet"} */
|
||||
class Block_20409510806065ab726261e9_12441115 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'stylesheet' =>
|
||||
array (
|
||||
0 => 'Block_20409510806065ab726261e9_12441115',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "stylesheet"} */
|
||||
/* {block "feeds"} */
|
||||
class Block_21375111776065ab7263f015_97601327 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'feeds' =>
|
||||
array (
|
||||
0 => 'Block_21375111776065ab7263f015_97601327',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "feeds"} */
|
||||
/* {block "body-class"} */
|
||||
class Block_18066713406065ab7264cf01_48350547 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'body-class' =>
|
||||
array (
|
||||
0 => 'Block_18066713406065ab7264cf01_48350547',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "body-class"} */
|
||||
/* {block "breadcrumb"} */
|
||||
class Block_4678684456065ab72674c75_06705521 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'breadcrumb' =>
|
||||
array (
|
||||
0 => 'Block_4678684456065ab72674c75_06705521',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_subTemplateRender("file:misc/breadcrumb.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
||||
}
|
||||
}
|
||||
/* {/block "breadcrumb"} */
|
||||
/* {block "main-content"} */
|
||||
class Block_5758541226065ab72679bb1_07045893 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'main-content' =>
|
||||
array (
|
||||
0 => 'Block_5758541226065ab72679bb1_07045893',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "main-content"} */
|
||||
/* {block "before-javascript-include"} */
|
||||
class Block_14858263076065ab726d1443_99229600 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'before-javascript-include' =>
|
||||
array (
|
||||
0 => 'Block_14858263076065ab726d1443_99229600',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "before-javascript-include"} */
|
||||
/* {block "after-javascript-include"} */
|
||||
class Block_12336376466065ab726e62a5_99923882 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'after-javascript-include' =>
|
||||
array (
|
||||
0 => 'Block_12336376466065ab726e62a5_99923882',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "after-javascript-include"} */
|
||||
/* {block "javascript-initialization"} */
|
||||
class Block_16922776136065ab726ecf73_42526492 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'javascript-initialization' =>
|
||||
array (
|
||||
0 => 'Block_16922776136065ab726ecf73_42526492',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "javascript-initialization"} */
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:03
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookNewsletter/templates/frontOffice/default/main-footer-body.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab7387b226_98570016',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2cd76feb500d170f904cba8423656b9df4941571' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookNewsletter/templates/frontOffice/default/main-footer-body.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab7387b226_98570016 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><p id="newsletter-describe"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Sign up to receive our latest news.",'d'=>"hooknewsletter.fo.default"),$_smarty_tpl ) );?>
|
||||
</p>
|
||||
<?php $_block_plugin32 = isset($_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin32, 'generateForm'))) {
|
||||
throw new SmartyException('block tag \'form\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form', array('name'=>"thelia.front.newsletter"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin32->generateForm(array('name'=>"thelia.front.newsletter"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<form id="form-newsletter-mini" class="form-inline" action="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/newsletter"),$_smarty_tpl ) );?>
|
||||
" method="post">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_hidden_fields'][0], array( array(),$_smarty_tpl ) );?>
|
||||
|
||||
<?php $_block_plugin33 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin33, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>"email"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin33->renderFormField(array('field'=>"email"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<div class="form-group">
|
||||
<label for="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
|
||||
-mini" class="sr-only"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Email address",'d'=>"hooknewsletter.fo.default"),$_smarty_tpl ) );?>
|
||||
</label>
|
||||
<input type="email" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
|
||||
" id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
|
||||
-mini" class="form-control" maxlength="255" placeholder="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Your email address",'d'=>"hooknewsletter.fo.default"),$_smarty_tpl ) );?>
|
||||
" aria-describedby="newsletter-describe" <?php if ($_smarty_tpl->tpl_vars['required']->value) {?> aria-required="true" required<?php }?> autocomplete="off">
|
||||
</div>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin33->renderFormField(array('field'=>"email"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<button type="submit" class="btn btn-subscribe btn-primary"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Subscribe",'d'=>"hooknewsletter.fo.default"),$_smarty_tpl ) );?>
|
||||
</button>
|
||||
</form>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin32->generateForm(array('name'=>"thelia.front.newsletter"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,276 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:02
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/includes/single-product.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abae6e7591_40086181',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'37ff30f41c88724a9ac8482e7d3464c0b29d9fd7' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/includes/single-product.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abae6e7591_40086181 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><li class="item <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_smarty_tpl->tpl_vars['colClass']->value)===null||$tmp==='' ? "col-md-3" : $tmp),$_smarty_tpl);?>
|
||||
">
|
||||
<?php if ($_smarty_tpl->tpl_vars['PSE_COUNT']->value > 1) {?>
|
||||
<?php $_smarty_tpl->_assignInScope('hasSubmit', false);?>
|
||||
<?php } else { ?>
|
||||
<?php $_smarty_tpl->_assignInScope('hasSubmit', true);?>
|
||||
<?php }?>
|
||||
<?php $_smarty_tpl->_assignInScope('productTitle', ((string)$_smarty_tpl->tpl_vars['TITLE']->value));?>
|
||||
<?php if (!$_smarty_tpl->tpl_vars['product_id']->value) {?>
|
||||
<?php $_smarty_tpl->_assignInScope('product_id', $_smarty_tpl->tpl_vars['ID']->value);?>
|
||||
<?php }?>
|
||||
<article class="row" itemscope itemtype="http://schema.org/Product">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"singleproduct.top",'product'=>((string)$_smarty_tpl->tpl_vars['product_id']->value)),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<a href="<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
|
||||
" itemprop="url" tabindex="-1" class="product-image<?php if ($_smarty_tpl->tpl_vars['hasQuickView']->value == true) {?> product-quickview<?php }?> overlay col-sm-3">
|
||||
<?php $_block_plugin12 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin12, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"product_thumbnail",'type'=>"image",'product'=>$_smarty_tpl->tpl_vars['product_id']->value,'width'=>((string)$_smarty_tpl->tpl_vars['width']->value),'height'=>((string)$_smarty_tpl->tpl_vars['height']->value),'resize_mode'=>"borders",'limit'=>"1"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin12->theliaLoop(array('name'=>"product_thumbnail",'type'=>"image",'product'=>$_smarty_tpl->tpl_vars['product_id']->value,'width'=>((string)$_smarty_tpl->tpl_vars['width']->value),'height'=>((string)$_smarty_tpl->tpl_vars['height']->value),'resize_mode'=>"borders",'limit'=>"1"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<img itemprop="image" src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
|
||||
" class="img-responsive" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['productTitle']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin12->theliaLoop(array('name'=>"product_thumbnail",'type'=>"image",'product'=>$_smarty_tpl->tpl_vars['product_id']->value,'width'=>((string)$_smarty_tpl->tpl_vars['width']->value),'height'=>((string)$_smarty_tpl->tpl_vars['height']->value),'resize_mode'=>"borders",'limit'=>"1"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin13 = isset($_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin13, 'theliaElseloop'))) {
|
||||
throw new SmartyException('block tag \'elseloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elseloop', array('rel'=>"product_thumbnail"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin13->theliaElseloop(array('rel'=>"product_thumbnail"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<img itemprop="image" src="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['image'][0], array( array('file'=>'assets/dist/img/218x146.png'),$_smarty_tpl ) );?>
|
||||
" class="img-responsive" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['productTitle']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin13->theliaElseloop(array('rel'=>"product_thumbnail"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</a>
|
||||
|
||||
<div class="product-info col-sm-6">
|
||||
<h2 class="name"><a href="<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
|
||||
"><span itemprop="name"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['productTitle']->value,$_smarty_tpl);?>
|
||||
</span></a></h2>
|
||||
<?php if ($_smarty_tpl->tpl_vars['hasDescription']->value) {?>
|
||||
<div class="description" itemprop="description">
|
||||
<p><?php echo $_smarty_tpl->tpl_vars['DESCRIPTION']->value;?>
|
||||
</p>
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php $_smarty_tpl->_assignInScope('current_stock_content', "in_stock");?>
|
||||
<?php $_smarty_tpl->_assignInScope('current_stock_href', "http://schema.org/InStock");?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"check-available-stock"),$_smarty_tpl ) );
|
||||
$_prefixVariable16 = ob_get_clean();
|
||||
if ($_prefixVariable16 != 0) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['VIRTUAL']->value == 0 && $_smarty_tpl->tpl_vars['QUANTITY']->value <= 0) {?>
|
||||
<?php $_smarty_tpl->_assignInScope('current_stock_content', "out_stock");?>
|
||||
<?php $_smarty_tpl->_assignInScope('current_stock_href', "http://schema.org/OutOfStock");?>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
|
||||
<div class="product-price col-sm-3">
|
||||
<div class="price-container row" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
|
||||
<meta itemprop="category" content="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['category'][0], array( array('attr'=>"title"),$_smarty_tpl ) );?>
|
||||
">
|
||||
<meta itemprop="priceCurrency" content="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['currency'][0], array( array('attr'=>"symbol"),$_smarty_tpl ) );?>
|
||||
">
|
||||
<link itemprop="availability" href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['current_stock_href']->value,$_smarty_tpl);?>
|
||||
" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['current_stock_content']->value,$_smarty_tpl);?>
|
||||
" />
|
||||
<?php if ($_smarty_tpl->tpl_vars['IS_PROMO']->value) {?>
|
||||
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['count'][0], array( array('type'=>"product_sale_elements",'promo'=>"1",'product'=>$_smarty_tpl->tpl_vars['ID']->value),$_smarty_tpl ) );
|
||||
$_prefixVariable17 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('combination_count', $_prefixVariable17);?>
|
||||
<span class="special-price col-xs-6"><span itemprop="price" class="price-label" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['BEST_TAXED_PRICE']->value,$_smarty_tpl);?>
|
||||
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Special Price:"),$_smarty_tpl ) );?>
|
||||
</span><span class="price">
|
||||
<?php if ($_smarty_tpl->tpl_vars['combination_count']->value > 1) {?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['BEST_TAXED_PRICE']->value),$_smarty_tpl ) );
|
||||
$_prefixVariable18 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"From %price",'price'=>$_prefixVariable18),$_smarty_tpl ) );?>
|
||||
|
||||
<?php } else { ?>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['BEST_TAXED_PRICE']->value),$_smarty_tpl ) );?>
|
||||
|
||||
<?php }?>
|
||||
</span></span>
|
||||
<?php if ($_smarty_tpl->tpl_vars['SHOW_ORIGINAL_PRICE']->value) {?>
|
||||
<span class="old-price col-xs-6"><span class="price-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Regular Price:"),$_smarty_tpl ) );?>
|
||||
</span><span class="price"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['TAXED_PRICE']->value),$_smarty_tpl ) );?>
|
||||
</span></span>
|
||||
<?php }?>
|
||||
<?php } else { ?>
|
||||
<span class="regular-price col-xs-12"><span itemprop="price" class="price" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['BEST_TAXED_PRICE']->value,$_smarty_tpl);?>
|
||||
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['BEST_TAXED_PRICE']->value),$_smarty_tpl ) );?>
|
||||
</span></span>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['hasBtn']->value == true) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['hasSubmit']->value == true && $_smarty_tpl->tpl_vars['current_stock_content']->value == "in_stock") {?>
|
||||
<?php $_block_plugin14 = isset($_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin14, 'generateForm'))) {
|
||||
throw new SmartyException('block tag \'form\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form', array('name'=>"thelia.cart.add"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin14->generateForm(array('name'=>"thelia.cart.add"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<form id="form-product-details<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['product_id']->value,$_smarty_tpl);?>
|
||||
" action="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/cart/add"),$_smarty_tpl ) );?>
|
||||
" method="post" class="form-product">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_hidden_fields'][0], array( array(),$_smarty_tpl ) );?>
|
||||
|
||||
<input type="hidden" name="view" value="product">
|
||||
<input type="hidden" name="product_id" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['product_id']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_plugin15 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin15, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>"append"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin15->renderFormField(array('field'=>"append"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<input type="hidden" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
|
||||
" value="1">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin15->renderFormField(array('field'=>"append"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['form_error']->value) {?><div class="alert alert-error"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['form_error_message']->value,$_smarty_tpl);?>
|
||||
</div><?php }?>
|
||||
|
||||
<?php $_block_plugin16 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin16, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>'product_sale_elements_id'));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin16->renderFormField(array('field'=>'product_sale_elements_id'), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<input type="hidden" class="pse-id" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
|
||||
" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['PRODUCT_SALE_ELEMENT']->value,$_smarty_tpl);?>
|
||||
" <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['attr']->value,$_smarty_tpl);?>
|
||||
>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin16->renderFormField(array('field'=>'product_sale_elements_id'), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin17 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin17, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>"product"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin17->renderFormField(array('field'=>"product"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<input id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
|
||||
" type="hidden" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
|
||||
" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['product_id']->value,$_smarty_tpl);?>
|
||||
" <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['attr']->value,$_smarty_tpl);?>
|
||||
>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin17->renderFormField(array('field'=>"product"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<fieldset class="product-cart form-inline">
|
||||
<?php $_block_plugin18 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin18, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>'quantity'));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin18->renderFormField(array('field'=>'quantity'), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<div class="form-group group-qty hide <?php if ($_smarty_tpl->tpl_vars['error']->value) {?>has-error<?php } elseif ($_smarty_tpl->tpl_vars['value']->value != '' && !$_smarty_tpl->tpl_vars['error']->value) {?>has-success<?php }?>">
|
||||
<label for="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
|
||||
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label']->value,$_smarty_tpl);?>
|
||||
</label>
|
||||
<input type="number" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
|
||||
" id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
|
||||
" class="form-control" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_smarty_tpl->tpl_vars['value']->value)===null||$tmp==='' ? 1 : $tmp),$_smarty_tpl);?>
|
||||
" min="0" required>
|
||||
<?php if ($_smarty_tpl->tpl_vars['error']->value) {?>
|
||||
<span class="help-block"><i class="fa fa-remove"></i> <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['message']->value,$_smarty_tpl);?>
|
||||
</span>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['value']->value != '' && !$_smarty_tpl->tpl_vars['error']->value) {?>
|
||||
<span class="help-block"><i class="fa fa"></i></span>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin18->renderFormField(array('field'=>'quantity'), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<div>
|
||||
<div class="product-btn">
|
||||
<button type="submit" class="btn btn-primary btn-block"><i class="fa fa-shopping-cart"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Add to cart"),$_smarty_tpl ) );?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin14->generateForm(array('name'=>"thelia.cart.add"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php } else { ?>
|
||||
<div>
|
||||
<div class="product-btn">
|
||||
<a href="<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
|
||||
" class="btn btn-primary btn-block"><i class="fa fa-eye"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"View product"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['product_id']->value,$_smarty_tpl);
|
||||
$_prefixVariable19 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"singleproduct.bottom",'product'=>$_prefixVariable19),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
</article><!-- /product -->
|
||||
</li>
|
||||
<?php }
|
||||
}
|
||||
@@ -0,0 +1,502 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:16
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/custom/order-delivery.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abbc502389_80841654',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'40fcd7bd7b0213756275680753d579bc455dd44e' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/custom/order-delivery.html',
|
||||
1 => 1615367719,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
'file:misc/checkout-progress.tpl' => 1,
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abbc502389_80841654 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_loadInheritance();
|
||||
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_16500230586065abbc3f9d14_64367431', "no-return-functions");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_21010634726065abbc4046c7_88033749', "body-class");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_17715858186065abbc407706_89804509', 'no-return-functions');
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_4616176826065abbc41d512_06118200', "main-content");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_10734993256065abbc4eec58_83519166', "javascript-initialization");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_3542877436065abbc4f8da7_74159424', "stylesheet");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_20386124266065abbc4fe136_01401202', "after-javascript-include");
|
||||
?>
|
||||
|
||||
<?php $_smarty_tpl->inheritance->endChild($_smarty_tpl, "layout.tpl");
|
||||
}
|
||||
/* {block "no-return-functions"} */
|
||||
class Block_16500230586065abbc3f9d14_64367431 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'no-return-functions' =>
|
||||
array (
|
||||
0 => 'Block_16500230586065abbc3f9d14_64367431',
|
||||
),
|
||||
);
|
||||
public $prepend = 'true';
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['check_auth'][0], array( array('role'=>"CUSTOMER",'login_tpl'=>"login"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['check_cart_not_empty'][0], array( array(),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "no-return-functions"} */
|
||||
/* {block "body-class"} */
|
||||
class Block_21010634726065abbc4046c7_88033749 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'body-class' =>
|
||||
array (
|
||||
0 => 'Block_21010634726065abbc4046c7_88033749',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
page-order-delivery<?php
|
||||
}
|
||||
}
|
||||
/* {/block "body-class"} */
|
||||
/* {block 'no-return-functions'} */
|
||||
class Block_17715858186065abbc407706_89804509 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'no-return-functions' =>
|
||||
array (
|
||||
0 => 'Block_17715858186065abbc407706_89804509',
|
||||
),
|
||||
);
|
||||
public $append = 'true';
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Cart"),$_smarty_tpl ) );
|
||||
$_prefixVariable1 = ob_get_clean();
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/cart"),$_smarty_tpl ) );
|
||||
$_prefixVariable2 = ob_get_clean();
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Billing and delivery"),$_smarty_tpl ) );
|
||||
$_prefixVariable3 = ob_get_clean();
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/order/delivery"),$_smarty_tpl ) );
|
||||
$_prefixVariable4 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('breadcrumbs', array(array('title'=>$_prefixVariable1,'url'=>$_prefixVariable2),array('title'=>$_prefixVariable3,'url'=>$_prefixVariable4)));
|
||||
}
|
||||
}
|
||||
/* {/block 'no-return-functions'} */
|
||||
/* {block "main-content"} */
|
||||
class Block_4616176826065abbc41d512_06118200 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'main-content' =>
|
||||
array (
|
||||
0 => 'Block_4616176826065abbc41d512_06118200',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
|
||||
<div class="main">
|
||||
<article id="cart" class="col-main" role="main" aria-labelledby="main-label">
|
||||
|
||||
<h1 id="main-label" class="page-header"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Billing and delivery"),$_smarty_tpl ) );?>
|
||||
</h1>
|
||||
|
||||
<?php $_smarty_tpl->_subTemplateRender("file:misc/checkout-progress.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('step'=>"delivery"), 0, false);
|
||||
?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-delivery.top"),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin1, 'generateForm'))) {
|
||||
throw new SmartyException('block tag \'form\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form', array('name'=>"thelia.order.delivery"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin1->generateForm(array('name'=>"thelia.order.delivery"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape(count($_POST),$_smarty_tpl);
|
||||
$_prefixVariable5 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('isPost', $_prefixVariable5);?>
|
||||
<form id="form-cart-delivery" action="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/order/delivery"),$_smarty_tpl ) );?>
|
||||
" method="post" <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_enctype'][0], array( array(),$_smarty_tpl ) );?>
|
||||
>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_hidden_fields'][0], array( array(),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['form_error']->value) {?><div class="alert alert-danger"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['form_error_message']->value,$_smarty_tpl);?>
|
||||
</div><?php }?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-delivery.form-top"),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php $_block_plugin2 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin2, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>'delivery-address'));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin2->renderFormField(array('field'=>'delivery-address'), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
|
||||
<div id="delivery-address" class="panel panel-default">
|
||||
<div class="panel-heading clearfix">
|
||||
<a href="<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['navigate'][0], array( array('to'=>'current'),$_smarty_tpl ) );
|
||||
$_prefixVariable6 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/address/create",'next'=>$_prefixVariable6),$_smarty_tpl ) );?>
|
||||
" class="btn btn-link pull-right"><i class="fa fa-plus"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Add a new address"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Choose your delivery address"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['error']->value) {?>
|
||||
<span class="help-block"><span class="fa fa-remove"></span> <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['message']->value,$_smarty_tpl);?>
|
||||
</span>
|
||||
<?php }?>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<table class="table table-address" role="presentation" summary="Address Books">
|
||||
<tbody>
|
||||
<?php $_block_plugin3 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin3, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"address",'name'=>"customer.addresses",'customer'=>"current"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin3->theliaLoop(array('type'=>"address",'name'=>"customer.addresses",'customer'=>"current"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_smarty_tpl->_assignInScope('isDeliveryAddressChecked', "0");?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['isPost']->value) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['value']->value == $_smarty_tpl->tpl_vars['ID']->value) {?>
|
||||
<?php $_smarty_tpl->_assignInScope('isDeliveryAddressChecked', "1");?>
|
||||
<?php }?>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['delivery_address_id']->value == $_smarty_tpl->tpl_vars['ID']->value) {?>
|
||||
<?php $_smarty_tpl->_assignInScope('isDeliveryAddressChecked', "1");?>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<th>
|
||||
<div class="radio">
|
||||
<label for="delivery-address_<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<input type="radio" class="js-change-delivery-address" data-country="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['COUNTRY']->value,$_smarty_tpl);?>
|
||||
" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
|
||||
" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['isDeliveryAddressChecked']->value) {?> checked="checked"<?php }?> id="delivery-address_<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php if ($_smarty_tpl->tpl_vars['isDeliveryAddressChecked']->value) {?>
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LOOP_COUNT']->value,$_smarty_tpl);
|
||||
$_prefixVariable7 = ob_get_clean();
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>'Address %nb','nb'=>$_prefixVariable7),$_smarty_tpl ) );
|
||||
$_prefixVariable8 = ob_get_clean();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_smarty_tpl->tpl_vars['LABEL']->value)===null||$tmp==='' ? $_prefixVariable8 : $tmp),$_smarty_tpl);?>
|
||||
|
||||
<span class="label label-info "><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Main Address"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
<?php } else { ?>
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LOOP_COUNT']->value,$_smarty_tpl);
|
||||
$_prefixVariable9 = ob_get_clean();
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>'Address %nb','nb'=>$_prefixVariable9),$_smarty_tpl ) );
|
||||
$_prefixVariable10 = ob_get_clean();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_smarty_tpl->tpl_vars['LABEL']->value)===null||$tmp==='' ? $_prefixVariable10 : $tmp),$_smarty_tpl);?>
|
||||
|
||||
<?php }?>
|
||||
</label>
|
||||
</div>
|
||||
</th>
|
||||
<td>
|
||||
<ul class="list-address list-unstyled row">
|
||||
<li class="col-sm-4">
|
||||
<span class="fn"><?php $_block_plugin4 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin4, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"title",'name'=>"customer.title.info",'id'=>$_smarty_tpl->tpl_vars['TITLE']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin4->theliaLoop(array('type'=>"title",'name'=>"customer.title.info",'id'=>$_smarty_tpl->tpl_vars['TITLE']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['SHORT']->value,$_smarty_tpl);
|
||||
$_block_repeat=false;
|
||||
echo $_block_plugin4->theliaLoop(array('type'=>"title",'name'=>"customer.title.info",'id'=>$_smarty_tpl->tpl_vars['TITLE']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?> <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(mb_strtoupper($_smarty_tpl->tpl_vars['LASTNAME']->value, 'UTF-8'),$_smarty_tpl);?>
|
||||
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(ucwords($_smarty_tpl->tpl_vars['FIRSTNAME']->value),$_smarty_tpl);?>
|
||||
</span>
|
||||
<span class="org"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['COMPANY']->value,$_smarty_tpl);?>
|
||||
</span>
|
||||
</li>
|
||||
<li class="col-sm-4">
|
||||
<address class="adr">
|
||||
<span class="street-address"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ADDRESS1']->value,$_smarty_tpl);?>
|
||||
</span>
|
||||
<?php if ($_smarty_tpl->tpl_vars['ADDRESS2']->value != '') {?>
|
||||
<br><span class="street-address"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ADDRESS2']->value,$_smarty_tpl);?>
|
||||
</span>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['ADDRESS3']->value != '') {?>
|
||||
<br><span class="street-address"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ADDRESS3']->value,$_smarty_tpl);?>
|
||||
</span>
|
||||
<?php }?>
|
||||
<br><span class="postal-code"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ZIPCODE']->value,$_smarty_tpl);?>
|
||||
</span>
|
||||
<span class="locality"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['CITY']->value,$_smarty_tpl);?>
|
||||
,
|
||||
<span class="country-name"><?php $_block_plugin5 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin5, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"country",'name'=>"customer.country.info",'id'=>$_smarty_tpl->tpl_vars['COUNTRY']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin5->theliaLoop(array('type'=>"country",'name'=>"customer.country.info",'id'=>$_smarty_tpl->tpl_vars['COUNTRY']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);
|
||||
$_block_repeat=false;
|
||||
echo $_block_plugin5->theliaLoop(array('type'=>"country",'name'=>"customer.country.info",'id'=>$_smarty_tpl->tpl_vars['COUNTRY']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?></span></span>
|
||||
<?php if ($_smarty_tpl->tpl_vars['STATE']->value) {?>, <span class="state-name"><?php $_block_plugin6 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin6, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"state",'name'=>"customer.state.info",'id'=>$_smarty_tpl->tpl_vars['STATE']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin6->theliaLoop(array('type'=>"state",'name'=>"customer.state.info",'id'=>$_smarty_tpl->tpl_vars['STATE']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);
|
||||
$_block_repeat=false;
|
||||
echo $_block_plugin6->theliaLoop(array('type'=>"state",'name'=>"customer.state.info",'id'=>$_smarty_tpl->tpl_vars['STATE']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?></span></span><?php }?>
|
||||
</address>
|
||||
</li>
|
||||
<li class="col-sm-4">
|
||||
<?php if ($_smarty_tpl->tpl_vars['CELLPHONE']->value != '') {?>
|
||||
<span class="tel"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['CELLPHONE']->value,$_smarty_tpl);?>
|
||||
</span>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['PHONE']->value != '') {?>
|
||||
<br><span class="tel"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['PHONE']->value,$_smarty_tpl);?>
|
||||
</span>
|
||||
<?php }?>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
<td>
|
||||
<div class="group-btn">
|
||||
<a href="<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['navigate'][0], array( array('to'=>"current"),$_smarty_tpl ) );
|
||||
$_prefixVariable11 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/address/update/%id",'id'=>$_smarty_tpl->tpl_vars['ID']->value,'next'=>$_prefixVariable11),$_smarty_tpl ) );?>
|
||||
" class="btn btn-primary" data-toggle="tooltip" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Edit this address"),$_smarty_tpl ) );?>
|
||||
"><i class="fa fa-pencil"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Edit"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['DEFAULT']->value != 1) {?>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/address/delete/%id",'id'=>$_smarty_tpl->tpl_vars['ID']->value),$_smarty_tpl ) );?>
|
||||
" class="btn btn-primary" data-confirm="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Do you really want to delete this address ?"),$_smarty_tpl ) );?>
|
||||
" data-confirm-callback="address.delete" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Remove this address"),$_smarty_tpl ) );?>
|
||||
" data-toggle="tooltip"><i class="fa fa-remove"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Delete"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
<?php }?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin3->theliaLoop(array('type'=>"address",'name'=>"customer.addresses",'customer'=>"current"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin2->renderFormField(array('field'=>'delivery-address'), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php $_block_plugin7 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin7, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>'delivery-module'));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin7->renderFormField(array('field'=>'delivery-module'), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<div id="delivery-method" class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Choose your delivery method"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['error']->value) {?>
|
||||
<span class="help-block"><span class="fa fa-remove"></span> <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['message']->value,$_smarty_tpl);?>
|
||||
</span>
|
||||
<?php }?>
|
||||
</div>
|
||||
<div class="panel-body" id="delivery-module-list-block"></div>
|
||||
</div>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin7->renderFormField(array('field'=>'delivery-module'), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-delivery.form-bottom"),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/cart"),$_smarty_tpl ) );?>
|
||||
" role="button" class="btn btn-default"><i class="fa fa-chevron-left"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Back"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
<button type="submit" class="btn btn-primary pull-right"><i class="fa fa-chevron-right"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Next Step"),$_smarty_tpl ) );?>
|
||||
</button>
|
||||
|
||||
</form>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin1->generateForm(array('name'=>"thelia.order.delivery"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-delivery.bottom"),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
</article>
|
||||
</div>
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "main-content"} */
|
||||
/* {block "javascript-initialization"} */
|
||||
class Block_10734993256065abbc4eec58_83519166 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'javascript-initialization' =>
|
||||
array (
|
||||
0 => 'Block_10734993256065abbc4eec58_83519166',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
jQuery(function($) {
|
||||
$('.js-change-delivery-address').change(function(e) {
|
||||
if (this.checked) {
|
||||
$('#delivery-module-list-block').load(
|
||||
'<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/order/deliveryModuleList"),$_smarty_tpl ) );?>
|
||||
',
|
||||
|
||||
{
|
||||
country_id: $(this).data('country'),
|
||||
address_id: $(this).attr('value')
|
||||
}
|
||||
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
$('.js-change-delivery-address:checked').change();
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-delivery.javascript-initialization"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "javascript-initialization"} */
|
||||
/* {block "stylesheet"} */
|
||||
class Block_3542877436065abbc4f8da7_74159424 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'stylesheet' =>
|
||||
array (
|
||||
0 => 'Block_3542877436065abbc4f8da7_74159424',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-delivery.stylesheet"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "stylesheet"} */
|
||||
/* {block "after-javascript-include"} */
|
||||
class Block_20386124266065abbc4fe136_01401202 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'after-javascript-include' =>
|
||||
array (
|
||||
0 => 'Block_20386124266065abbc4fe136_01401202',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-delivery.after-javascript-include"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "after-javascript-include"} */
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:26
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/ClickAndCollect/templates/frontOffice/default/delivery-address.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abc61bca89_49498171',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4d2d02b546dcd0117ebd81d8836777d9682eb174' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/ClickAndCollect/templates/frontOffice/default/delivery-address.html',
|
||||
1 => 1615574225,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abc61bca89_49498171 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><div class="panel panel-default col-sm-6"><?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['place_id']->value,$_smarty_tpl);
|
||||
$_prefixVariable1 = ob_get_clean();
|
||||
$_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin1, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"pdr_places",'name'=>"place-loop",'id'=>$_prefixVariable1));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin1->theliaLoop(array('type'=>"pdr_places",'name'=>"place-loop",'id'=>$_prefixVariable1), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?><div class="panel-heading"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Order to withdraw",'d'=>"clickandcollect"),$_smarty_tpl ) );?>
|
||||
</div><div class="panel-body"><span class="org"><strong><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</strong></span><address class="adr"><span class="street-address"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ADDRESS1']->value,$_smarty_tpl);?>
|
||||
</span><br><?php if ($_smarty_tpl->tpl_vars['ADDRESS2']->value != '') {?><span class="street-address"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ADDRESS2']->value,$_smarty_tpl);?>
|
||||
</span><br><?php }?><span class="locality"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ZIPCODE']->value,$_smarty_tpl);?>
|
||||
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['CITY']->value,$_smarty_tpl);?>
|
||||
</span></address></div><?php $_block_repeat=false;
|
||||
echo $_block_plugin1->theliaLoop(array('type'=>"pdr_places",'name'=>"place-loop",'id'=>$_prefixVariable1), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?><div class="panel-heading"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Starting date",'d'=>"clickandcollect"),$_smarty_tpl ) );?>
|
||||
</div><div class="panel-body"><span><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['day']->value,$_smarty_tpl);?>
|
||||
</span></div></div>
|
||||
<?php }
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:03
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookCart/templates/frontOffice/default/main-navbar-secondary.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab733fd4f3_83394407',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'509fa97cb7a3b3e7cf9cc43badabe606bb800b07' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookCart/templates/frontOffice/default/main-navbar-secondary.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab733fd4f3_83394407 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><ul class="nav navbar-nav navbar-cart navbar-right">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"mini-cart"),$_smarty_tpl ) );?>
|
||||
|
||||
</ul><?php }
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:03
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/misc/breadcrumb.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab7361c8c4_97127670',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'51346019418bd7a6b3c52d536bbabc3710d3509e' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/misc/breadcrumb.tpl',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab7361c8c4_97127670 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><nav class="nav-breadcrumb" role="navigation" aria-labelledby="breadcrumb-label">
|
||||
<strong id="breadcrumb-label" class="sr-only"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"You are here:"),$_smarty_tpl ) );?>
|
||||
</strong>
|
||||
|
||||
<ul class="breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
<meta itemprop="position" content="1" />
|
||||
<a itemprop="item" href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['navigate'][0], array( array('to'=>"index"),$_smarty_tpl ) );?>
|
||||
">
|
||||
<span itemprop="name"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Home"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['breadcrumbs']->value, 'breadcrumb', true);
|
||||
$_smarty_tpl->tpl_vars['breadcrumb']->iteration = 0;
|
||||
if ($_from !== null) {
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['breadcrumb']->key => $_smarty_tpl->tpl_vars['breadcrumb']->value) {
|
||||
$_smarty_tpl->tpl_vars['breadcrumb']->iteration++;
|
||||
$_smarty_tpl->tpl_vars['breadcrumb']->last = $_smarty_tpl->tpl_vars['breadcrumb']->iteration === $_smarty_tpl->tpl_vars['breadcrumb']->total;
|
||||
$__foreach_breadcrumb_1_saved = $_smarty_tpl->tpl_vars['breadcrumb'];
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['breadcrumb']->value['title']) {?>
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"<?php if ($_smarty_tpl->tpl_vars['breadcrumb']->last) {?> class="active"<?php }?>>
|
||||
<meta itemprop="position" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['breadcrumb']->key+2,$_smarty_tpl);?>
|
||||
" />
|
||||
<a itemprop="item" href="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['breadcrumb']->value['url'])===null||$tmp==='' ? '#' : $tmp);?>
|
||||
" title="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(htmlspecialchars_decode($_smarty_tpl->tpl_vars['breadcrumb']->value['title'], ENT_QUOTES),$_smarty_tpl);?>
|
||||
">
|
||||
<span itemprop="name"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(htmlspecialchars_decode($_smarty_tpl->tpl_vars['breadcrumb']->value['title'], ENT_QUOTES),$_smarty_tpl);?>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['breadcrumb'] = $__foreach_breadcrumb_1_saved;
|
||||
}
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</ul>
|
||||
</nav><!-- /.nav-breadcrumb -->
|
||||
<?php }
|
||||
}
|
||||
@@ -0,0 +1,262 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:17
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/ClickAndCollect/templates/frontOffice/default/order-delivery-extra.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abbdec3294_36429355',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'519cc28f38a289f5cdd354f784ac1b78e091d570' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/ClickAndCollect/templates/frontOffice/default/order-delivery-extra.html',
|
||||
1 => 1617274129,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abbdec3294_36429355 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
echo '<script'; ?>
|
||||
type="text/html" id="cnc_ui">
|
||||
|
||||
<?php $_block_plugin14 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin14, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"delivery",'name'=>"cnc-delivery-loop",'code'=>"clickandcollect"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin14->theliaLoop(array('type'=>"delivery",'name'=>"cnc-delivery-loop",'code'=>"clickandcollect"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_smarty_tpl->_assignInScope('cnc_module_id', $_smarty_tpl->tpl_vars['ID']->value);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin14->theliaLoop(array('type'=>"delivery",'name'=>"cnc-delivery-loop",'code'=>"clickandcollect"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<td colspan="3">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-4">
|
||||
<?php $_block_plugin15 = isset($_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin15, 'generateForm'))) {
|
||||
throw new SmartyException('block tag \'form\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form', array('name'=>"thelia.order.delivery"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin15->generateForm(array('name'=>"thelia.order.delivery"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_block_plugin16 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin16, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>'delivery-module'));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin16->renderFormField(array('field'=>'delivery-module'), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<label for="delivery-method_<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['cnc_module_id']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<input type="radio" delivery-mode="cnc" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
|
||||
" id="delivery-method_<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['cnc_module_id']->value,$_smarty_tpl);?>
|
||||
" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['cnc_module_id']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Module name - customer",'d'=>"clickandcollect"),$_smarty_tpl ) );?>
|
||||
</strong>
|
||||
<br>
|
||||
</label>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin16->renderFormField(array('field'=>'delivery-module'), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin15->generateForm(array('name'=>"thelia.order.delivery"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</div>
|
||||
<div class="col-sm-4"> </div>
|
||||
</div>
|
||||
|
||||
<div class="row message-explicatif"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Message explicatif",'d'=>"clickandcollect"),$_smarty_tpl ) );?>
|
||||
</div>
|
||||
|
||||
<div class="row" id="select-cnc">
|
||||
<div class="col-md-5">
|
||||
<?php $_block_plugin17 = isset($_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin17, 'generateForm'))) {
|
||||
throw new SmartyException('block tag \'form\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form', array('name'=>"thelia.order.delivery"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin17->generateForm(array('name'=>"thelia.order.delivery"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<div class="table-responsive" style="border: 0px solid gray">
|
||||
<table class="table table-condensed table-main">
|
||||
<?php $_block_plugin18 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin18, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"pdr_places",'name'=>"places-loop-cnc",'active'=>true,'click_and_collect'=>1,'order'=>"city"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin18->theliaLoop(array('type'=>"pdr_places",'name'=>"places-loop-cnc",'active'=>true,'click_and_collect'=>1,'order'=>"city"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<tr class="ligne-cnc">
|
||||
<td>
|
||||
<div class="titre-cnc"><img src="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['image'][0], array( array('file'=>'assets/img/pin.png','source'=>'ClickAndCollect'),$_smarty_tpl ) );?>
|
||||
" class="img-pin"><span class="pin-number"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);?>
|
||||
</span><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</div>
|
||||
<span class="adresse"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ADDRESS1']->value,$_smarty_tpl);?>
|
||||
</span><br>
|
||||
<span class="adresse"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ZIPCODE']->value,$_smarty_tpl);?>
|
||||
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['CITY']->value,$_smarty_tpl);?>
|
||||
</span><br>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['cart'][0], array( array('attr'=>'total_taxed_price_without_discount'),$_smarty_tpl ) );
|
||||
$_prefixVariable6 = ob_get_clean();
|
||||
if ($_prefixVariable6 < $_smarty_tpl->tpl_vars['MINIMUM_AMOUNT']->value) {?>
|
||||
<div class="row">
|
||||
<div class="alert alert-info" style="width:95%; margin:5px"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Message info minimum de commande",'d'=>"clickandcollect",'minimum'=>$_smarty_tpl->tpl_vars['MINIMUM_AMOUNT']->value),$_smarty_tpl ) );?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<table class="table table-schedule">
|
||||
<?php $_smarty_tpl->_assignInScope('nextDate', '');?>
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);
|
||||
$_prefixVariable7 = ob_get_clean();
|
||||
$_block_plugin19 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin19, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"pdr_schedule",'name'=>"schedule-loop",'place_id'=>$_prefixVariable7,'click_and_collect'=>1));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin19->theliaLoop(array('type'=>"pdr_schedule",'name'=>"schedule-loop",'place_id'=>$_prefixVariable7,'click_and_collect'=>1), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<tr class="creneau">
|
||||
<td><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['DAY_LABEL']->value,$_smarty_tpl);?>
|
||||
</td>
|
||||
<td><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_date'][0], array( array('date'=>$_smarty_tpl->tpl_vars['BEGIN']->value,'format'=>"H\hi"),$_smarty_tpl ) );?>
|
||||
</td>
|
||||
<td><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_date'][0], array( array('date'=>$_smarty_tpl->tpl_vars['END']->value,'format'=>"H\hi"),$_smarty_tpl ) );?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($_smarty_tpl->tpl_vars['nextDate']->value == '') {?>
|
||||
<?php $_smarty_tpl->_assignInScope('nextDate', ((string)$_smarty_tpl->tpl_vars['CALCULATED_DAY']->value));?>
|
||||
<?php }?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin19->theliaLoop(array('type'=>"pdr_schedule",'name'=>"schedule-loop",'place_id'=>$_prefixVariable7,'click_and_collect'=>1), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</table>
|
||||
<?php }?>
|
||||
|
||||
<div class="next-date"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Message availability",'d'=>"clickandcollect"),$_smarty_tpl ) );?>
|
||||
<b><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['nextDate']->value,$_smarty_tpl);?>
|
||||
</b></div>
|
||||
|
||||
<div class="price">
|
||||
<?php if ($_smarty_tpl->tpl_vars['PRICE']->value > 0) {?>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_number'][0], array( array('number'=>$_smarty_tpl->tpl_vars['PRICE']->value),$_smarty_tpl ) );?>
|
||||
€
|
||||
<?php } else { ?>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Free",'d'=>"clickandcollect"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
</td>
|
||||
<td class="cnc-bouton-radio"><input type="radio" name="cnc-choosen-place" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);?>
|
||||
"<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['cart'][0], array( array('attr'=>'total_taxed_price_without_discount'),$_smarty_tpl ) );
|
||||
$_prefixVariable8 = ob_get_clean();
|
||||
if ($_prefixVariable8 < $_smarty_tpl->tpl_vars['MINIMUM_AMOUNT']->value) {?> disabled<?php }?> /></td>
|
||||
</tr>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin18->theliaLoop(array('type'=>"pdr_places",'name'=>"places-loop-cnc",'active'=>true,'click_and_collect'=>1,'order'=>"city"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</table>
|
||||
</div>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin17->generateForm(array('name'=>"thelia.order.delivery"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</div>
|
||||
<div class="col-md-7">
|
||||
<input type="hidden" id="map-center-lat-cnc" value=<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['module_config'][0], array( array('module'=>'PlanificationLivraison','key'=>'map_center_latitude','locale'=>'en_US'),$_smarty_tpl ) );
|
||||
$_prefixVariable9 = ob_get_clean();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_prefixVariable9)===null||$tmp==='' ? 50.75075530537203 : $tmp),$_smarty_tpl);?>
|
||||
/>
|
||||
<input type="hidden" id="map-center-lon-cnc" value=<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['module_config'][0], array( array('module'=>'PlanificationLivraison','key'=>'map_center_longitude','locale'=>'en_US'),$_smarty_tpl ) );
|
||||
$_prefixVariable10 = ob_get_clean();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_prefixVariable10)===null||$tmp==='' ? 2.252608244005041 : $tmp),$_smarty_tpl);?>
|
||||
/>
|
||||
|
||||
<table id="coordinates-cnc" class="hidden">
|
||||
<?php $_block_plugin20 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin20, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"pdr_places",'name'=>"places-loop-cnc",'active'=>true,'click_and_collect'=>1,'order'=>"city"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin20->theliaLoop(array('type'=>"pdr_places",'name'=>"places-loop-cnc",'active'=>true,'click_and_collect'=>1,'order'=>"city"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<tr>
|
||||
<td><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);?>
|
||||
|
||||
<td><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LATITUDE']->value,$_smarty_tpl);?>
|
||||
</td>
|
||||
<td><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LONGITUDE']->value,$_smarty_tpl);?>
|
||||
</td>
|
||||
<td><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin20->theliaLoop(array('type'=>"pdr_places",'name'=>"places-loop-cnc",'active'=>true,'click_and_collect'=>1,'order'=>"city"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</table>
|
||||
|
||||
<div id="cnc_map" class="locationMap">
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
|
||||
// Masquer par défaut les options du mode CNC
|
||||
$(document).ready(function(){
|
||||
$("#delivery-module-<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['cnc_module_id']->value,$_smarty_tpl);?>
|
||||
").html($('#cnc_ui').html());
|
||||
$('#select-cnc').slideUp('fast');
|
||||
});
|
||||
|
||||
// Gestion du pliage/dépliage du mode CNC
|
||||
$('input[type=radio][delivery-mode]').click(function() {
|
||||
$('div[id^="select"]').not($('#select-' + $(this).attr('delivery-mode'))).slideUp();
|
||||
$('#select-' + $(this).attr('delivery-mode')).slideDown('fast');
|
||||
|
||||
initMapCnc();
|
||||
});
|
||||
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php }
|
||||
}
|
||||
@@ -0,0 +1,323 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:18:26
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/order-placed.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ac020ab3e5_09225361',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'51a788f59d9ff3e393f171f525e10d50c96a65e3' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/order-placed.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
'file:misc/checkout-progress.tpl' => 1,
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ac020ab3e5_09225361 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_loadInheritance();
|
||||
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_21223083706065ac02026147_77088292', "no-return-functions");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_17514610516065ac0202f680_07817740', "body-class");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_9748883616065ac02032670_35818792', 'no-return-functions');
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_9766509996065ac02047f98_57589597', "main-content");
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_2214784946065ac0209c114_79284600', "stylesheet");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_12207135696065ac020a16e7_34086700', "after-javascript-include");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_3695037696065ac020a71c6_14572935', "javascript-initialization");
|
||||
?>
|
||||
|
||||
<?php $_smarty_tpl->inheritance->endChild($_smarty_tpl, "layout.tpl");
|
||||
}
|
||||
/* {block "no-return-functions"} */
|
||||
class Block_21223083706065ac02026147_77088292 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'no-return-functions' =>
|
||||
array (
|
||||
0 => 'Block_21223083706065ac02026147_77088292',
|
||||
),
|
||||
);
|
||||
public $prepend = 'true';
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['check_auth'][0], array( array('role'=>"CUSTOMER",'login_tpl'=>"login"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "no-return-functions"} */
|
||||
/* {block "body-class"} */
|
||||
class Block_17514610516065ac0202f680_07817740 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'body-class' =>
|
||||
array (
|
||||
0 => 'Block_17514610516065ac0202f680_07817740',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
page-order-payment<?php
|
||||
}
|
||||
}
|
||||
/* {/block "body-class"} */
|
||||
/* {block 'no-return-functions'} */
|
||||
class Block_9748883616065ac02032670_35818792 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'no-return-functions' =>
|
||||
array (
|
||||
0 => 'Block_9748883616065ac02032670_35818792',
|
||||
),
|
||||
);
|
||||
public $append = 'true';
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Cart"),$_smarty_tpl ) );
|
||||
$_prefixVariable1 = ob_get_clean();
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/cart"),$_smarty_tpl ) );
|
||||
$_prefixVariable2 = ob_get_clean();
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Secure Payment"),$_smarty_tpl ) );
|
||||
$_prefixVariable3 = ob_get_clean();
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/order/pay"),$_smarty_tpl ) );
|
||||
$_prefixVariable4 = ob_get_clean();
|
||||
$_smarty_tpl->_assignInScope('breadcrumbs', array(array('title'=>$_prefixVariable1,'url'=>$_prefixVariable2),array('title'=>$_prefixVariable3,'url'=>$_prefixVariable4)));
|
||||
}
|
||||
}
|
||||
/* {/block 'no-return-functions'} */
|
||||
/* {block 'additional-payment-info'} */
|
||||
class Block_12640417886065ac0208c819_89045082 extends Smarty_Internal_Block
|
||||
{
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block 'additional-payment-info'} */
|
||||
/* {block "main-content"} */
|
||||
class Block_9766509996065ac02047f98_57589597 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'main-content' =>
|
||||
array (
|
||||
0 => 'Block_9766509996065ac02047f98_57589597',
|
||||
),
|
||||
'additional-payment-info' =>
|
||||
array (
|
||||
0 => 'Block_12640417886065ac0208c819_89045082',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<div class="main">
|
||||
<article class="col-main clearfix" role="main" aria-labelledby="main-label">
|
||||
|
||||
<h1 id="main-label" class="page-header"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Your Cart"),$_smarty_tpl ) );?>
|
||||
</h1>
|
||||
|
||||
<?php $_smarty_tpl->_subTemplateRender("file:misc/checkout-progress.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('step'=>"last"), 0, false);
|
||||
?>
|
||||
|
||||
<?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin1, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"order",'name'=>"placed-order",'id'=>$_smarty_tpl->tpl_vars['placed_order_id']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin1->theliaLoop(array('type'=>"order",'name'=>"placed-order",'id'=>$_smarty_tpl->tpl_vars['placed_order_id']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_block_plugin2 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin2, 'ifHook'))) {
|
||||
throw new SmartyException('block tag \'ifhook\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifhook', array('rel'=>"order-placed.body"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin2->ifHook(array('rel'=>"order-placed.body"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-placed.body",'module'=>((string)$_smarty_tpl->tpl_vars['PAYMENT_MODULE']->value)),$_smarty_tpl ) );?>
|
||||
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin2->ifHook(array('rel'=>"order-placed.body"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin3 = isset($_smarty_tpl->smarty->registered_plugins['block']['elsehook'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elsehook'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin3, 'elseHook'))) {
|
||||
throw new SmartyException('block tag \'elsehook\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elsehook', array('rel'=>"order-placed.body"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin3->elseHook(array('rel'=>"order-placed.body"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<div id="payment-success" class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"You choose"),$_smarty_tpl ) );?>
|
||||
: <span class="payment-method label label-primary"><?php $_block_plugin4 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin4, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"payment-module",'type'=>"module",'id'=>$_smarty_tpl->tpl_vars['PAYMENT_MODULE']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin4->theliaLoop(array('name'=>"payment-module",'type'=>"module",'id'=>$_smarty_tpl->tpl_vars['PAYMENT_MODULE']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);
|
||||
$_block_repeat=false;
|
||||
echo $_block_plugin4->theliaLoop(array('name'=>"payment-module",'type'=>"module",'id'=>$_smarty_tpl->tpl_vars['PAYMENT_MODULE']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?></span></h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<h3><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Thank you for the trust you place in us."),$_smarty_tpl ) );?>
|
||||
</h3>
|
||||
<p><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"A summary of your order has been sent to the following address"),$_smarty_tpl ) );?>
|
||||
: <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['customer'][0], array( array('attr'=>"email"),$_smarty_tpl ) );?>
|
||||
</p>
|
||||
<p><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Your order will be confirmed by us upon receipt of your payment."),$_smarty_tpl ) );?>
|
||||
</p>
|
||||
<dl class="dl-horizontal">
|
||||
<dt><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Order number"),$_smarty_tpl ) );?>
|
||||
: </dt>
|
||||
<dd><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['REF']->value,$_smarty_tpl);?>
|
||||
</dd>
|
||||
<dt><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Date"),$_smarty_tpl ) );?>
|
||||
: </dt>
|
||||
<dd><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_date'][0], array( array('date'=>$_smarty_tpl->tpl_vars['CREATE_DATE']->value,'output'=>"date"),$_smarty_tpl ) );?>
|
||||
</dd>
|
||||
<dt><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Total"),$_smarty_tpl ) );?>
|
||||
: </dt>
|
||||
<dd><?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TOTAL_TAXED_AMOUNT']->value,$_smarty_tpl);
|
||||
$_prefixVariable5 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_prefixVariable5,'currency_id'=>$_smarty_tpl->tpl_vars['CURRENCY']->value),$_smarty_tpl ) );?>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_12640417886065ac0208c819_89045082', 'additional-payment-info', $this->tplIndex);
|
||||
?>
|
||||
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-placed.additional-payment-info",'module'=>((string)$_smarty_tpl->tpl_vars['PAYMENT_MODULE']->value),'placed_order_id'=>$_smarty_tpl->tpl_vars['placed_order_id']->value),$_smarty_tpl ) );?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin3->elseHook(array('rel'=>"order-placed.body"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin1->theliaLoop(array('type'=>"order",'name'=>"placed-order",'id'=>$_smarty_tpl->tpl_vars['placed_order_id']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['navigate'][0], array( array('to'=>"index"),$_smarty_tpl ) );?>
|
||||
" role="button" class="btn btn-default"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Go home"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
|
||||
</article>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "main-content"} */
|
||||
/* {block "stylesheet"} */
|
||||
class Block_2214784946065ac0209c114_79284600 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'stylesheet' =>
|
||||
array (
|
||||
0 => 'Block_2214784946065ac0209c114_79284600',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-placed.stylesheet"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "stylesheet"} */
|
||||
/* {block "after-javascript-include"} */
|
||||
class Block_12207135696065ac020a16e7_34086700 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'after-javascript-include' =>
|
||||
array (
|
||||
0 => 'Block_12207135696065ac020a16e7_34086700',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-placed.after-javascript-include"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "after-javascript-include"} */
|
||||
/* {block "javascript-initialization"} */
|
||||
class Block_3695037696065ac020a71c6_14572935 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'javascript-initialization' =>
|
||||
array (
|
||||
0 => 'Block_3695037696065ac020a71c6_14572935',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-placed.javascript-initialization"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "javascript-initialization"} */
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php /* Smarty version 3.1.33, created on 2021-04-01 13:16:02
|
||||
compiled from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/configs/variables.conf' */ ?>
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:02
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/configs/variables.conf' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab72742081_14746898',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'61883865d18012acb771edc71dd9ba5a5fdf6e17' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/configs/variables.conf',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab72742081_14746898 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->smarty->ext->configLoad->_loadConfigVars($_smarty_tpl, array (
|
||||
'sections' =>
|
||||
array (
|
||||
),
|
||||
'vars' =>
|
||||
array (
|
||||
'category_display_detail' => true,
|
||||
'category_display_subcategories' => false,
|
||||
'folder_display_detail' => true,
|
||||
'folder_display_subfolders' => false,
|
||||
'max_displayed_orders' => 20,
|
||||
'max_displayed_customers' => 20,
|
||||
'order_not_paid' => 'warning',
|
||||
'order_paid' => 'success',
|
||||
'order_processing' => 'primary',
|
||||
'order_sent' => 'info',
|
||||
'order_canceled' => 'danger',
|
||||
),
|
||||
));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:12
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/OrderComment/templates/frontOffice/default/OrderComment/cart-comment.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abb8d5a584_49958220',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'6455e5c4340b28ad997fd1a71eaa952acd36aeb5' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/OrderComment/templates/frontOffice/default/OrderComment/cart-comment.html',
|
||||
1 => 1610622865,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
'file:OrderComment/comment-input.html' => 1,
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abb8d5a584_49958220 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_block_plugin21 = isset($_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin21, 'generateForm'))) {
|
||||
throw new SmartyException('block tag \'form\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form', array('name'=>"order.comment.form"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin21->generateForm(array('name'=>"order.comment.form"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<form id="order-comment-form" action="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>'/ordercomment/set/comment'),$_smarty_tpl ) );?>
|
||||
" method="post">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_hidden_fields'][0], array( array('form'=>$_smarty_tpl->tpl_vars['form']->value),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php $_smarty_tpl->_subTemplateRender("file:OrderComment/comment-input.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
||||
?>
|
||||
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['navigate'][0], array( array('to'=>"index"),$_smarty_tpl ) );?>
|
||||
" role="button" class="btn btn-default"><i class="fa fa-chevron-left"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Continue Shopping"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
<button type="submit" class="btn btn-primary pull-right"><i class="fa fa-chevron-right"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Proceed checkout"),$_smarty_tpl ) );?>
|
||||
</button>
|
||||
</form>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin21->generateForm(array('name'=>"order.comment.form"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,173 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:17
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/ajax/order-delivery-module-list.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abbd6eb588_51082280',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'6650e0dbb33b5b85aa50118a5d39759f9442d40d' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/ajax/order-delivery-module-list.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abbd6eb588_51082280 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['default_translation_domain'][0], array( array('domain'=>'fo.default'),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin1, 'generateForm'))) {
|
||||
throw new SmartyException('block tag \'form\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form', array('name'=>"thelia.order.delivery"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin1->generateForm(array('name'=>"thelia.order.delivery"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
|
||||
<?php $_block_plugin2 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin2, 'theliaIfLoop'))) {
|
||||
throw new SmartyException('block tag \'ifloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"deliveries"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin2->theliaIfLoop(array('rel'=>"deliveries"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<table class="table table-condensed table-delivery">
|
||||
<tbody>
|
||||
<?php $_block_plugin3 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin3, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"delivery",'name'=>"deliveries",'force_return'=>"true",'address'=>$_smarty_tpl->tpl_vars['address']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin3->theliaLoop(array('type'=>"delivery",'name'=>"deliveries",'force_return'=>"true",'address'=>$_smarty_tpl->tpl_vars['address']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
|
||||
<?php $_smarty_tpl->_assignInScope('isDeliveryMethodChecked', "0");?>
|
||||
<tr id="delivery-module-<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<td>
|
||||
<div class="radio">
|
||||
<?php $_block_plugin4 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin4, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>'delivery-module'));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin4->renderFormField(array('field'=>'delivery-module'), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['isPost']->value) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['value']->value == $_smarty_tpl->tpl_vars['ID']->value) {?>
|
||||
<?php $_smarty_tpl->_assignInScope('isDeliveryMethodChecked', "1");?>
|
||||
<?php }?>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['LOOP_COUNT']->value == 1) {?>
|
||||
<?php $_smarty_tpl->_assignInScope('isDeliveryMethodChecked', "1");?>
|
||||
<?php }?>
|
||||
<label for="delivery-method_<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<input type="radio" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
|
||||
" id="delivery-method_<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);?>
|
||||
" class="js-change-delivery-method" <?php if ($_smarty_tpl->tpl_vars['isDeliveryMethodChecked']->value) {?> checked="checked"<?php }?> value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<p>
|
||||
<strong><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</strong>
|
||||
<br>
|
||||
<span class="help-block"><?php echo $_smarty_tpl->tpl_vars['DESCRIPTION']->value;?>
|
||||
</span>
|
||||
<?php if ($_smarty_tpl->tpl_vars['DELIVERY_DATE']->value) {?>
|
||||
<br>
|
||||
<span class="help-block">
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_date'][0], array( array('date'=>$_smarty_tpl->tpl_vars['DELIVERY_DATE']->value,'output'=>"date"),$_smarty_tpl ) );
|
||||
$_prefixVariable1 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Expected delivery date: %delivery_date",'delivery_date'=>$_prefixVariable1),$_smarty_tpl ) );?>
|
||||
|
||||
</span>
|
||||
<?php }?>
|
||||
</p>
|
||||
</label>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin4->renderFormField(array('field'=>'delivery-module'), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</div>
|
||||
</td>
|
||||
<td class="image">
|
||||
<?php $_block_plugin5 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin5, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"image",'name'=>"deliveryspicture",'source'=>"module",'source_id'=>$_smarty_tpl->tpl_vars['ID']->value,'force_return'=>"true",'width'=>"100",'height'=>"72"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin5->theliaLoop(array('type'=>"image",'name'=>"deliveryspicture",'source'=>"module",'source_id'=>$_smarty_tpl->tpl_vars['ID']->value,'force_return'=>"true",'width'=>"100",'height'=>"72"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<img src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
|
||||
" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin5->theliaLoop(array('type'=>"image",'name'=>"deliveryspicture",'source'=>"module",'source_id'=>$_smarty_tpl->tpl_vars['ID']->value,'force_return'=>"true",'width'=>"100",'height'=>"72"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</td>
|
||||
<td>
|
||||
<div class="price">
|
||||
<?php if ($_smarty_tpl->tpl_vars['POSTAGE']->value) {?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['currency'][0], array( array('attr'=>'symbol'),$_smarty_tpl ) );
|
||||
$_prefixVariable2 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['POSTAGE']->value,'symbol'=>$_prefixVariable2),$_smarty_tpl ) );?>
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-delivery.extra",'module'=>((string)$_smarty_tpl->tpl_vars['ID']->value)),$_smarty_tpl ) );?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"order-delivery.javascript",'module'=>((string)$_smarty_tpl->tpl_vars['ID']->value)),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin3->theliaLoop(array('type'=>"delivery",'name'=>"deliveries",'force_return'=>"true",'address'=>$_smarty_tpl->tpl_vars['address']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
$_block_repeat=false;
|
||||
echo $_block_plugin2->theliaIfLoop(array('rel'=>"deliveries"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
$_block_plugin6 = isset($_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin6, 'theliaElseloop'))) {
|
||||
throw new SmartyException('block tag \'elseloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elseloop', array('rel'=>"deliveries"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin6->theliaElseloop(array('rel'=>"deliveries"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?><div class="alert alert-warning"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"<strong>Sorry!</strong> We are not able to give you a delivery method for your order."),$_smarty_tpl ) );?>
|
||||
</div><?php $_block_repeat=false;
|
||||
echo $_block_plugin6->theliaElseloop(array('rel'=>"deliveries"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
$_block_repeat=false;
|
||||
echo $_block_plugin1->generateForm(array('name'=>"thelia.order.delivery"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,210 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:10
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookProductsNew/templates/frontOffice/default/home-body.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab7a79de64_70083000',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'7859e7a9fb523747ab2d475209575980b4c7e4ea' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookProductsNew/templates/frontOffice/default/home-body.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab7a79de64_70083000 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_block_plugin3 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin3, 'theliaIfLoop'))) {
|
||||
throw new SmartyException('block tag \'ifloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"product_new"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin3->theliaIfLoop(array('rel'=>"product_new"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<section id="products-new">
|
||||
<div class="products-heading">
|
||||
<h2><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Latest",'d'=>"hookproductsnew.fo.default"),$_smarty_tpl ) );?>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/view_all",'type'=>"new"),$_smarty_tpl ) );?>
|
||||
" class="btn-all"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"+ View All",'d'=>"hookproductsnew.fo.default"),$_smarty_tpl ) );?>
|
||||
</a></h2>
|
||||
</div>
|
||||
<div class="products-content">
|
||||
<ul class="list-unstyled products-grid row">
|
||||
<?php $_block_plugin4 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin4, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"product_new",'type'=>"product",'limit'=>"4",'new'=>"yes"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin4->theliaLoop(array('name'=>"product_new",'type'=>"product",'limit'=>"4",'new'=>"yes"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<li class="item col-md-3 col-sm-4">
|
||||
<article itemscope itemtype="http://schema.org/Product">
|
||||
<!-- Use the meta tag to specify content that is not visible on the page in any way -->
|
||||
<?php $_smarty_tpl->_assignInScope('product_id', $_smarty_tpl->tpl_vars['ID']->value);?>
|
||||
<?php $_block_plugin5 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin5, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"brand.feature",'type'=>"feature",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'title'=>"brand"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin5->theliaLoop(array('name'=>"brand.feature",'type'=>"feature",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'title'=>"brand"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_block_plugin6 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin6, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"brand.value",'type'=>"feature_value",'feature'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'product'=>((string)$_smarty_tpl->tpl_vars['product_id']->value)));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin6->theliaLoop(array('name'=>"brand.value",'type'=>"feature_value",'feature'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'product'=>((string)$_smarty_tpl->tpl_vars['product_id']->value)), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<meta itemprop="brand" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin6->theliaLoop(array('name'=>"brand.value",'type'=>"feature_value",'feature'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'product'=>((string)$_smarty_tpl->tpl_vars['product_id']->value)), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin5->theliaLoop(array('name'=>"brand.feature",'type'=>"feature",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'title'=>"brand"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin7 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin7, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"brand.feature",'type'=>"feature",'product'=>$_smarty_tpl->tpl_vars['ID']->value,'title'=>"isbn"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin7->theliaLoop(array('name'=>"brand.feature",'type'=>"feature",'product'=>$_smarty_tpl->tpl_vars['ID']->value,'title'=>"isbn"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_block_plugin8 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin8, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"brand.value",'type'=>"feature_value",'feature'=>$_smarty_tpl->tpl_vars['ID']->value,'product'=>$_smarty_tpl->tpl_vars['product_id']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin8->theliaLoop(array('name'=>"brand.value",'type'=>"feature_value",'feature'=>$_smarty_tpl->tpl_vars['ID']->value,'product'=>$_smarty_tpl->tpl_vars['product_id']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<meta itemprop="productID" content="isbn:<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin8->theliaLoop(array('name'=>"brand.value",'type'=>"feature_value",'feature'=>$_smarty_tpl->tpl_vars['ID']->value,'product'=>$_smarty_tpl->tpl_vars['product_id']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin7->theliaLoop(array('name'=>"brand.feature",'type'=>"feature",'product'=>$_smarty_tpl->tpl_vars['ID']->value,'title'=>"isbn"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
|
||||
" itemprop="url" tabindex="-1" class="product-image overlay">
|
||||
<?php $_block_plugin9 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin9, 'theliaIfLoop'))) {
|
||||
throw new SmartyException('block tag \'ifloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"image_product_new"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin9->theliaIfLoop(array('rel'=>"image_product_new"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<img itemprop="image" class="img-responsive center-block"
|
||||
<?php $_block_plugin10 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin10, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"image_product_new",'type'=>"image",'limit'=>"1",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'force_return'=>"true",'width'=>"280",'height'=>"196",'resize_mode'=>"borders"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin10->theliaLoop(array('name'=>"image_product_new",'type'=>"image",'limit'=>"1",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'force_return'=>"true",'width'=>"280",'height'=>"196",'resize_mode'=>"borders"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['IMAGE_URL']->value,$_smarty_tpl);?>
|
||||
"
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin10->theliaLoop(array('name'=>"image_product_new",'type'=>"image",'limit'=>"1",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'force_return'=>"true",'width'=>"280",'height'=>"196",'resize_mode'=>"borders"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
alt="Product #<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LOOP_COUNT']->value,$_smarty_tpl);?>
|
||||
" >
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin9->theliaIfLoop(array('rel'=>"image_product_new"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin11 = isset($_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin11, 'theliaElseloop'))) {
|
||||
throw new SmartyException('block tag \'elseloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elseloop', array('rel'=>"image_product_new"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin11->theliaElseloop(array('rel'=>"image_product_new"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<img itemprop="image" class="img-responsive center-block" src="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['image'][0], array( array('file'=>'assets/dist/img/280x196.png'),$_smarty_tpl ) );?>
|
||||
" alt="Product #<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LOOP_COUNT']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin11->theliaElseloop(array('rel'=>"image_product_new"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</a>
|
||||
|
||||
<a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
|
||||
" class="product-info">
|
||||
<h3 class="name"><span itemprop="name"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</span></h3>
|
||||
<div class="short-description" itemprop="description"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['CHAPO']->value,$_smarty_tpl);?>
|
||||
</div>
|
||||
|
||||
<div class="product-price">
|
||||
<div class="price-container" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
|
||||
<?php $_block_plugin12 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin12, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"category",'name'=>"category_tag",'id'=>$_smarty_tpl->tpl_vars['DEFAULT_CATEGORY']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin12->theliaLoop(array('type'=>"category",'name'=>"category_tag",'id'=>$_smarty_tpl->tpl_vars['DEFAULT_CATEGORY']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<meta itemprop="category" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin12->theliaLoop(array('type'=>"category",'name'=>"category_tag",'id'=>$_smarty_tpl->tpl_vars['DEFAULT_CATEGORY']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<meta itemprop="itemCondition" itemscope itemtype="http://schema.org/NewCondition">
|
||||
<meta itemprop="priceCurrency" content="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['currency'][0], array( array('attr'=>"code"),$_smarty_tpl ) );?>
|
||||
">
|
||||
<link itemprop="availability" href="http://schema.org/InStock" content="in_stock" />
|
||||
<span class="regular-price"><span itemprop="price" class="price"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['BEST_TAXED_PRICE']->value),$_smarty_tpl ) );?>
|
||||
</span></span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</article><!-- /product -->
|
||||
</li>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin4->theliaLoop(array('name'=>"product_new",'type'=>"product",'limit'=>"4",'new'=>"yes"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</ul>
|
||||
</div>
|
||||
</section><!-- #products-new -->
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin3->theliaIfLoop(array('rel'=>"product_new"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:03
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/ReCaptcha/templates/frontOffice/default/recaptcha-js.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab730225d6_28422183',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'7922207641c7b348dc221989375e67f1cd96eb4d' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/ReCaptcha/templates/frontOffice/default/recaptcha-js.html',
|
||||
1 => 1613560181,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab730225d6_28422183 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
echo '<script'; ?>
|
||||
src="https://www.google.com/recaptcha/api.js?hl=<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('attr'=>"code"),$_smarty_tpl ) );?>
|
||||
" async defer><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
window.onload = function() {
|
||||
var captchaDiv = document.getElementById("recaptcha-invisible");
|
||||
if (captchaDiv !== null) {
|
||||
var form = captchaDiv.parentElement;
|
||||
|
||||
form.addEventListener("submit", function(event) {
|
||||
if (!grecaptcha.getResponse()) {
|
||||
event.preventDefault(); //prevent form submit
|
||||
grecaptcha.execute();
|
||||
}
|
||||
});
|
||||
|
||||
onCompleted = function() {
|
||||
if (form.reportValidity() !== false) {
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php }
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:03
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookContact/templates/frontOffice/default/main-footer-body.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab736975e5_19010987',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'82cf8beecc8d277dcc0bbb51faf58950fcbbbb3a' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookContact/templates/frontOffice/default/main-footer-body.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab736975e5_19010987 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><div itemscope itemtype="http://schema.org/Organization">
|
||||
<meta itemprop="name" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['store_name']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<ul>
|
||||
<li class="contact-address">
|
||||
<address class="adr" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
|
||||
<span class="street-address" itemprop="streetAddress"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_address1"),$_smarty_tpl ) );?>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_address2"),$_smarty_tpl ) );?>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_address3"),$_smarty_tpl ) );?>
|
||||
</span><br>
|
||||
<span class="postal-code" itemprop="postalCode"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_zipcode"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
<span class="locality" itemprop="addressLocality">
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_city"),$_smarty_tpl ) );?>
|
||||
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_country"),$_smarty_tpl ) );
|
||||
$_prefixVariable6 = ob_get_clean();
|
||||
if ($_prefixVariable6) {?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_country"),$_smarty_tpl ) );
|
||||
$_prefixVariable7 = ob_get_clean();
|
||||
$_block_plugin25 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin25, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"country",'name'=>"address.country.title",'id'=>$_prefixVariable7));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin25->theliaLoop(array('type'=>"country",'name'=>"address.country.title",'id'=>$_prefixVariable7), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>, <span class="country-name"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</span><?php $_block_repeat=false;
|
||||
echo $_block_plugin25->theliaLoop(array('type'=>"country",'name'=>"address.country.title",'id'=>$_prefixVariable7), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php }?>
|
||||
</span>
|
||||
</address>
|
||||
</li>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_phone"),$_smarty_tpl ) );
|
||||
$_prefixVariable8 = ob_get_clean();
|
||||
if ($_prefixVariable8) {?>
|
||||
<li class="contact-phone">
|
||||
<a href="tel:<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_phone"),$_smarty_tpl ) );?>
|
||||
" class="tel" itemprop="telephone"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_phone"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<li class="contact-contact">
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>'/contact'),$_smarty_tpl ) );?>
|
||||
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Find us, Contact us",'d'=>"hookcontact.fo.default"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:12
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/misc/checkout-progress.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abb88dd3a0_64087295',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'851cfcf7be1abe2b8bcfb651390a62a3bac73535' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/misc/checkout-progress.tpl',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abb88dd3a0_64087295 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['step']->value == "cart") {?>
|
||||
<?php $_smarty_tpl->_assignInScope('step1', " active");?>
|
||||
<?php $_smarty_tpl->_assignInScope('step2', " disabled");?>
|
||||
<?php $_smarty_tpl->_assignInScope('step3', " disabled");?>
|
||||
<?php $_smarty_tpl->_assignInScope('step4', " disabled");
|
||||
} elseif ($_smarty_tpl->tpl_vars['step']->value == "delivery") {?>
|
||||
<?php $_smarty_tpl->_assignInScope('step1', '');?>
|
||||
<?php $_smarty_tpl->_assignInScope('step2', " active");?>
|
||||
<?php $_smarty_tpl->_assignInScope('step3', " disabled");?>
|
||||
<?php $_smarty_tpl->_assignInScope('step4', " disabled");
|
||||
} elseif ($_smarty_tpl->tpl_vars['step']->value == "invoice") {?>
|
||||
<?php $_smarty_tpl->_assignInScope('step1', '');?>
|
||||
<?php $_smarty_tpl->_assignInScope('step2', '');?>
|
||||
<?php $_smarty_tpl->_assignInScope('step3', " active");?>
|
||||
<?php $_smarty_tpl->_assignInScope('step4', " disabled");
|
||||
} elseif ($_smarty_tpl->tpl_vars['step']->value == "last") {?>
|
||||
<?php $_smarty_tpl->_assignInScope('step1', " disabled");?>
|
||||
<?php $_smarty_tpl->_assignInScope('step2', " disabled");?>
|
||||
<?php $_smarty_tpl->_assignInScope('step3', " disabled");?>
|
||||
<?php $_smarty_tpl->_assignInScope('step4', " active");
|
||||
}?>
|
||||
|
||||
<div class="btn-group checkout-progress">
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/cart"),$_smarty_tpl ) );?>
|
||||
" role="button" class="btn btn-step<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['step1']->value,$_smarty_tpl);?>
|
||||
"><span class="step-nb">1</span> <span class="step-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Your Cart"),$_smarty_tpl ) );?>
|
||||
</span></a>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/order/delivery"),$_smarty_tpl ) );?>
|
||||
" role="button" class="btn btn-step<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['step2']->value,$_smarty_tpl);?>
|
||||
"><span class="step-nb">2</span> <span class="step-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Billing and delivery"),$_smarty_tpl ) );?>
|
||||
</span></a>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/order/invoice"),$_smarty_tpl ) );?>
|
||||
" role="button" class="btn btn-step<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['step3']->value,$_smarty_tpl);?>
|
||||
"><span class="step-nb">3</span> <span class="step-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Check my order"),$_smarty_tpl ) );?>
|
||||
</span></a>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/order/placed"),$_smarty_tpl ) );?>
|
||||
" role="button" class="btn btn-step<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['step4']->value,$_smarty_tpl);?>
|
||||
"><span class="step-nb">4</span> <span class="step-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Secure payment"),$_smarty_tpl ) );?>
|
||||
</span></a>
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:02
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/includes/meta-seo.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abae10dc45_20468069',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'901a9fcf5196da3da3b4c1e50aab05448f12578a' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/includes/meta-seo.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abae10dc45_20468069 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/core/vendor/smarty/smarty/libs/plugins/modifier.truncate.php','function'=>'smarty_modifier_truncate',),));
|
||||
if ($_smarty_tpl->tpl_vars['META_DESCRIPTION']->value) {?>
|
||||
<meta name="description" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['META_DESCRIPTION']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['CHAPO']->value) {?>
|
||||
<meta name="description" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(smarty_modifier_truncate($_smarty_tpl->tpl_vars['CHAPO']->value,150,''),$_smarty_tpl);?>
|
||||
">
|
||||
<?php }
|
||||
if ($_smarty_tpl->tpl_vars['META_KEYWORDS']->value) {?><meta name="keywords" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['META_KEYWORDS']->value,$_smarty_tpl);?>
|
||||
"><?php }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,171 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:03
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookCustomer/templates/frontOffice/default/main-navbar-secondary.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab731d61f1_34291122',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'90aea68af8d58c819033e1735aff5703cfa948fc' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookCustomer/templates/frontOffice/default/main-navbar-secondary.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab731d61f1_34291122 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><ul class="nav navbar-nav navbar-customer navbar-right">
|
||||
<?php $_block_plugin8 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin8, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"auth",'name'=>"customer_info_block",'role'=>"CUSTOMER"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin8->theliaLoop(array('type'=>"auth",'name'=>"customer_info_block",'role'=>"CUSTOMER"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<li><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/logout"),$_smarty_tpl ) );?>
|
||||
" class="logout"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Log out!",'d'=>"hookcustomer.fo.default"),$_smarty_tpl ) );?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/account"),$_smarty_tpl ) );?>
|
||||
" class="account"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"My Account",'d'=>"hookcustomer.fo.default"),$_smarty_tpl ) );?>
|
||||
</a></li>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin8->theliaLoop(array('type'=>"auth",'name'=>"customer_info_block",'role'=>"CUSTOMER"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin9 = isset($_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin9, 'theliaElseloop'))) {
|
||||
throw new SmartyException('block tag \'elseloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elseloop', array('rel'=>"customer_info_block"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin9->theliaElseloop(array('rel'=>"customer_info_block"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<li><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/register"),$_smarty_tpl ) );?>
|
||||
" class="register"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Register!",'d'=>"hookcustomer.fo.default"),$_smarty_tpl ) );?>
|
||||
</a></li>
|
||||
<li class="dropdown">
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/login"),$_smarty_tpl ) );?>
|
||||
" class="login dropdown-toggle"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Log In!",'d'=>"hookcustomer.fo.default"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
<?php $_block_plugin10 = isset($_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin10, 'generateForm'))) {
|
||||
throw new SmartyException('block tag \'form\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form', array('name'=>"thelia.front.customer.login"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin10->generateForm(array('name'=>"thelia.front.customer.login"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<form id="form-login-mini" action="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/login"),$_smarty_tpl ) );?>
|
||||
" method="post" <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_enctype'][0], array( array(),$_smarty_tpl ) );?>
|
||||
>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_hidden_fields'][0], array( array(),$_smarty_tpl ) );?>
|
||||
|
||||
<?php $_block_plugin11 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin11, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>"success_url"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin11->renderFormField(array('field'=>"success_url"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<input type="hidden" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
|
||||
" value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['navigate'][0], array( array('to'=>"current"),$_smarty_tpl ) );?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin11->renderFormField(array('field'=>"success_url"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin12 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin12, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>"email"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin12->renderFormField(array('field'=>"email"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<div class="form-group group-email">
|
||||
<label for="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
|
||||
-mini"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Email address",'d'=>"hookcustomer.fo.default"),$_smarty_tpl ) );?>
|
||||
</label>
|
||||
<input type="email" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
|
||||
" id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
|
||||
-mini" class="form-control input-sm" maxlength="255" aria-required="true" required>
|
||||
</div>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin12->renderFormField(array('field'=>"email"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin13 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin13, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>"password"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin13->renderFormField(array('field'=>"password"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<div class="form-group group-password">
|
||||
<label for="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
|
||||
-mini"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Password",'d'=>"hookcustomer.fo.default"),$_smarty_tpl ) );?>
|
||||
</label>
|
||||
<input type="password" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
|
||||
" id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
|
||||
-mini" class="form-control input-sm" maxlength="255" aria-required="true" required>
|
||||
</div>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin13->renderFormField(array('field'=>"password"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin14 = isset($_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin14, 'renderFormField'))) {
|
||||
throw new SmartyException('block tag \'form_field\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('form_field', array('field'=>"account"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin14->renderFormField(array('field'=>"account"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<input type="hidden" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
|
||||
" value="1">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin14->renderFormField(array('field'=>"account"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<div class="form-group group-btn">
|
||||
<button type="submit" class="btn btn-login-mini btn-sm btn-primary"><i class="fa fa-sign-in"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Sign In",'d'=>"hookcustomer.fo.default"),$_smarty_tpl ) );?>
|
||||
</button>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/register"),$_smarty_tpl ) );?>
|
||||
" class="btn btn-register-mini btn-default btn-sm"><i class="fa fa-user-plus"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Register",'d'=>"hookcustomer.fo.default"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/password"),$_smarty_tpl ) );?>
|
||||
" class="mini-forgot-password"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Forgot your Password?",'d'=>"hookcustomer.fo.default"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
</form>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin10->generateForm(array('name'=>"thelia.front.customer.login"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</div>
|
||||
</li>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin9->theliaElseloop(array('rel'=>"customer_info_block"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</ul><?php }
|
||||
}
|
||||
21
.well-known/cache/dev/smarty/compile/94fc7af0d3d1323b0eab0e0a251af68aafe50b45_0.string.php
vendored
Normal file
21
.well-known/cache/dev/smarty/compile/94fc7af0d3d1323b0eab0e0a251af68aafe50b45_0.string.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:40
|
||||
from '94fc7af0d3d1323b0eab0e0a251af68aafe50b45' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abd44da337_62063108',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abd44da337_62063108 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>Nouvelle commande <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['order_ref']->value,$_smarty_tpl);?>
|
||||
reçue sur <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_name"),$_smarty_tpl ) );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,426 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:40
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/email/custom/order_notification.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abd45dd7c9_21757268',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'a29c882af36b30676747f714be7e814697eccb45' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/email/custom/order_notification.html',
|
||||
1 => 1614171978,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abd45dd7c9_21757268 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_loadInheritance();
|
||||
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_16011022496065abd44fd6c0_01040123', "browser");
|
||||
?>
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_7214393026065abd4500986_40350528', "image-header");
|
||||
?>
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_14738887326065abd45037c0_52205238', "logo-header");
|
||||
?>
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_781990756065abd45065c4_28246600', "pre-header");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_9406735476065abd4509707_79990102', "email-subject");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_17246838576065abd4513301_91791955', "email-title");
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_3180445576065abd4518282_16891119', "email-content");
|
||||
?>
|
||||
|
||||
<?php $_smarty_tpl->inheritance->endChild($_smarty_tpl, "email-layout.tpl");
|
||||
}
|
||||
/* {block "browser"} */
|
||||
class Block_16011022496065abd44fd6c0_01040123 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'browser' =>
|
||||
array (
|
||||
0 => 'Block_16011022496065abd44fd6c0_01040123',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "browser"} */
|
||||
/* {block "image-header"} */
|
||||
class Block_7214393026065abd4500986_40350528 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'image-header' =>
|
||||
array (
|
||||
0 => 'Block_7214393026065abd4500986_40350528',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "image-header"} */
|
||||
/* {block "logo-header"} */
|
||||
class Block_14738887326065abd45037c0_52205238 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'logo-header' =>
|
||||
array (
|
||||
0 => 'Block_14738887326065abd45037c0_52205238',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "logo-header"} */
|
||||
/* {block "pre-header"} */
|
||||
class Block_781990756065abd45065c4_28246600 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'pre-header' =>
|
||||
array (
|
||||
0 => 'Block_781990756065abd45065c4_28246600',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
}
|
||||
}
|
||||
/* {/block "pre-header"} */
|
||||
/* {block "email-subject"} */
|
||||
class Block_9406735476065abd4509707_79990102 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'email-subject' =>
|
||||
array (
|
||||
0 => 'Block_9406735476065abd4509707_79990102',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['order_ref']->value,$_smarty_tpl);
|
||||
$_prefixVariable1 = ob_get_clean();
|
||||
ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"store_name"),$_smarty_tpl ) );
|
||||
$_prefixVariable2 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"New order placed on %store_name Nº %ref",'ref'=>$_prefixVariable1,'store_name'=>$_prefixVariable2),$_smarty_tpl ) );
|
||||
}
|
||||
}
|
||||
/* {/block "email-subject"} */
|
||||
/* {block "email-title"} */
|
||||
class Block_17246838576065abd4513301_91791955 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'email-title' =>
|
||||
array (
|
||||
0 => 'Block_17246838576065abd4513301_91791955',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Hello, a new order has been placed."),$_smarty_tpl ) );
|
||||
}
|
||||
}
|
||||
/* {/block "email-title"} */
|
||||
/* {block "email-content"} */
|
||||
class Block_3180445576065abd4518282_16891119 extends Smarty_Internal_Block
|
||||
{
|
||||
public $subBlocks = array (
|
||||
'email-content' =>
|
||||
array (
|
||||
0 => 'Block_3180445576065abd4518282_16891119',
|
||||
),
|
||||
);
|
||||
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<?php $_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin1, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"order.invoice",'type'=>"order",'id'=>$_smarty_tpl->tpl_vars['order_id']->value,'customer'=>"*"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin1->theliaLoop(array('name'=>"order.invoice",'type'=>"order",'id'=>$_smarty_tpl->tpl_vars['order_id']->value,'customer'=>"*"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_block_plugin2 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin2, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"currency.order",'type'=>"currency",'id'=>$_smarty_tpl->tpl_vars['CURRENCY']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin2->theliaLoop(array('name'=>"currency.order",'type'=>"currency",'id'=>$_smarty_tpl->tpl_vars['CURRENCY']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_smarty_tpl->_assignInScope('orderCurrencyIsoCode', $_smarty_tpl->tpl_vars['ISOCODE']->value);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin2->theliaLoop(array('name'=>"currency.order",'type'=>"currency",'id'=>$_smarty_tpl->tpl_vars['CURRENCY']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php $_block_plugin3 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin3, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"customer",'name'=>"customer.invoice",'id'=>$_smarty_tpl->tpl_vars['CUSTOMER']->value,'current'=>"0"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin3->theliaLoop(array('type'=>"customer",'name'=>"customer.invoice",'id'=>$_smarty_tpl->tpl_vars['CUSTOMER']->value,'current'=>"0"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_smarty_tpl->_assignInScope('customerRef', $_smarty_tpl->tpl_vars['REF']->value);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin3->theliaLoop(array('type'=>"customer",'name'=>"customer.invoice",'id'=>$_smarty_tpl->tpl_vars['CUSTOMER']->value,'current'=>"0"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<p><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/admin/order/update/%id",'id'=>$_smarty_tpl->tpl_vars['ID']->value),$_smarty_tpl ) );?>
|
||||
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"View this order in your shop back-office."),$_smarty_tpl ) );?>
|
||||
</a></p>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"email-html.order-notification.before-address",'order'=>$_smarty_tpl->tpl_vars['order_id']->value),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td valign="top" width="55%">
|
||||
<strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Customer delivery address:"),$_smarty_tpl ) );?>
|
||||
</strong><br>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_address'][0], array( array('order_address'=>$_smarty_tpl->tpl_vars['DELIVERY_ADDRESS']->value,'locale'=>$_smarty_tpl->tpl_vars['locale']->value),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php $_block_plugin4 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin4, 'ifHook'))) {
|
||||
throw new SmartyException('block tag \'ifhook\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifhook', array('rel'=>"email-html.order-notification.delivery-address"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin4->ifHook(array('rel'=>"email-html.order-notification.delivery-address"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['DELIVERY_MODULE']->value,$_smarty_tpl);
|
||||
$_prefixVariable3 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"email-html.order-notification.delivery-address",'module'=>$_prefixVariable3,'order'=>$_smarty_tpl->tpl_vars['order_id']->value),$_smarty_tpl ) );?>
|
||||
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin4->ifHook(array('rel'=>"email-html.order-notification.delivery-address"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Customer billing address:"),$_smarty_tpl ) );?>
|
||||
</strong><br />
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_address'][0], array( array('order_address'=>$_smarty_tpl->tpl_vars['INVOICE_ADDRESS']->value,'locale'=>$_smarty_tpl->tpl_vars['locale']->value),$_smarty_tpl ) );?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"email-html.order-notification.after-address",'order'=>$_smarty_tpl->tpl_vars['order_id']->value),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<p>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Order Total:"),$_smarty_tpl ) );?>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['TOTAL_TAXED_AMOUNT']->value,'currency_id'=>$_smarty_tpl->tpl_vars['CURRENCY']->value),$_smarty_tpl ) );?>
|
||||
<br />
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Order Number:"),$_smarty_tpl ) );?>
|
||||
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['REF']->value,$_smarty_tpl);?>
|
||||
<br />
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Paid With:"),$_smarty_tpl ) );?>
|
||||
<?php $_block_plugin5 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin5, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"payment-module",'type'=>"module",'id'=>$_smarty_tpl->tpl_vars['PAYMENT_MODULE']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin5->theliaLoop(array('name'=>"payment-module",'type'=>"module",'id'=>$_smarty_tpl->tpl_vars['PAYMENT_MODULE']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);
|
||||
$_block_repeat=false;
|
||||
echo $_block_plugin5->theliaLoop(array('name'=>"payment-module",'type'=>"module",'id'=>$_smarty_tpl->tpl_vars['PAYMENT_MODULE']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?><br />
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Purchase Date:"),$_smarty_tpl ) );?>
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_date'][0], array( array('date'=>$_smarty_tpl->tpl_vars['CREATE_DATE']->value,'output'=>"datetime"),$_smarty_tpl ) );?>
|
||||
<br />
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Delivery method:"),$_smarty_tpl ) );?>
|
||||
<?php $_block_plugin6 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin6, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"delivery-module",'type'=>"module",'id'=>$_smarty_tpl->tpl_vars['DELIVERY_MODULE']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin6->theliaLoop(array('name'=>"delivery-module",'type'=>"module",'id'=>$_smarty_tpl->tpl_vars['DELIVERY_MODULE']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?><strong><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</strong><?php $_block_repeat=false;
|
||||
echo $_block_plugin6->theliaLoop(array('name'=>"delivery-module",'type'=>"module",'id'=>$_smarty_tpl->tpl_vars['DELIVERY_MODULE']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?><br />
|
||||
</p>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"email-html.order-notification.before-products",'order'=>$_smarty_tpl->tpl_vars['order_id']->value),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:13px;line-height:2em">
|
||||
<tr style="color:#999;font-size:11px">
|
||||
<td style="color:#999;border-bottom:1px solid #000"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"What You Purchased"),$_smarty_tpl ) );?>
|
||||
</td>
|
||||
<td align="right" style="color:#999;border-bottom:1px solid #000"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Price in"),$_smarty_tpl ) );?>
|
||||
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['orderCurrencyIsoCode']->value,$_smarty_tpl);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php $_smarty_tpl->_assignInScope('subtotal', 0);?>
|
||||
<?php $_block_plugin7 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin7, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"order_product",'name'=>"order-products",'order'=>$_smarty_tpl->tpl_vars['ID']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin7->theliaLoop(array('type'=>"order_product",'name'=>"order-products",'order'=>$_smarty_tpl->tpl_vars['ID']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['WAS_IN_PROMO']->value == 1) {?>
|
||||
<?php $_smarty_tpl->_assignInScope('realPrice', $_smarty_tpl->tpl_vars['PROMO_PRICE']->value);?>
|
||||
<?php $_smarty_tpl->_assignInScope('realTax', $_smarty_tpl->tpl_vars['PROMO_PRICE_TAX']->value);?>
|
||||
<?php $_smarty_tpl->_assignInScope('realTaxedPrice', $_smarty_tpl->tpl_vars['TAXED_PROMO_PRICE']->value);?>
|
||||
<?php } else { ?>
|
||||
<?php $_smarty_tpl->_assignInScope('realPrice', $_smarty_tpl->tpl_vars['PRICE']->value);?>
|
||||
<?php $_smarty_tpl->_assignInScope('realTax', $_smarty_tpl->tpl_vars['PRICE_TAX']->value);?>
|
||||
<?php $_smarty_tpl->_assignInScope('realTaxedPrice', $_smarty_tpl->tpl_vars['TAXED_PRICE']->value);?>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<td style="border-bottom:1px solid #000">
|
||||
<b><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</b> <i>(<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['REF']->value,$_smarty_tpl);
|
||||
if ($_smarty_tpl->tpl_vars['REF']->value != $_smarty_tpl->tpl_vars['PRODUCT_SALE_ELEMENTS_REF']->value) {?>, <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['PRODUCT_SALE_ELEMENTS_REF']->value,$_smarty_tpl);
|
||||
}?>)</i>
|
||||
<?php $_block_plugin8 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin8, 'theliaIfLoop'))) {
|
||||
throw new SmartyException('block tag \'ifloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"combinations"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin8->theliaIfLoop(array('rel'=>"combinations"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?><br />
|
||||
<?php $_block_plugin9 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin9, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"order_product_attribute_combination",'name'=>"combinations",'order_product'=>$_smarty_tpl->tpl_vars['ID']->value));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin9->theliaLoop(array('type'=>"order_product_attribute_combination",'name'=>"combinations",'order_product'=>$_smarty_tpl->tpl_vars['ID']->value), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<span style="color:#999;display:block;font-size:11px;line-height:1.2">* <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ATTRIBUTE_TITLE']->value,$_smarty_tpl);?>
|
||||
: <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ATTRIBUTE_AVAILABILITY_TITLE']->value,$_smarty_tpl);?>
|
||||
</span>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin9->theliaLoop(array('type'=>"order_product_attribute_combination",'name'=>"combinations",'order_product'=>$_smarty_tpl->tpl_vars['ID']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin8->theliaIfLoop(array('rel'=>"combinations"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</td>
|
||||
<td align="right" style="border-bottom:1px solid #000; white-space:nowrap">
|
||||
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['QUANTITY']->value,$_smarty_tpl);?>
|
||||
x <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['realTaxedPrice']->value,'currency_id'=>$_smarty_tpl->tpl_vars['CURRENCY']->value),$_smarty_tpl ) );?>
|
||||
|
||||
<?php $_smarty_tpl->_assignInScope('subtotal', $_smarty_tpl->tpl_vars['subtotal']->value+$_smarty_tpl->tpl_vars['realTaxedPrice']->value*$_smarty_tpl->tpl_vars['QUANTITY']->value);?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['order_id']->value,$_smarty_tpl);
|
||||
$_prefixVariable4 = ob_get_clean();
|
||||
ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);
|
||||
$_prefixVariable5 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"email-html.order-notification.order-product",'order'=>$_prefixVariable4,'order_product'=>$_prefixVariable5),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin7->theliaLoop(array('type'=>"order_product",'name'=>"order-products",'order'=>$_smarty_tpl->tpl_vars['ID']->value), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<tr>
|
||||
<td align="right" style="text-align:right"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Subtotal"),$_smarty_tpl ) );?>
|
||||
</td>
|
||||
<td align="right" style="text-align:right"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['subtotal']->value,'currency_id'=>$_smarty_tpl->tpl_vars['CURRENCY']->value),$_smarty_tpl ) );?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($_smarty_tpl->tpl_vars['DISCOUNT']->value > 0) {?>
|
||||
<tr>
|
||||
<td align="right" style="text-align:right"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Discount"),$_smarty_tpl ) );?>
|
||||
</td>
|
||||
<td align="right" style="text-align:right"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['DISCOUNT']->value,'currency_id'=>$_smarty_tpl->tpl_vars['CURRENCY']->value),$_smarty_tpl ) );?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" style="text-align:right"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Total"),$_smarty_tpl ) );?>
|
||||
</td>
|
||||
<td align="right" style="text-align:right"><?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TOTAL_TAXED_AMOUNT']->value-$_smarty_tpl->tpl_vars['POSTAGE']->value,$_smarty_tpl);
|
||||
$_prefixVariable6 = ob_get_clean();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_prefixVariable6,'currency_id'=>$_smarty_tpl->tpl_vars['CURRENCY']->value),$_smarty_tpl ) );?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<tr>
|
||||
<td align="right" style="text-align:right"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Shipping:"),$_smarty_tpl ) );?>
|
||||
</td>
|
||||
<td align="right" style="text-align:right"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['POSTAGE']->value,'currency_id'=>$_smarty_tpl->tpl_vars['CURRENCY']->value),$_smarty_tpl ) );?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" style="text-align:right"><strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Order Total"),$_smarty_tpl ) );?>
|
||||
</strong></td>
|
||||
<td align="right" style="text-align:right"><strong><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['TOTAL_TAXED_AMOUNT']->value,'currency_id'=>$_smarty_tpl->tpl_vars['CURRENCY']->value),$_smarty_tpl ) );?>
|
||||
</strong></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin1->theliaLoop(array('name'=>"order.invoice",'type'=>"order",'id'=>$_smarty_tpl->tpl_vars['order_id']->value,'customer'=>"*"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('name'=>"email-html.order-notification.after-products",'order'=>$_smarty_tpl->tpl_vars['order_id']->value),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Have a nice day."),$_smarty_tpl ) );?>
|
||||
<br />
|
||||
<?php
|
||||
}
|
||||
}
|
||||
/* {/block "email-content"} */
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:03
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookSocial/templates/frontOffice/default/main-footer-body.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab73905106_04602328',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'a3d0472a991eed7f49a843392a562332be216944' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookSocial/templates/frontOffice/default/main-footer-body.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab73905106_04602328 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><ul role="presentation">
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_facebook"),$_smarty_tpl ) );
|
||||
$_prefixVariable9 = ob_get_clean();
|
||||
if ($_prefixVariable9) {?>
|
||||
<li>
|
||||
<a href="http://facebook.com/<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_facebook"),$_smarty_tpl ) );?>
|
||||
" rel="nofollow" class="facebook" data-toggle="tooltip" data-placement="top"
|
||||
title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Facebook",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
" target="_blank">
|
||||
<span class="fa-stack fa-lg">
|
||||
<span class="fa fa-circle fa-stack-2x"></span>
|
||||
<span class="fa fa-facebook fa-stack-1x fa-inverse"></span>
|
||||
</span>
|
||||
<span class="visible-print"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Facebook",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_twitter"),$_smarty_tpl ) );
|
||||
$_prefixVariable10 = ob_get_clean();
|
||||
if ($_prefixVariable10) {?>
|
||||
<li>
|
||||
<a href="https://twitter.com/<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_twitter"),$_smarty_tpl ) );?>
|
||||
" rel="nofollow" class="twitter" data-toggle="tooltip" data-placement="top"
|
||||
title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Twitter",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
" target="_blank">
|
||||
<span class="fa-stack fa-lg">
|
||||
<span class="fa fa-circle fa-stack-2x"></span>
|
||||
<span class="fa fa-twitter fa-stack-1x fa-inverse"></span>
|
||||
</span>
|
||||
<span class="visible-print"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Twitter",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_pinterest"),$_smarty_tpl ) );
|
||||
$_prefixVariable11 = ob_get_clean();
|
||||
if ($_prefixVariable11) {?>
|
||||
<li>
|
||||
<a href="https://www.pinterest.com/<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_pinterest"),$_smarty_tpl ) );?>
|
||||
" class="pinterest" rel="nofollow" data-toggle="tooltip" data-placement="top" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Pinterest",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
"
|
||||
target="_blank">
|
||||
<span class="fa-stack fa-lg">
|
||||
<span class="fa fa-circle fa-stack-2x"></span>
|
||||
<span class="fa fa-pinterest fa-stack-1x fa-inverse"></span>
|
||||
</span>
|
||||
<span class="visible-print"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Pinterest",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_instagram"),$_smarty_tpl ) );
|
||||
$_prefixVariable12 = ob_get_clean();
|
||||
if ($_prefixVariable12) {?>
|
||||
<li>
|
||||
<a href="http://instagram.com/<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_instagram"),$_smarty_tpl ) );?>
|
||||
" rel="nofollow" class="instagram" data-toggle="tooltip" data-placement="top"
|
||||
title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Instagram",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
" target="_blank">
|
||||
<span class="fa-stack fa-lg">
|
||||
<span class="fa fa-circle fa-stack-2x"></span>
|
||||
<span class="fa fa-instagram fa-stack-1x fa-inverse"></span>
|
||||
</span>
|
||||
<span class="visible-print"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Instagram",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_google"),$_smarty_tpl ) );
|
||||
$_prefixVariable13 = ob_get_clean();
|
||||
if ($_prefixVariable13) {?>
|
||||
<li>
|
||||
<a href="http://plus.google.com/<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_google"),$_smarty_tpl ) );?>
|
||||
" rel="nofollow" class="google-plus" data-toggle="tooltip" data-placement="top"
|
||||
title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Google+",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
" target="_blank">
|
||||
<span class="fa-stack fa-lg">
|
||||
<span class="fa fa-circle fa-stack-2x"></span>
|
||||
<span class="fa fa-google-plus fa-stack-1x fa-inverse"></span>
|
||||
</span>
|
||||
<span class="visible-print"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Google+",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_youtube"),$_smarty_tpl ) );
|
||||
$_prefixVariable14 = ob_get_clean();
|
||||
if ($_prefixVariable14) {?>
|
||||
<li>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_youtube"),$_smarty_tpl ) );?>
|
||||
" rel="nofollow" class="youtube" data-toggle="tooltip" data-placement="top"
|
||||
title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Youtube",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
" target="_blank">
|
||||
<span class="fa-stack fa-lg">
|
||||
<span class="fa fa-circle fa-stack-2x"></span>
|
||||
<span class="fa fa-youtube fa-stack-1x fa-inverse"></span>
|
||||
</span>
|
||||
<span class="visible-print"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Youtube",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_rss"),$_smarty_tpl ) );
|
||||
$_prefixVariable15 = ob_get_clean();
|
||||
if ($_prefixVariable15) {?>
|
||||
<li>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0], array( array('key'=>"hooksocial_rss"),$_smarty_tpl ) );?>
|
||||
" class="rss" rel="nofollow" data-toggle="tooltip" data-placement="top" title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"RSS",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
"
|
||||
target="_blank">
|
||||
<span class="fa-stack fa-lg">
|
||||
<span class="fa fa-circle fa-stack-2x"></span>
|
||||
<span class="fa fa-rss fa-stack-1x fa-inverse"></span>
|
||||
</span>
|
||||
<span class="visible-print"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"RSS",'d'=>"hooksocial.fo.default"),$_smarty_tpl ) );?>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php }?>
|
||||
</ul><?php }
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:16:03
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookLinks/templates/frontOffice/default/main-footer-body.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065ab73724274_36303668',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'a8d52e69efd49fa53bd598c0ba00d50f286da55f' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/local/modules/HookLinks/templates/frontOffice/default/main-footer-body.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6065ab73724274_36303668 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><ul>
|
||||
<?php $_block_plugin26 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin26, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('name'=>"footer_links",'type'=>"content",'folder'=>"2"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin26->theliaLoop(array('name'=>"footer_links",'type'=>"content",'folder'=>"2"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<li><a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
|
||||
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</a></li>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin26->theliaLoop(array('name'=>"footer_links",'type'=>"content",'folder'=>"2"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin27 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin27, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"auth",'name'=>"customer_is_logged",'role'=>"CUSTOMER"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin27->theliaLoop(array('type'=>"auth",'name'=>"customer_is_logged",'role'=>"CUSTOMER"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<li><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/logout"),$_smarty_tpl ) );?>
|
||||
" class="logout"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Log out!",'d'=>"hooklinks.fo.default"),$_smarty_tpl ) );?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/account"),$_smarty_tpl ) );?>
|
||||
" class="account"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"My Account",'d'=>"hooklinks.fo.default"),$_smarty_tpl ) );?>
|
||||
</a></li>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin27->theliaLoop(array('type'=>"auth",'name'=>"customer_is_logged",'role'=>"CUSTOMER"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin28 = isset($_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin28, 'theliaElseloop'))) {
|
||||
throw new SmartyException('block tag \'elseloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elseloop', array('rel'=>"customer_is_logged"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin28->theliaElseloop(array('rel'=>"customer_is_logged"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<li><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/login"),$_smarty_tpl ) );?>
|
||||
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Login",'d'=>"hooklinks.fo.default"),$_smarty_tpl ) );?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/register"),$_smarty_tpl ) );?>
|
||||
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Register",'d'=>"hooklinks.fo.default"),$_smarty_tpl ) );?>
|
||||
</a></li>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin28->theliaElseloop(array('rel'=>"customer_is_logged"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<li><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/cart"),$_smarty_tpl ) );?>
|
||||
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Cart",'d'=>"hooklinks.fo.default"),$_smarty_tpl ) );?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/order/delivery"),$_smarty_tpl ) );?>
|
||||
"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Checkout",'d'=>"hooklinks.fo.default"),$_smarty_tpl ) );?>
|
||||
</a></li>
|
||||
</ul><?php }
|
||||
}
|
||||
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.33, created on 2021-04-01 13:17:09
|
||||
from '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/includes/addedToCart.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.33',
|
||||
'unifunc' => 'content_6065abb5ca8613_63096257',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'b970947153b5139b695a4ae264001cfbe568a45a' =>
|
||||
array (
|
||||
0 => '/Volumes/Dev/Sources/Clients/AuxBieauxLegumes/web/templates/frontOffice/default/includes/addedToCart.html',
|
||||
1 => 1603898086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
'file:includes/single-product.html' => 1,
|
||||
),
|
||||
),false)) {
|
||||
function content_6065abb5ca8613_63096257 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['set_previous_url'][0], array( array('ignore_current'=>"1"),$_smarty_tpl ) );?>
|
||||
|
||||
|
||||
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['default_translation_domain'][0], array( array('domain'=>'fo.default'),$_smarty_tpl ) );?>
|
||||
|
||||
<?php ob_start();
|
||||
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['product'][0], array( array('attr'=>"id"),$_smarty_tpl ) );
|
||||
$_prefixVariable1 = ob_get_clean();
|
||||
$_block_plugin1 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin1, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"product",'name'=>"add_product_to_cart",'id'=>$_prefixVariable1));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin1->theliaLoop(array('type'=>"product",'name'=>"add_product_to_cart",'id'=>$_prefixVariable1), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<div class="clearfix">
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<h3 class="text-center"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"The product has been added to your cart"),$_smarty_tpl ) );?>
|
||||
</h3>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="col-md-4">
|
||||
<?php $_block_plugin2 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin2, 'theliaIfLoop'))) {
|
||||
throw new SmartyException('block tag \'ifloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"pse-first-image"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin2->theliaIfLoop(array('rel'=>"pse-first-image"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_GET['pse_id'],$_smarty_tpl);
|
||||
$_prefixVariable2 = ob_get_clean();
|
||||
$_block_plugin3 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin3, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"product-sale-elements-image",'name'=>"pse-first-image",'product_sale_elements_id'=>$_prefixVariable2,'limit'=>"1"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin3->theliaLoop(array('type'=>"product-sale-elements-image",'name'=>"pse-first-image",'product_sale_elements_id'=>$_prefixVariable2,'limit'=>"1"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_block_plugin4 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin4, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"image",'name'=>"product-image",'id'=>$_smarty_tpl->tpl_vars['PRODUCT_IMAGE_ID']->value,'product'=>$_smarty_tpl->tpl_vars['ID']->value,'limit'=>"1",'width'=>"218",'height'=>"146",'resize_mode'=>"borders"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin4->theliaLoop(array('type'=>"image",'name'=>"product-image",'id'=>$_smarty_tpl->tpl_vars['PRODUCT_IMAGE_ID']->value,'product'=>$_smarty_tpl->tpl_vars['ID']->value,'limit'=>"1",'width'=>"218",'height'=>"146",'resize_mode'=>"borders"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<img itemprop="image" src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
|
||||
" alt="Product #<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LOOP_COUNT']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin4->theliaLoop(array('type'=>"image",'name'=>"product-image",'id'=>$_smarty_tpl->tpl_vars['PRODUCT_IMAGE_ID']->value,'product'=>$_smarty_tpl->tpl_vars['ID']->value,'limit'=>"1",'width'=>"218",'height'=>"146",'resize_mode'=>"borders"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin3->theliaLoop(array('type'=>"product-sale-elements-image",'name'=>"pse-first-image",'product_sale_elements_id'=>$_prefixVariable2,'limit'=>"1"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin2->theliaIfLoop(array('rel'=>"pse-first-image"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_plugin5 = isset($_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin5, 'theliaElseloop'))) {
|
||||
throw new SmartyException('block tag \'elseloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('elseloop', array('rel'=>"pse-first-image"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin5->theliaElseloop(array('rel'=>"pse-first-image"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_block_plugin6 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin6, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"image",'name'=>"product-image",'product'=>$_smarty_tpl->tpl_vars['ID']->value,'limit'=>"1",'width'=>"218",'height'=>"146",'resize_mode'=>"borders"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin6->theliaLoop(array('type'=>"image",'name'=>"product-image",'product'=>$_smarty_tpl->tpl_vars['ID']->value,'limit'=>"1",'width'=>"218",'height'=>"146",'resize_mode'=>"borders"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<img itemprop="image" src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
|
||||
" alt="Product #<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LOOP_COUNT']->value,$_smarty_tpl);?>
|
||||
">
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin6->theliaLoop(array('type'=>"image",'name'=>"product-image",'product'=>$_smarty_tpl->tpl_vars['ID']->value,'limit'=>"1",'width'=>"218",'height'=>"146",'resize_mode'=>"borders"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin5->theliaElseloop(array('rel'=>"pse-first-image"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</td>
|
||||
<td class="col-md-4">
|
||||
<h2><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
|
||||
</h2>
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_GET['pse_id'],$_smarty_tpl);
|
||||
$_prefixVariable3 = ob_get_clean();
|
||||
$_block_plugin7 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin7, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"attribute_combination",'name'=>"product_options",'product_sale_elements'=>$_prefixVariable3,'order'=>"manual"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin7->theliaLoop(array('type'=>"attribute_combination",'name'=>"product_options",'product_sale_elements'=>$_prefixVariable3,'order'=>"manual"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<p><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ATTRIBUTE_TITLE']->value,$_smarty_tpl);?>
|
||||
: <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ATTRIBUTE_AVAILABILITY_TITLE']->value,$_smarty_tpl);?>
|
||||
</p>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin7->theliaLoop(array('type'=>"attribute_combination",'name'=>"product_options",'product_sale_elements'=>$_prefixVariable3,'order'=>"manual"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</td>
|
||||
<td class="col-md-4">
|
||||
<?php ob_start();
|
||||
echo TheliaSmarty\Template\SmartyParser::theliaEscape($_GET['pse_id'],$_smarty_tpl);
|
||||
$_prefixVariable4 = ob_get_clean();
|
||||
$_block_plugin8 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin8, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"product_sale_elements",'name'=>"product_price",'id'=>$_prefixVariable4));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin8->theliaLoop(array('type'=>"product_sale_elements",'name'=>"product_price",'id'=>$_prefixVariable4), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['IS_PROMO']->value == 1) {?>
|
||||
<div class="special-price"><span class="price"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['TAXED_PROMO_PRICE']->value),$_smarty_tpl ) );?>
|
||||
</span></div>
|
||||
<small class="old-price"> <span class="price"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['TAXED_PRICE']->value),$_smarty_tpl ) );?>
|
||||
</span></small>
|
||||
<?php } else { ?>
|
||||
<div class="special-price"><span class="price"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0], array( array('number'=>$_smarty_tpl->tpl_vars['TAXED_PRICE']->value),$_smarty_tpl ) );?>
|
||||
</span></div>
|
||||
<?php }?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin8->theliaLoop(array('type'=>"product_sale_elements",'name'=>"product_price",'id'=>$_prefixVariable4), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<a href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('path'=>"/cart"),$_smarty_tpl ) );?>
|
||||
" role="button" class="btn btn-primary pull-right"><i class="fa fa-shopping-cart"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"View Cart"),$_smarty_tpl ) );?>
|
||||
</a>
|
||||
<button type="button" class="btn btn-default pull-right" data-dismiss="modal"><i class="fa fa-chevron-right"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Continue Shopping"),$_smarty_tpl ) );?>
|
||||
</button>
|
||||
</div>
|
||||
<?php $_block_plugin9 = isset($_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin9, 'theliaIfLoop'))) {
|
||||
throw new SmartyException('block tag \'ifloop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('ifloop', array('rel'=>"accessories"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin9->theliaIfLoop(array('rel'=>"accessories"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<aside id="products-upsell" class="grid" role="complementary" aria-labelledby="products-upsell-label">
|
||||
<div class="products-heading">
|
||||
<h3 id="products-upsell-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0], array( array('l'=>"Upsell Products"),$_smarty_tpl ) );?>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="products-content">
|
||||
<ul class="list-unstyled row products-grid">
|
||||
<?php $_block_plugin10 = isset($_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]) ? $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0] : null;
|
||||
if (!is_callable(array($_block_plugin10, 'theliaLoop'))) {
|
||||
throw new SmartyException('block tag \'loop\' not callable or registered');
|
||||
}
|
||||
$_smarty_tpl->smarty->_cache['_tag_stack'][] = array('loop', array('type'=>"accessory",'name'=>"accessories",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'order'=>"random",'limit'=>"3"));
|
||||
$_block_repeat=true;
|
||||
echo $_block_plugin10->theliaLoop(array('type'=>"accessory",'name'=>"accessories",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'order'=>"random",'limit'=>"3"), null, $_smarty_tpl, $_block_repeat);
|
||||
while ($_block_repeat) {
|
||||
ob_start();?>
|
||||
<?php $_smarty_tpl->_subTemplateRender("file:includes/single-product.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('product_id'=>$_smarty_tpl->tpl_vars['ACCESSORY_ID']->value,'hasBtn'=>false,'hasDescription'=>false,'width'=>"218",'height'=>"146"), 0, false);
|
||||
?>
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin10->theliaLoop(array('type'=>"accessory",'name'=>"accessories",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'order'=>"random",'limit'=>"3"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
</ul>
|
||||
</div>
|
||||
</aside><!-- #products-upsell -->
|
||||
<?php $_block_repeat=false;
|
||||
echo $_block_plugin9->theliaIfLoop(array('rel'=>"accessories"), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
$_block_repeat=false;
|
||||
echo $_block_plugin1->theliaLoop(array('type'=>"product",'name'=>"add_product_to_cart",'id'=>$_prefixVariable1), ob_get_clean(), $_smarty_tpl, $_block_repeat);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user