mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
코드 규칙에 맞게 정리
This commit is contained in:
parent
e69e0697a4
commit
b7ba92170f
1 changed files with 14 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
/* Copyright (C) NAVER <http://www.navercorp.com> */
|
||||
|
||||
/**
|
||||
* @class login_info
|
||||
* @author NAVER (developers@xpressengine.com)
|
||||
|
|
@ -21,8 +22,14 @@ class login_info extends WidgetHandler
|
|||
$tpl_path = sprintf('%sskins/%s', $this->widget_path, $args->skin);
|
||||
Context::set('colorset', $args->colorset);
|
||||
// Specify a template file
|
||||
if(Context::get('is_logged')) $tpl_file = 'login_info';
|
||||
else $tpl_file = 'login_form';
|
||||
if(Context::get('is_logged'))
|
||||
{
|
||||
$tpl_file = 'login_info';
|
||||
}
|
||||
else
|
||||
{
|
||||
$tpl_file = 'login_form';
|
||||
}
|
||||
// Get the member configuration
|
||||
$oModuleModel = getModel('module');
|
||||
$this->member_config = $oModuleModel->getModuleConfig('member');
|
||||
|
|
@ -33,9 +40,12 @@ class login_info extends WidgetHandler
|
|||
$useSsl = Context::getSslStatus();
|
||||
if($useSsl != 'none')
|
||||
{
|
||||
if(strncasecmp('https://', Context::getRequestUri(), 8) === 0) $ssl_mode = true;
|
||||
if(strncasecmp('https://', Context::getRequestUri(), 8) === 0)
|
||||
{
|
||||
$ssl_mode = true;
|
||||
}
|
||||
}
|
||||
Context::set('ssl_mode',$ssl_mode);
|
||||
Context::set('ssl_mode', $ssl_mode);
|
||||
|
||||
// Compile a template
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue