1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Файл file_edit.php

См. исходные тексты.

Переменные

const BX_PUBLIC_MODE 0
 $addUrl = 'lang='.LANGUAGE_ID.(isset($logical) && $logical == "Y"?'&logical=Y':'')
 $useEditor3 = COption::GetOptionString('fileman', "use_editor_3", "N") == "Y"
 $bFromComponent
 $bDisableEditor = !CModule::IncludeModule('fileman') || (isset($_REQUEST['noeditor']) && $_REQUEST['noeditor'] == 'Y')
 if (!( $USER->CanDoOperation( 'fileman_admin_files')||$USER->CanDoOperation( 'fileman_edit_existent_files'))) =htmlspecialcharsbx($site)
 $obJSPopup = new CJSPopup("lang=".urlencode($_GET["lang"] ?? '')."&site=".urlencode($_GET["site"] ?? '')."&back_url=".urlencode($_GET["back_url"] ?? '')."&path=".urlencode($_GET["path"] ?? '')."&name=".urlencode($_GET["name"] ?? ''), array("SUFFIX"=>(isset($_REQUEST['subdialog']) && $_REQUEST['subdialog'] == 'Y'? 'editor':'')))
 $strWarning = ""
 $site_template = false
 $rsSiteTemplates = CSite::GetTemplateList($site ?? '')
while($arSiteTemplate=$rsSiteTemplates->Fetch()) $io = CBXVirtualIo::GetInstance()
 $bVarsFromForm = false
 $bSessIDRefresh = false
 $editor_name = $_REQUEST['editor_name'] ?? 'filesrc_pub'
 $filename = $_REQUEST['filename'] ?? ''
 $new = $_REQUEST['new'] ?? ''
 $template = $_REQUEST['template'] ?? ''
if($filename !='' &&($mess=CFileMan::CheckFileName($filename)) !==true $path ) = urldecode($path ?? '')
 $site = CFileMan::__CheckSite($site)
 $DOC_ROOT = CSite::GetSiteDocRoot($site)
 $abs_path = $DOC_ROOT.$path
 $arPath = Array($site, $path)
if(! $io->FileExists($abs_path) &&! $io->DirectoryExists($abs_path)) $relPath = $io->ExtractPathFromPath($path)
 $NEW_ROW_CNT = 1
 $arParsedPath = CFileMan::ParsePath(Array($site, $path), true, false, "", false)
 $isScriptExt = in_array(CFileman::GetFileExtension($path), CFileMan::GetScriptFileExt())
 $imgName = $filename
width __pad0__

Переменные

◆ $abs_path

$abs_path = $DOC_ROOT.$path

См. определение в файле file_edit.php строка 67

◆ $addUrl

$addUrl = 'lang='.LANGUAGE_ID.(isset($logical) && $logical == "Y"?'&logical=Y':'')

См. определение в файле file_edit.php строка 6

◆ $arParsedPath

$arParsedPath = CFileMan::ParsePath(Array($site, $path), true, false, "", false)

См. определение в файле file_edit.php строка 88

◆ $arPath

$arPath = Array($site, $path)
Примеры
C:/bitrix/modules/learning/classes/general/clearnlesson.php.

См. определение в файле file_edit.php строка 72

◆ $bDisableEditor

$bDisableEditor = !CModule::IncludeModule('fileman') || (isset($_REQUEST['noeditor']) && $_REQUEST['noeditor'] == 'Y')

См. определение в файле file_edit.php строка 16

◆ $bFromComponent

$bFromComponent
Инициализатор
=
isset($_REQUEST['from']) &&
(
$_REQUEST['from'] == 'main.include'
|| $_REQUEST['from'] == 'includefile'
|| $_REQUEST['from'] == 'includecomponent'
)
$_REQUEST["admin_mnu_menu_id"]
Определения get_menu.php:8

См. определение в файле file_edit.php строка 8

◆ $bSessIDRefresh

$bSessIDRefresh = false

См. определение в файле file_edit.php строка 45

◆ $bVarsFromForm

$bVarsFromForm = false

См. определение в файле file_edit.php строка 44

◆ $DOC_ROOT

$DOC_ROOT = CSite::GetSiteDocRoot($site)

См. определение в файле file_edit.php строка 66

◆ $editor_name

$editor_name = $_REQUEST['editor_name'] ?? 'filesrc_pub'

См. определение в файле file_edit.php строка 46

◆ $filename

$filename = $_REQUEST['filename'] ?? ''
Примеры
C:/bitrix/modules/learning/classes/general/clearnhelper.php.

См. определение в файле file_edit.php строка 47

◆ $imgName

if ( $filename=='') $imgName = $filename

См. определение в файле file_edit.php строка 94

◆ $io

while ( $arSiteTemplate=$rsSiteTemplates->Fetch()) $io = CBXVirtualIo::GetInstance()

См. определение в файле file_edit.php строка 42

◆ $isScriptExt

См. определение в файле file_edit.php строка 89

◆ $new

$new = $_REQUEST['new'] ?? ''

См. определение в файле file_edit.php строка 48

◆ $NEW_ROW_CNT

$NEW_ROW_CNT = 1

См. определение в файле file_edit.php строка 86

◆ $obJSPopup

$obJSPopup = new CJSPopup("lang=".urlencode($_GET["lang"] ?? '')."&site=".urlencode($_GET["site"] ?? '')."&back_url=".urlencode($_GET["back_url"] ?? '')."&path=".urlencode($_GET["path"] ?? '')."&name=".urlencode($_GET["name"] ?? ''), array("SUFFIX"=>(isset($_REQUEST['subdialog']) && $_REQUEST['subdialog'] == 'Y'? 'editor':'')))

См. определение в файле file_edit.php строка 28

◆ $path

$path = urldecode($path ?? '')

См. определение в файле file_edit.php строка 59

◆ $relPath

if (! $io->FileExists( $abs_path) &&! $io->DirectoryExists( $abs_path)) $relPath = $io->ExtractPathFromPath($path)

См. определение в файле file_edit.php строка 84

◆ $rsSiteTemplates

$rsSiteTemplates = CSite::GetTemplateList($site ?? '')

См. определение в файле file_edit.php строка 32

◆ $site

$site = CFileMan::__CheckSite($site)

См. определение в файле file_edit.php строка 62

◆ $site_template

$site_template = false

См. определение в файле file_edit.php строка 31

◆ $strWarning

$strWarning = ""

См. определение в файле file_edit.php строка 30

◆ $template

$template = $_REQUEST['template'] ?? ''

См. определение в файле file_edit.php строка 49

◆ $useEditor3

$useEditor3 = COption::GetOptionString('fileman', "use_editor_3", "N") == "Y"

См. определение в файле file_edit.php строка 7

◆ __pad0__

width __pad0__

См. определение в файле file_edit.php строка 747

◆ BX_PUBLIC_MODE

const BX_PUBLIC_MODE 0

См. определение в файле file_edit.php строка 2

◆ if

if(CAutoSave::Allowed()) ( ! $USER->CanDoOperation( 'fileman_admin_files')||$USER->CanDoOperation( 'fileman_edit_existent_files')) =htmlspecialcharsbx($site)

См. определение в файле file_edit.php строка 18