Compare commits
3 Commits
datecarrie
...
livre_dor
Author | SHA1 | Date | |
---|---|---|---|
|
058337cb57 | ||
|
9334efa83e | ||
|
a3e9682715 |
@ -12,7 +12,7 @@ class AdvSiteReviewsDefaultModuleFrontController extends ModuleFrontController
|
|||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->auth = true;
|
// $this->auth = true;
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
$this->context = Context::getContext();
|
$this->context = Context::getContext();
|
||||||
}
|
}
|
||||||
@ -24,7 +24,6 @@ class AdvSiteReviewsDefaultModuleFrontController extends ModuleFrontController
|
|||||||
{
|
{
|
||||||
parent::initContent();
|
parent::initContent();
|
||||||
|
|
||||||
|
|
||||||
$reviews = AdvSiteReview::getReviews();
|
$reviews = AdvSiteReview::getReviews();
|
||||||
|
|
||||||
if (!$reviews) {
|
if (!$reviews) {
|
||||||
|
@ -36,7 +36,7 @@ class AntadisConfiguratorUploadModuleFrontController extends ModuleFrontControll
|
|||||||
if(!file_exists($path)) {
|
if(!file_exists($path)) {
|
||||||
mkdir($path, 0755, true);
|
mkdir($path, 0755, true);
|
||||||
}
|
}
|
||||||
$url = _PS_BASE_URL_.'/upload/simu/'.$id_product.'/'.$reference;
|
$url = Tools::getShopDomainSsl(true).'/upload/simu/'.$id_product.'/'.$reference;
|
||||||
|
|
||||||
$options = array(
|
$options = array(
|
||||||
'upload_dir' => $path.'/',
|
'upload_dir' => $path.'/',
|
||||||
|
@ -131,7 +131,7 @@
|
|||||||
<div class="custom-file">
|
<div class="custom-file">
|
||||||
<input id="DOUBLECUBEIMAGE" class="configurator-opt-file-cube" name="files" data-field="optgroup-exclusif"
|
<input id="DOUBLECUBEIMAGE" class="configurator-opt-file-cube" name="files" data-field="optgroup-exclusif"
|
||||||
data-url="/configurator/upload/{$id_product}/CUBE"
|
data-url="/configurator/upload/{$id_product}/CUBE"
|
||||||
data-dl="{$base_dir}upload/simu/{$id_product}" type="file">
|
data-dl="{$base_dir_ssl}upload/simu/{$id_product}" type="file">
|
||||||
<span class="filename">{l s='Aucun fichier' mod='antadissimulator'}</span>
|
<span class="filename">{l s='Aucun fichier' mod='antadissimulator'}</span>
|
||||||
<span class="action">{l s='Choisir un fichier' mod='antadissimulator'}</span></div>
|
<span class="action">{l s='Choisir un fichier' mod='antadissimulator'}</span></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -141,7 +141,7 @@
|
|||||||
<div class="custom-file">
|
<div class="custom-file">
|
||||||
<input id="DOUBLECUBEIMAGE" class="configurator-opt-file-pochette" name="files" data-field="optgroup-exclusif"
|
<input id="DOUBLECUBEIMAGE" class="configurator-opt-file-pochette" name="files" data-field="optgroup-exclusif"
|
||||||
data-url="/configurator/upload/{$id_product}/POCHETTE"
|
data-url="/configurator/upload/{$id_product}/POCHETTE"
|
||||||
data-dl="{$base_dir}upload/simu/{$id_product}" type="file">
|
data-dl="{$base_dir_ssl}upload/simu/{$id_product}" type="file">
|
||||||
<span class="filename">{l s='No file selected' mod='antadissimulator'}</span>
|
<span class="filename">{l s='No file selected' mod='antadissimulator'}</span>
|
||||||
<span class="action">{l s='Choose File' mod='antadissimulator'}</span></div>
|
<span class="action">{l s='Choose File' mod='antadissimulator'}</span></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -99,7 +99,7 @@
|
|||||||
<div class="custom-file">
|
<div class="custom-file">
|
||||||
<input id="DOUBLECUBEIMAGE" class="configurator-opt-file-choco" name="files" data-field="optgroup-exclusif"
|
<input id="DOUBLECUBEIMAGE" class="configurator-opt-file-choco" name="files" data-field="optgroup-exclusif"
|
||||||
data-url="/configurator/upload/{$id_product}"
|
data-url="/configurator/upload/{$id_product}"
|
||||||
data-dl="{$base_dir}upload/simu/{$id_product}" type="file">
|
data-dl="{$base_dir_ssl}upload/simu/{$id_product}" type="file">
|
||||||
<span class="filename">{l s='No file selected' mod='antadissimulator'}</span>
|
<span class="filename">{l s='No file selected' mod='antadissimulator'}</span>
|
||||||
<span class="action">{l s='Choose File' mod='antadissimulator'}</span></div></div>
|
<span class="action">{l s='Choose File' mod='antadissimulator'}</span></div></div>
|
||||||
<span id="response-optgroup-exclusif"></span>
|
<span id="response-optgroup-exclusif"></span>
|
||||||
|
@ -98,7 +98,7 @@
|
|||||||
<div class="custom-file">
|
<div class="custom-file">
|
||||||
<input id="DOUBLECUBEIMAGE" class="configurator-opt-file-choco" name="files" data-field="optgroup-exclusif"
|
<input id="DOUBLECUBEIMAGE" class="configurator-opt-file-choco" name="files" data-field="optgroup-exclusif"
|
||||||
data-url="/configurator/upload/{$id_product}"
|
data-url="/configurator/upload/{$id_product}"
|
||||||
data-dl="{$base_dir}upload/simu/{$id_product}" type="file">
|
data-dl="{$base_dir_ssl}upload/simu/{$id_product}" type="file">
|
||||||
<span class="filename">{l s='No file selected' mod='antadissimulator'}</span>
|
<span class="filename">{l s='No file selected' mod='antadissimulator'}</span>
|
||||||
<span class="action">{l s='Choose File' mod='antadissimulator'}</span></div></div>
|
<span class="action">{l s='Choose File' mod='antadissimulator'}</span></div></div>
|
||||||
<span id="response-optgroup-exclusif"></span>
|
<span id="response-optgroup-exclusif"></span>
|
||||||
|
Loading…
Reference in New Issue
Block a user