Файловый менеджер - Редактировать - /home/lmsyaran/public_html/j3/modules/mod_vertical_menu/params/offlajnmenu/offlajnmenu.php
Назад
<?php /** * mod_vertical_menu - Vertical Menu * * @author Balint Polgarfi * @copyright 2014-2019 Offlajn.com * @license https://gnu.org/licenses/gpl-2.0.html * @link https://offlajn.com */ ?><?php /*------------------------------------------------------------------------ # offlajnlist - Offlajn List Parameter # ------------------------------------------------------------------------ # author Jeno Kovacs # copyright Copyright (C) 2012 Offlajn.com. All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Websites: http://www.offlajn.com -------------------------------------------------------------------------*/ defined('_JEXEC') or die('Restricted access'); @JOfflajnParams::load('offlajnlist'); class JElementOfflajnMenu extends JElementOfflajnList { function universalfetchElement($name, $value, &$node) { if(version_compare(JVERSION,'1.6.0','ge')) { require_once( JPATH_ADMINISTRATOR . '/components/com_menus/helpers/menus.php' ); } else { require_once( JPATH_ADMINISTRATOR.'/components/com_menus/helpers/helper.php' ); } $menuTypes = MenusHelper::getMenuTypes(); foreach ($menuTypes as $menutype) { $node->addChild('option',array('value' => $menutype))->setData(ucfirst($menutype)); } return parent::universalfetchElement($name, $value, $node); } } if(version_compare(JVERSION,'1.6.0','ge')) { class JFormFieldOfflajnMenu extends JElementOfflajnMenu {} }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.08 |
proxy
|
phpinfo
|
Настройка