Файловый менеджер - Редактировать - /home/digilove/public_html/modules/mod_virtuemart_currencies/mod_virtuemart_currencies.php
Назад
<?php defined('_JEXEC') or die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); /** * Currency Selector Module * * NOTE: THIS MODULE REQUIRES THE VIRTUEMART COMPONENT! /* * @version $Id: mod_virtuemart_currencies.php 10649 2022-05-05 14:29:44Z Milbo $ * @package VirtueMart * @subpackage modules * * @copyright (C) 2014 virtuemart team - All rights reserved. * @license http://www.gnu.org/copyleft/gpl2.html GNU/GPL * VirtueMart is Free Software. * VirtueMart comes with absolute no warranty. * * @link https://virtuemart.net */ /*********** * * Prices in the orders are saved in the shop currency; these fields are required * to show the prices to the user in a later stadium. */ if (!class_exists( 'VmConfig' )) require(JPATH_ROOT .'/administrator/components/com_virtuemart/helpers/config.php'); VmConfig::loadConfig(); vmLanguage::loadModJLang('mod_virtuemart_currencies'); vmJsApi::jQuery(); vmLanguage::loadJLang( 'com_virtuemart', true ); vmJsApi::jSite(); vmJsApi::addJScript( 'vmprices',false,false); $mainframe = JFactory::getApplication(); $vendorId = vRequest::getInt('vendorid', 1); $text_before = $params->get( 'text_before', ''); /* load the template */ $currencyModel = VmModel::getModel('currency'); $currencies = $currencyModel->getVendorAcceptedCurrrenciesList($vendorId); $currencyDisplay = CurrencyDisplay::getInstance(); $virtuemart_currency_id = $mainframe->getUserStateFromRequest( "virtuemart_currency_id", 'virtuemart_currency_id',vRequest::getInt('virtuemart_currency_id',$currencyDisplay->_vendorCurrency) ); require JModuleHelper::getLayoutPath('mod_virtuemart_currencies', $params->get('layout', 'default'));
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка