25 lines
867 B
PHP
25 lines
867 B
PHP
<?php
|
|
/**
|
|
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
|
* @copyright Since 2007 PrestaShop SA and Contributors
|
|
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
|
*/
|
|
|
|
if (!defined('_PS_VERSION_')) {
|
|
exit;
|
|
}
|
|
require_once dirname(__FILE__) . '/AdminStEasyVideoGalleryController.php';
|
|
class AdminStEasyVideoProductMobileSettingController extends AdminStEasyVideoGalleryController
|
|
{
|
|
protected $contr = 'MOBILE';
|
|
|
|
public function updateOptionStEasyVideoGalleryVideoTemplateMobile($val)
|
|
{
|
|
Configuration::updateValue($this->module->_prefix_st.'GALLERY_VIDEO_TEMPLATE_MOBILE', $val, true);
|
|
}
|
|
public function updateOptionStEasyVideoGalleryButtonTemplateMobile($val)
|
|
{
|
|
Configuration::updateValue($this->module->_prefix_st.'GALLERY_BUTTON_TEMPLATE_MOBILE', $val, true);
|
|
}
|
|
}
|