-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauthentication.mobile.php
More file actions
30 lines (29 loc) · 880 Bytes
/
authentication.mobile.php
File metadata and controls
30 lines (29 loc) · 880 Bytes
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
<?php
/**
* @class authenticationMobile
* @author NURIGO(contact@nurigo.net)
* @brief authenticationMobile
*/
require_once(_XE_PATH_.'modules/authentication/authentication.view.php');
class authenticationMobile extends authenticationView
{
/**
* @brief constructor
*/
function init()
{
$oAuthenticationModel = &getModel('authentication');
$config = $oAuthenticationModel->getModuleConfig();
if(!$config->mskin) $config->mskin = "default";
$this->setTemplatePath($this->module_path."m.skins/{$config->mskin}");
$oLayoutModel = &getModel('layout');
$layout_info = $oLayoutModel->getLayout($config->mlayout_srl);
if($layout_info)
{
$this->module_info->mlayout_srl = $config->mlayout_srl;
$this->setLayoutPath($layout_info->path);
}
}
}
/* End of file authentication.view.php */
/* Location: ./modules/authentication/authentication.view.php */