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'; // Get the member configuration $oModuleModel = &getModel('module'); $this->member_config = $oModuleModel->getModuleConfig('member'); Context::set('member_config', $this->member_config); // Set a flag to check if the https connection is made when using SSL and create https url $ssl_mode = false; $useSsl = Context::getSslStatus(); if($useSsl != 'none') { if(preg_match('/^https:\/\//i', Context::getRequestUri())) $ssl_mode = true; } Context::set('ssl_mode',$ssl_mode); // Compile a template $oTemplate = &TemplateHandler::getInstance(); return $oTemplate->compile($tpl_path, $tpl_file); } } /* End of file login_info.class.php */ /* Location: ./widgets/login_info/login_info.class.php */