1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
.mobile_menu.php
См. документацию.
1<?
2use \Bitrix\Main\Localization\Loc;
3Loc::loadLanguageFile(__FILE__);
4$appDir = "/#folder#/";
6 array(
7 "text" => GetMessage("DEMO_MENU_LOCAL_NOTIF"),
8 "id"=>"notifications",
9 ),
10 array(
11 "text" => GetMessage("DEMO_MENU_LISTS"),
12 "id" => "tables",
13 ),
14 array(
15 "text" => "Action Sheets",
16 "id" => "action_sheet",
17 ),
18 array(
19 "text" => GetMessage("DEMO_MENU_TEXT_PANEL"),
20 "id" => "text_panel",
21 ),
22 array(
23 "text" => GetMessage("DEMO_MENU_NAV_BAR"),
24 "id" => "topbar",
25 ),
26// array(
27// "text" => GetMessage("DEMO_MENU_REFRESH"),
28// "id" => "refresh"
29// ),
30 array(
31 "text" => GetMessage("DEMO_MENU_BUTTONS"),
32 "id" => "buttons"
33 ),
34 array(
35 "text" => GetMessage("DEMO_MENU_ALERT"),
36 "id" => "confirm"
37 ),
38 array(
39 "text" => GetMessage("DEMO_MENU_API"),
40 "id" => "checkver"
41 ),
42 array(
43 "text" => GetMessage("DEMO_MENU_LOADING"),
44 "id" => "loading_indicator"
45 ),
46 array(
47 "text" => GetMessage("DEMO_MENU_PICKERS"),
48 "id" => "pickers"
49 ),
50 array(
51 "text" => GetMessage("DEMO_MENU_CONTEXT_MENU"),
52 "id" => "context_menu"
53 ),
54 array(
55 "text" => GetMessage("DEMO_MENU_SLIDING_PANEL"),
56 "id" => "sliding_panel"
57 ),
58 array(
59 "text" => GetMessage("DEMO_MENU_QR"),
60 "id" => "barcode"
61 ),
62 array(
63 "text" => GetMessage("DEMO_MENU_PHOTOGALLERY"),
64 "id" => "photo"
65 )
66// array(
67// "text" => GetMessage("DEMO_MENU_DOCS"),
68// "id" => "docs"
69// ),
70// array(
71// "text" => GetMessage("DEMO_MENU_CHOSE_PHOTO"),
72// "id" => "take_photo"
73// )
74);
75
76
78 array(
79 "type" => "section",
80 "text" => GetMessage("DEMO_MENU_SECTION_MAIN"),
81 "sort" => "100",
82 "items" => array(
83 array(
84 "text" => GetMessage("DEMO_MENU_MAIN"),
85 "data-url" => $appDir."index.php",
86 "class" => "menu-item",
87 "id" => "main",
88 ),
89 )
90 )
91);
92
93
94foreach ($items as $item)
95{
96 $arMobileMenuItems[0]["items"][] = array(
97 "text" => $item["text"],
98 "data-url" => $appDir."index.php?page=".$item["id"],
99 "class" => "menu-item",
100 "id" => "main",
101 );
102}
103?>
$arMobileMenuItems
Определения .eshopapp_menu.php:5
$appDir
Определения .mobile_menu.php:4
</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
$items
Определения template.php:224