-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.php
32 lines (22 loc) · 834 Bytes
/
options.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
IncludeModuleLangFile(__FILE__);
$module_id = 'vettich.sp3';
$aTabs = [
[
'DIV' => 'access',
'TAB' => GetMessage('MAIN_TAB_RIGHTS'),
'TITLE' => GetMessage('MAIN_TAB_TITLE_RIGHTS'),
],
];
$tabControl = new CAdminTabControl('tabControl', $aTabs);
$tabControl->Begin();
$currentPage = $APPLICATION->GetCurPage();
$actionUrl = "$currentPage?mid=$module_id&lang=".LANG;
?><form method='post' action='<?php echo $actionUrl ?>' name='<?php echo $module_id ?>_settings'><?
$tabControl->BeginNextTab();
require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/admin/group_rights.php');
$tabControl->Buttons();
?><input type="submit" name="Update" value="<?echo GetMessage('MAIN_SAVE')?>">
<input type="reset" name="reset" value="<?echo GetMessage('MAIN_RESET')?>"><?
echo bitrix_sessid_post();
$tabControl->End();