diff --git a/adm/tabs/AdminCategories.php b/adm/tabs/AdminCategories.php index f7bb260e..43c82317 100755 --- a/adm/tabs/AdminCategories.php +++ b/adm/tabs/AdminCategories.php @@ -761,24 +761,24 @@ class AdminCategories extends AdminTab '; // @Override Antadis - echo ' -
'; - foreach($this->_languages as $language) { - echo ' -
'; - if(file_exists(_PS_ROOT_DIR_.'/img/c/'.$obj->id.'_mobile_vp_'.$language['id_lang'].'.jpg')) { - echo '
- -

- - Supprimer Supprimer -
'; - } - echo ' -
'; - } - echo '

-
'; + // echo ' + //
'; + // foreach($this->_languages as $language) { + // echo ' + //
'; + // if(file_exists(_PS_ROOT_DIR_.'/img/c/'.$obj->id.'_mobile_vp_'.$language['id_lang'].'.jpg')) { + // echo '
+ // + //

+ // + // Supprimer Supprimer + //
'; + // } + // echo ' + //
'; + // } + // echo '

+ //
'; // echo ' //
'; diff --git a/modules/ant_creationcategories/AdminAntCreationcategories.php b/modules/ant_creationcategories/AdminAntCreationcategories.php index 0735ddfe..81c7e6d2 100644 --- a/modules/ant_creationcategories/AdminAntCreationcategories.php +++ b/modules/ant_creationcategories/AdminAntCreationcategories.php @@ -224,14 +224,14 @@ class AdminAntCreationcategories extends AdminTab 'name' => 'image_category', 'id' => 'preview_category', ), - array( - 'type' => 'uploadImage', - 'label' => $this->l('Image Application : '), - 'label-class' => 'col-md-2', - 'input-class' => 'col-md-6', - 'name' => 'image_mobile', - 'id' => 'preview_mobile', - ), + // array( + // 'type' => 'uploadImage', + // 'label' => $this->l('Image Application : '), + // 'label-class' => 'col-md-2', + // 'input-class' => 'col-md-6', + // 'name' => 'image_mobile', + // 'id' => 'preview_mobile', + // ), array( 'type' => 'tag', 'label' => $this->l('Sous Catégorie : '), diff --git a/modules/privatesales/AdminPrivateSalesSales.php b/modules/privatesales/AdminPrivateSalesSales.php index 76dc1112..ecbd6b0c 100755 --- a/modules/privatesales/AdminPrivateSalesSales.php +++ b/modules/privatesales/AdminPrivateSalesSales.php @@ -15,6 +15,7 @@ class AdminPrivateSalesSales extends AdminTab { 'liston' => array($this->l('Listing image (on)'), '380x178'), 'listoff' => array($this->l('Listing image (off)'), '380x178'), 'salebg' => array($this->l('Sale background'), '*x*'), + 'mobile' => array($this->l('Listing App'), '900*450px'), //'thumb' => array($this->l('Thumbnail'), '260x108'), //'fb' => array($this->l('Facebook image'), '100x100'), //'trailerbg' => array($this->l('Trailer background'), '*x*'), @@ -1209,7 +1210,7 @@ class AdminPrivateSalesSales extends AdminTab { $images[] = 'banner_mobile'; foreach(Language::getLanguages(FALSE) as $language) { foreach($images as $img) { - if((int)$language['id_lang'] == 3 && ($img == 'liston' || $img == 'listoff' || $img == 'thumb' || $img == 'salebg') + if((int)$language['id_lang'] == 3 && ($img == 'liston' || $img == 'listoff' || $img == 'thumb' || $img == 'salebg' || $img == 'mobile') && (!isset($_FILES['img_'.$img.'_'.$language['id_lang']]) || $_FILES['img_'.$img.'_'.$language['id_lang']]['name'] == '') && (isset($_FILES['img_'.$img.'_2']) && $_FILES['img_'.$img.'_2']['name'] != '') ) {