- <{$smarty.const.TF_USER_ENTER}>
  <{$smarty.const.TF_USER_S_ID}>
  <{$smarty.const.TF_USER_S_PASS}>
<{php}> global $xoopsConfig; $modhandler = &xoops_gethandler('module'); $xoopsModule = &$modhandler->getByDirname("tadtools"); $config_handler =& xoops_gethandler('config'); $tadToolsConfig =& $config_handler->getConfigsByCat(0, $xoopsModule->getVar('mid')); if($tadToolsConfig['openid_login']=='1'){ $TadLoginXoopsModule = &$modhandler->getByDirname("tad_login"); if($TadLoginXoopsModule){ include_once XOOPS_ROOT_PATH."/modules/tad_login/function.php"; include_once XOOPS_ROOT_PATH."/modules/tad_login/language/{$xoopsConfig['language']}/county.php"; $tad_login['facebook'] =facebook_login('return'); $config_handler =& xoops_gethandler('config'); $modConfig= & $config_handler->getConfigsByCat(0, $TadLoginXoopsModule->getVar('mid')); $auth_method=$modConfig['auth_method']; foreach($auth_method as $method){ $method_const="_".strtoupper($method); $loginTitle=sprintf(_TAD_LOGIN_BY,constant($method_const)); echo "
- "; if($method=="facebook"){ echo "{$loginTitle}"; }else{ echo "{$loginTitle}"; } echo "
"; } } } <{/php}>
- <{$smarty.const.TF_USER_REGIST}>
- <{$smarty.const.TF_USER_FORGET_PASS}>