Add initial module files and templates for Omnibus EU Free
- Created new image file for YouTube logo. - Added index.php files for views and JavaScript with license notice and redirect to parent directory. - Implemented back.js for reload functionality with button event listener. - Introduced configure.tpl template for admin configuration with documentation links and CRON settings. - Added products-price-list.tpl for displaying product price data in a table format. - Created index.php files for hook templates with license notice and redirect. - Added presta_studio_omnibus_price.tpl for displaying product discount information.
This commit is contained in:
28
modules/omnibuseufree/src/controller/MenuController.php
Normal file
28
modules/omnibuseufree/src/controller/MenuController.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Apache License, Version 2.0
|
||||
* that is bundled with this package in the file LICENSE.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* @author presta.studio
|
||||
* @copyright Copyright (c) 2023 presta.studio
|
||||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
|
||||
*/
|
||||
|
||||
namespace Omnibus\Controller;
|
||||
|
||||
use PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController;
|
||||
use Tools;
|
||||
use Context;
|
||||
|
||||
class MenuController extends FrameworkBundleAdminController
|
||||
{
|
||||
public function menuAction()
|
||||
{
|
||||
Tools::redirectAdmin(Context::getContext()->link->getAdminLink('AdminModules').'&configure=omnibuseufree');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user