diff --git a/controllers/admin/AdminScenesController.php b/controllers/admin/AdminScenesController.php index 09f1d64a8..3b427088d 100644 --- a/controllers/admin/AdminScenesController.php +++ b/controllers/admin/AdminScenesController.php @@ -77,14 +77,14 @@ class AdminScenesControllerCore extends AdminController foreach ($images_types as $k => $image_type) { - if ($image_type['name'] == 'large_scene' && isset($_FILES['image'])) + if ($image_type['name'] == 'scene_default' && isset($_FILES['image'])) ImageManager::resize( $base_img_path, _PS_SCENE_IMG_DIR_.$obj->id.'-'.stripslashes($image_type['name']).'.jpg', (int)$image_type['width'], (int)$image_type['height'] ); - else if ($image_type['name'] == 'thumb_scene') + else if ($image_type['name'] == 'm_scene_default') { if (isset($_FILES['thumb']) && !$_FILES['thumb']['error']) $base_thumb_path = _PS_SCENE_THUMB_IMG_DIR_.$obj->id.'.jpg'; @@ -135,9 +135,9 @@ class AdminScenesControllerCore extends AdminController $thumb_scene_image_type = null; foreach ($scene_image_types as $scene_image_type) { - if ($scene_image_type['name'] == 'large_scene') + if ($scene_image_type['name'] == 'scene_default') $large_scene_image_type = $scene_image_type; - if ($scene_image_type['name'] == 'thumb_scene') + if ($scene_image_type['name'] == 'm_scene_default') $thumb_scene_image_type = $scene_image_type; } $fields_form = array( @@ -202,13 +202,13 @@ class AdminScenesControllerCore extends AdminController $large_scene_image_type['width'], $large_scene_image_type['height']) .$this->l('If smaller than the image size setting, a white background will be added in order to achieve the correct image size.').'
'. $this->l('Note: To change image dimensions, please change the \'large_scene\' image type settings to the desired size (in Back Office > Preferences > Images).'); - if ($obj->id && file_exists(_PS_SCENE_IMG_DIR_.$obj->id.'-large_scene.jpg')) + if ($obj->id && file_exists(_PS_SCENE_IMG_DIR_.$obj->id.'-scene_default.jpg')) { $this->addJqueryPlugin('autocomplete'); $this->addJqueryPlugin('imgareaselect'); $this->addJs(_PS_JS_DIR_.'admin-scene-cropping.js' ); $image_to_map_desc .= '

'; + _THEME_SCENE_DIR_.$obj->id.'-scene_default.jpg" />
'; $image_to_map_desc .= '
- {$product.legend|escape:'htmlall':'UTF-8'} + {$product.legend|escape:'htmlall':'UTF-8'} {if isset($product.new) && $product.new == 1}{l s='New'}{/if}

{$product.name|escape:'htmlall':'UTF-8'|truncate:35:'...'}

diff --git a/themes/default/product.tpl b/themes/default/product.tpl index 8ed5cdab4..c8608865e 100644 --- a/themes/default/product.tpl +++ b/themes/default/product.tpl @@ -176,7 +176,7 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
{if $have_image} - {$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox')} + {$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox_default')} {l s='View full size'} {else} @@ -197,7 +197,7 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus {foreach from=$images item=image name=thumbnails} {assign var=imageIds value="`$product->id`-`$image.id_image`"}
  • - + {$image.legend|htmlspecialchars}
  • diff --git a/themes/default/shopping-cart-product-line.tpl b/themes/default/shopping-cart-product-line.tpl index 6e4dd4fa0..7275cdb9e 100644 --- a/themes/default/shopping-cart-product-line.tpl +++ b/themes/default/shopping-cart-product-line.tpl @@ -26,7 +26,7 @@ - {$product.name|escape:'htmlall':'UTF-8'} + {$product.name|escape:'htmlall':'UTF-8'}
    {$product.name|escape:'htmlall':'UTF-8'}
    diff --git a/themes/default/shopping-cart.tpl b/themes/default/shopping-cart.tpl index b804f9eaa..937d28ec8 100644 --- a/themes/default/shopping-cart.tpl +++ b/themes/default/shopping-cart.tpl @@ -60,7 +60,7 @@
    {l s='Last product added'}
    - {$lastProductAdded.name|escape:'htmlall':'UTF-8'} + {$lastProductAdded.name|escape:'htmlall':'UTF-8'}
    {$lastProductAdded.name|escape:'htmlall':'UTF-8'}
    {if isset($lastProductAdded.attributes) && $lastProductAdded.attributes}{$lastProductAdded.attributes|escape:'htmlall':'UTF-8'}{/if}