Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_komento/includes/decoda/decoda/filters/CodeFilter.php
Ðазад
<?php /** * @package Komento * @copyright Copyright (C) 2010 - 2020 Stack Ideas Sdn Bhd. All rights reserved. * @license GNU/GPL, see LICENSE.php * Komento is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ defined( '_JEXEC' ) or die( 'Unauthorized Access' ); /** * CodeFilter * * Provides tags for code block and variable elements. * * @author Miles Johnson - http://milesj.me * @copyright Copyright 2006-2011, Miles Johnson, Inc. * @license http://opensource.org/licenses/mit-license.php - Licensed under The MIT License * @link http://milesj.me/code/php/decoda */ class CodeFilter extends DecodaFilter { /** * Supported tags. * * @access protected * @var array */ protected $_tags = array( 'code' => array( 'template' => 'code', 'type' => self::TYPE_BOTH, 'allowed' => self::TYPE_BOTH, 'lineBreaks' => self::NL_PRESERVE, 'preserveTags' => true, 'attributes' => array( 'type' => '/[a-z0-9]+/i', 'default' => '/[a-z0-9]+/i', 'hl' => '/[0-9,]+/' ) ), 'var' => array( 'tag' => 'code', 'type' => self::TYPE_INLINE, 'allowed' => self::TYPE_INLINE ) ); /** * Add any hook dependencies. * * @access public * @param Decoda $decoda * @return void */ public function setupHooks(Decoda $decoda) { $decoda->addHook(new CodeHook()); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка