403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/components/bitrix/fileman.light_editor/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/components/bitrix/fileman.light_editor/component.php
<?
if(!defined("B_PROLOG_INCLUDED")||B_PROLOG_INCLUDED!==true)die();
if(!CModule::IncludeModule("fileman"))
{
	ShowError(GetMessage("EC_FILEMAN_MODULE_NOT_INSTALLED"));
	return;
}

$toolbarConfig = array(
	'Bold', 'Italic', 'Underline', 'Strike', 'RemoveFormat',
	'CreateLink', 'DeleteLink', 'Image', 'Video',
	'BackColor', 'ForeColor',
	'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyFull',
	//'=|=',
	'InsertOrderedList', 'InsertUnorderedList', 'Outdent', 'Indent',
	'StyleList', 'HeaderList',
	'FontList', 'FontSizeList',
);

if (is_array($arParams['TOOLBAR_CONFIG'] ?? null))
{
	$toolbarConfig = $arParams['TOOLBAR_CONFIG'];
}

if (($arParams['VIDEO_ALLOW_VIDEO'] ?? null) != 'N')
{
	$videoSettings = array(
		'maxWidth' => $arParams['VIDEO_MAX_WIDTH'] ?? null,
		'maxHeight' => $arParams['VIDEO_MAX_HEIGHT'] ?? null,
		'WMode' => $arParams['VIDEO_WMODE'] ?? null,
		'windowless' => ($arParams['VIDEO_WINDOWLESS'] ?? null) != 'N',
		'bufferLength' => intval($arParams['VIDEO_BUFFER'] ?? null),
		'skin' => $arParams['VIDEO_SKIN'] ?? null,
		'logo' => $arParams['VIDEO_LOGO'] ?? null,
	);
}
else
{
	$ind = array_search('Video', $toolbarConfig);
	if ($ind !== false)
	{
		unset($toolbarConfig[$ind]);
		$toolbarConfig = array_values($toolbarConfig);
	}
	$videoSettings = false;
}

$LHE = new CLightHTMLEditor;
$LHE->Show(array(
	'id' => $arParams['ID'] ?? null,
	'content' => $arParams['~CONTENT'] ?? null,
	'inputName' => $arParams['INPUT_NAME'] ?? null,
	'inputId' => $arParams['INPUT_ID'] ?? null,
	'width' => $arParams['WIDTH'] ?? null,
	'height' => $arParams['HEIGHT'] ?? null,
	'bUseFileDialogs' => ($arParams['USE_FILE_DIALOGS'] ?? null) == 'Y',
	'jsObjName' => $arParams['JS_OBJ_NAME'] ?? null,
	'toolbarConfig' => $toolbarConfig,
	'videoSettings' => $videoSettings,
	'bResizable' => ($arParams['RESIZABLE'] ?? null) == 'Y',
	'bAutoResize' => ($arParams['AUTO_RESIZE'] ?? null) != 'N'
));
?>

Youez - 2016 - github.com/yon3zu
LinuXploit