-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.defaultadmin.php
38 lines (26 loc) · 1.07 KB
/
action.defaultadmin.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
33
34
35
36
37
38
<?php
if ( !isset($gCms) ) exit;
if (!$this->CheckPermission('Inscriptions use'))
{
echo $this->ShowErrors($this->Lang('needpermission'));
return;
}
//debug_display($params, 'Parameters');
echo $this->StartTabheaders();
$active_tab = empty($params['active_tab']) ? '': $params['active_tab'];
echo $this->SetTabHeader('ins', 'Inscriptions', ($active_tab == 'ins')?true:false);
echo $this->SetTabHeader('emails', 'Notifications', ($active_tab == 'emails')?true:false);
echo $this->SetTabHeader('config', 'Config', ($active_tab == 'config')?true:false);
echo $this->EndTabHeaders();
echo $this->StartTabContent();
echo $this->StartTab('ins', $params);
include(dirname(__FILE__).'/action.admin_inscriptions_tab.php');
echo $this->EndTab();
echo $this->StartTab('emails', $params);
include(dirname(__FILE__).'/action.admin_emails_tab.php');
echo $this->EndTab();
echo $this->StartTab('config', $params);
include(dirname(__FILE__).'/action.admin_options_tab.php');
echo $this->EndTab();
echo $this->EndTabContent();
?>