- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
if (isset($this->request->post['config_image_manufacturer_height'])) {
$this->data['config_image_manufacturer_height'] = $this->request->post['config_image_manufacturer_height'];
} else {
$this->data['config_image_manufacturer_height'] = $this->config->get('config_image_manufacturer_height');
}
if (isset($this->request->post['config_image_additional_width'])) {
$this->data['config_image_additional_width'] = $this->request->post['config_image_additional_width'];
} else {
$this->data['config_image_additional_width'] = $this->config->get('config_image_additional_width');
}
if (isset($this->request->post['config_image_additional_height'])) {
$this->data['config_image_additional_height'] = $this->request->post['config_image_additional_height'];
} else {
$this->data['config_image_additional_height'] = $this->config->get('config_image_additional_height');
}
if (isset($this->request->post['config_image_related_width'])) {
$this->data['config_image_related_width'] = $this->request->post['config_image_related_width'];
} else {
$this->data['config_image_related_width'] = $this->config->get('config_image_related_width');
}
if (isset($this->request->post['config_image_related_height'])) {
$this->data['config_image_related_height'] = $this->request->post['config_image_related_height'];
} else {
$this->data['config_image_related_height'] = $this->config->get('config_image_related_height');
}
if (isset($this->request->post['config_image_compare_width'])) {
$this->data['config_image_compare_width'] = $this->request->post['config_image_compare_width'];
} else {
$this->data['config_image_compare_width'] = $this->config->get('config_image_compare_width');
}
Всего лишь небольшой кусок кода из админки OpenCart-а.
Люди! OpenCart - гамно.
Комментарии (0) RSS
Добавить комментарий