Minahito
minah****@users*****
2006年 2月 3日 (金) 12:04:22 JST
Index: xoops2jp/html/modules/base/actions/SslloginAction.class.php diff -u /dev/null xoops2jp/html/modules/base/actions/SslloginAction.class.php:1.1.2.1 --- /dev/null Fri Feb 3 12:04:22 2006 +++ xoops2jp/html/modules/base/actions/SslloginAction.class.php Fri Feb 3 12:04:22 2006 @@ -0,0 +1,26 @@ +<?php + +/** + * TODO This action should be implemented by base. We must move it to user. + */ +class Legacy_SslloginAction extends Legacy_Action +{ + function getDefaultView(&$controller, &$xoopsUser) + { + return LEGACY_FRAME_VIEW_INDEX; + } + + function executeViewIndex(&$controller, &$xoopsUser, &$render) + { + // + // Because this action's template uses USER message catalog, load it. + // + $root =& $controller->mRoot; + $root->mLanguageManager->loadModuleLanguage('user'); + + $render->setTemplateName("legacy_misc_ssllogin.html"); + $render->setAttribute("message", @sprintf(_US_LOGGINGU, $xoopsUser->getVar('uname'))); + } +} + +?>