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

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

Функции

 editArea (area, bSilent)
 viewArea (area, bSilent)
 setCurrentRow (i)
 rowMouseOut (obArea)
 rowMouseOver (obArea)
 BXDD_DragStart ()
 BXDD_DragStop ()
 BXDD_DragHover (obPlacement, x, y)

Переменные

 $site = CFileMan::__CheckSite($site)
 $DOC_ROOT = CSite::GetSiteDocRoot($site)
 $io = CBXVirtualIo::GetInstance()
 $path = $io->CombinePath("/", $path)
 $arParsedPath
 $menufilename = $path
 $name = preg_replace("/[^a-z0-9_]/i", "", $_REQUEST["name"] ?? '')
 $arPath_m = array($site, $menufilename)
 $abs_path = $io->CombinePath($DOC_ROOT, $menufilename)
 $strWarning = ""
else $bEdit = false
 $only_edit = !$USER->CanDoOperation('fileman_add_element_to_menu') || !$USER->CanDoFileOperation('fm_create_new_file', $arPath_m)
if(! $USER->CanDoOperation('fileman_edit_existent_files')||! $USER->CanDoFileOperation('fm_edit_existent_file', $arPath_m)||(! $bEdit && $only_edit) else )
 $TITLE = GetMessage("MENU_EDIT_TITLE_".($bEdit ? "EDIT" : "ADD"))
 $DESCRIPTION
 $obJSPopup
 $aMenuLinksTmp = []
for($i=1, $n=count($aMenuLinksTmp); $i<=$n; $i++) $aMenuLinksItem = $aMenuLinksTmp[$i-1]
text width =$i
text_<?echo $i?><?=htmlspecialcharsbx( $aMenuLinksItem[0])?> viewArea ('text_<?=$i?>')" /> </div> </td> <td> <div onmouseout =$i

Функции

◆ BXDD_DragHover()

BXDD_DragHover ( obPlacement ,
x ,
y  )

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

◆ BXDD_DragStart()

BXDD_DragStart ( )

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

◆ BXDD_DragStop()

BXDD_DragStop ( )

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

◆ editArea()

editArea ( area ,
bSilent  )

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

◆ rowMouseOut()

rowMouseOut ( obArea )

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

◆ rowMouseOver()

rowMouseOver ( obArea )

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

◆ setCurrentRow()

setCurrentRow ( i )

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

◆ viewArea()

viewArea ( area ,
bSilent  )

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

Переменные

◆ $abs_path

$abs_path = $io->CombinePath($DOC_ROOT, $menufilename)

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

◆ $aMenuLinksItem

for ( $i=1, $n=count( $aMenuLinksTmp);$i<=$n;$i++) $aMenuLinksItem = $aMenuLinksTmp[$i-1]

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

◆ $aMenuLinksTmp

$aMenuLinksTmp = []

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

◆ $arParsedPath

$arParsedPath
Инициализатор
true,
false,
"",
(isset($_REQUEST["logical"]) && $_REQUEST["logical"] === "Y")
)
$path
Определения access_edit.php:21
static ParsePath($path, $bLast=false, $url=false, $param="", $bLogical=false)
Определения fileman.php:790
$_REQUEST["admin_mnu_menu_id"]
Определения get_menu.php:8
$site
Определения yandex_run.php:614

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

◆ $arPath_m

$arPath_m = array($site, $menufilename)

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

◆ $bEdit

else $bEdit = false

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

◆ $DESCRIPTION

$DESCRIPTION
Инициализатор
= str_replace(
array("#TYPE#", "#DIR#"),
array(!empty($arMenuTypes[$name]) ? $arMenuTypes[$name] : $name, $path),
GetMessage("MENU_EDIT_DESCRIPTION_".($bEdit ? "EDIT" : "ADD"))
)
else $bEdit
Определения file_edit_src.php:72
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
GetMessage($name, $aReplace=null)
Определения tools.php:3397
$name
Определения menu_edit.php:35

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

◆ $DOC_ROOT

$DOC_ROOT = CSite::GetSiteDocRoot($site)

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

◆ $io

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

◆ $menufilename

$menufilename = $path

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

◆ $name

$name = preg_replace("/[^a-z0-9_]/i", "", $_REQUEST["name"] ?? '')

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

◆ $obJSPopup

$obJSPopup
Инициализатор
= new CJSPopup('',
'TITLE' => GetMessage('MENU_EDIT_TITLE'),
'ARGS' => "lang=".urlencode($_GET["lang"])."&site=".urlencode($_GET["site"])."&back_url=".urlencode($_GET["back_url"])."&path=".urlencode($_GET["path"])."&name=".urlencode($_GET["name"])
)
)
Определения jspopup.php:10

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

◆ $only_edit

$only_edit = !$USER->CanDoOperation('fileman_add_element_to_menu') || !$USER->CanDoFileOperation('fm_create_new_file', $arPath_m)

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

◆ $path

$path = $io->CombinePath("/", $path)

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

◆ $site

$site = CFileMan::__CheckSite($site)

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

◆ $strWarning

$strWarning = ""

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

◆ $TITLE

$TITLE = GetMessage("MENU_EDIT_TITLE_".($bEdit ? "EDIT" : "ADD"))

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

◆ else

if (! $USER->CanDoOperation( 'fileman_edit_existent_files')||! $USER->CanDoFileOperation( 'fm_edit_existent_file', $arPath_m)||(! $bEdit &&$only_edit) else)

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

◆ viewArea

text_<?echo $i?><?=htmlspecialcharsbx($aMenuLinksItem[0])?> viewArea( 'text_<?=$i?>')" /> </div> </td> <td> <div onmouseout ( 'text_<?=$i?>' ) =$i

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

◆ width

text width =$i

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