1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
.eshopapp_menu.php
См. документацию.
1
<?
2
if
(!defined(
"B_PROLOG_INCLUDED"
) || B_PROLOG_INCLUDED!==
true
)
die
();
3
IncludeModuleLangFile
(__FILE__);
4
5
$arMobileMenuItems
=
array
(
6
array
(
7
"type"
=>
"section"
,
8
"text"
=>
"Каталог товаров"
,
9
"sort"
=>
"100"
,
10
"items"
=>
array
(
11
array
(
12
"text"
=>
"Главная страница"
,
13
"data-url"
=>
SITE_DIR
.
"eshop_app/"
,
14
"class"
=>
"menu-item"
,
15
"data-pageid"
=>
"main"
,
16
"id"
=>
"main"
17
),
18
array
(
19
"text"
=>
"Каталог"
,
20
"class"
=>
"menu-item"
,
21
"onclick"
=>
"openSectionList();"
,
22
"data-pageid"
=>
"catalog"
,
23
"id"
=>
"catalog"
24
),
25
array
(
26
"text"
=>
"Корзина"
,
27
"class"
=>
"menu-item"
,
28
"data-url"
=>
SITE_DIR
.
"eshop_app/personal/cart/"
,
29
"id"
=>
"cart"
,
30
"data-pageid"
=>
"cart"
,
31
),
32
)
33
),
34
array
(
35
"type"
=>
"section"
,
36
"text"
=>
"Информация"
,
37
"sort"
=>
"200"
,
38
"items"
=>
array
(
39
array
(
40
"text"
=>
"О магазине"
,
41
"data-url"
=>
SITE_DIR
.
"eshop_app/about/"
,
42
"class"
=>
"menu-item"
,
43
"id"
=>
"about"
,
44
"data-pageid"
=>
"about"
,
45
),
46
)
47
)
48
);
49
if
(
CBXFeatures::IsFeatureEnabled
(
'SaleAccounts'
))
50
$arMobileMenuItems
[] =
array
(
51
"type"
=>
"section"
,
52
"text"
=>
"Мои заказы"
,
53
"sort"
=>
"300"
,
54
"items"
=>
array
(
55
array
(
56
"text"
=>
"Список заказов"
,
57
"data-url"
=>
SITE_DIR
.
"eshop_app/personal/order/order_list.php"
,
58
"class"
=>
"menu-item"
,
59
"id"
=>
"orders"
,
60
),
61
array
(
62
"text"
=>
"Ожидают оплаты"
,
63
"data-url"
=>
SITE_DIR
.
"eshop_app/personal/order/order_list.php?action=get_filtered&filter_name=waiting_for_pay"
,
64
"class"
=>
"menu-item"
,
65
"id"
=>
"orders"
,
66
),
67
array
(
68
"text"
=>
"Ожидают доставки"
,
69
"data-url"
=>
SITE_DIR
.
"eshop_app/personal/order/order_list.php?action=get_filtered&filter_name=waiting_for_delivery"
,
70
"class"
=>
"menu-item"
,
71
"id"
=>
"orders"
,
72
),
73
array
(
74
"text"
=>
"Счет пользователя"
,
75
"class"
=>
"menu-item"
,
76
"data-url"
=>
SITE_DIR
.
"eshop_app/personal/bill/"
,
77
"id"
=>
"user_bill"
78
),
79
)
80
);
81
else
82
$arMobileMenuItems
[] =
array
(
83
"type"
=>
"section"
,
84
"text"
=>
"Мои заказы"
,
85
"sort"
=>
"300"
,
86
"items"
=>
array
(
87
array
(
88
"text"
=>
"Список заказов"
,
89
"data-url"
=>
SITE_DIR
.
"eshop_app/personal/order/order_list.php"
,
90
"class"
=>
"menu-item"
,
91
"id"
=>
"orders"
,
92
),
93
array
(
94
"text"
=>
"Ожидают оплаты"
,
95
"data-url"
=>
SITE_DIR
.
"eshop_app/personal/order/order_list.php?action=get_filtered&filter_name=waiting_for_pay"
,
96
"class"
=>
"menu-item"
,
97
"id"
=>
"orders"
,
98
),
99
array
(
100
"text"
=>
"Ожидают доставки"
,
101
"data-url"
=>
SITE_DIR
.
"eshop_app/personal/order/order_list.php?action=get_filtered&filter_name=waiting_for_delivery"
,
102
"class"
=>
"menu-item"
,
103
"id"
=>
"orders"
,
104
),
105
)
106
);
107
?>
108
<script>
109
function
openSectionList()
110
{
111
app.closeMenu();
112
app.openBXTable({
113
url:
'<?=SITE_DIR?>eshop_app/catalog/sections.php'
,
114
isroot:
true
,
115
TABLE_SETTINGS : {
116
cache :
true
,
117
use_sections :
true
,
118
searchField :
false
,
119
showtitle :
true
,
120
name :
"Каталог"
,
121
button:
122
{
123
type:
'basket'
,
124
style
:
'custom'
,
125
callback
:
function
()
126
{
127
app.openNewPage(
"<?=SITE_DIR?>eshop_app/personal/cart/"
);
128
}
129
}
130
}
131
});
132
}
133
</script>
$arMobileMenuItems
$arMobileMenuItems
Определения
.eshopapp_menu.php:5
CBXFeatures\IsFeatureEnabled
static IsFeatureEnabled($_1488512778)
Определения
include.php:116
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
SITE_DIR
const SITE_DIR(!defined('LANG'))
Определения
include.php:72
IncludeModuleLangFile
IncludeModuleLangFile($filepath, $lang=false, $bReturnArray=false)
Определения
tools.php:3778
die
die
Определения
quickway.php:367
style
font style
Определения
invoice.php:442
callback
case callback
Определения
wrapper_popup.php:31
bitrix
modules
eshopapp
public
ru
eshop_app
.eshopapp_menu.php
Создано системой
1.14.0