// Some fix
This commit is contained in:
@@ -204,12 +204,14 @@ class AdminScenesControllerCore extends AdminController
|
|||||||
$this->fields_form = $fields_form;
|
$this->fields_form = $fields_form;
|
||||||
|
|
||||||
$image_to_map_desc = '';
|
$image_to_map_desc = '';
|
||||||
$image_to_map_desc .= $this->l('Format:').' JPG, GIF, PNG. '.$this->l('File size:').' '
|
$image_to_map_desc .= '<div class="help-block">'.$this->l('Format:').' JPG, GIF, PNG. '.$this->l('File size:').' '
|
||||||
.(Tools::getMaxUploadSize() / 1024).''.$this->l('Kb max.').' '
|
.(Tools::getMaxUploadSize() / 1024).''.$this->l('Kb max.').' '
|
||||||
.sprintf($this->l('If an image is too large, it will be reduced to %1$d x %2$dpx (width x height).'),
|
.sprintf($this->l('If an image is too large, it will be reduced to %1$d x %2$dpx (width x height).'),
|
||||||
$large_scene_image_type['width'], $large_scene_image_type['height'])
|
$large_scene_image_type['width'], $large_scene_image_type['height'])
|
||||||
.$this->l('If an image is deemed too small, a white background will be added in order to achieve the correct image size.').'<br />'.
|
.$this->l('If an image is deemed too small, a white background will be added in order to achieve the correct image size.').'<br />'.
|
||||||
$this->l('Note: To change image dimensions, please change the \'large_scene\' image type settings to the desired size (in Back Office > Preferences > Images).');
|
$this->l('Note: To change image dimensions, please change the \'large_scene\' image type settings to the desired size (in Back Office > Preferences > Images).')
|
||||||
|
.'</div>';
|
||||||
|
|
||||||
if ($obj->id && file_exists(_PS_SCENE_IMG_DIR_.$obj->id.'-scene_default.jpg'))
|
if ($obj->id && file_exists(_PS_SCENE_IMG_DIR_.$obj->id.'-scene_default.jpg'))
|
||||||
{
|
{
|
||||||
$this->addJqueryPlugin('autocomplete');
|
$this->addJqueryPlugin('autocomplete');
|
||||||
|
|||||||
Reference in New Issue
Block a user