- Introduced a new YouTube tech integration in `youtube.min.js` for enhanced video playback. - Created new admin template files for managing video settings, including `index.php` and `steasyvideo-pro.tpl`. - Updated hook templates (`device_mode.tpl`, `forquickview.tpl`, `header.tpl`, `miniature.tpl`, `miniature_tb.tpl`, and predefined templates) to include video functionality. - Implemented caching headers in several PHP files to improve performance. - Ensured all new templates include proper licensing information and copyright notices.
24 lines
877 B
PHP
24 lines
877 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 AdminStEasyVideoQuickViewSettingController extends AdminStEasyVideoGalleryController
|
|
{
|
|
protected $contr = 'QUICKVIEW';
|
|
public function updateOptionStEasyVideoGalleryVideoTemplateQuickView($val)
|
|
{
|
|
Configuration::updateValue($this->module->_prefix_st.'GALLERY_VIDEO_TEMPLATE_QUICKVIEW', $val, true);
|
|
}
|
|
public function updateOptionStEasyVideoGalleryButtonTemplateQuickView($val)
|
|
{
|
|
Configuration::updateValue($this->module->_prefix_st.'GALLERY_BUTTON_TEMPLATE_QUICKVIEW', $val, true);
|
|
}
|
|
}
|