ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 1063


Ignore:
Timestamp:
Dec 7, 2006, 2:47:49 PM (14 years ago)
Author:
maruyama
Message:

表記修正

Location:
OpenPNE/branches/maruyama/prj_ext_auth/webapp
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/maruyama/prj_ext_auth/webapp/lib/OpenPNE/Auth.php

    r1058 r1063  
    2929        ini_set('session.use_cookies', 0);
    3030        $this->is_ktai = $is_ktai;
    31         if($this->is_ktai) {
     31        if ($this->is_ktai) {
    3232            if (!empty($_REQUEST['ksid'])) {
    3333                $this->sess_id = $_REQUEST['ksid'];
  • OpenPNE/branches/maruyama/prj_ext_auth/webapp/lib/auth.inc

    r1056 r1063  
    2828$GLOBALS['AUTH'] = $auth;
    2929
    30 if(!$_SESSION['regist_step']){
     30if (!$_SESSION['regist_step']) {
    3131    $check_param = db_member_check_param_inputed($u);
    3232    $_SESSION['regist_step'] = ($check_param == 0);
  • OpenPNE/branches/maruyama/prj_ext_auth/webapp/lib/db/member.php

    r1059 r1063  
    4141    }
    4242   
    43     if ($is_secure) {
     43    if ((LOGIN_NAME_TYPE == 1) && $is_secure) {
    4444        $c_member['username'] = db_member_username4c_member_id($c_member_id);
    4545    }
     
    9797    $c_member_secure = db_get_row($sql, array(intval($c_member_id)));
    9898   
    99     if(is_array($c_member_secure)) {
     99    if (is_array($c_member_secure)) {
    100100        return array_map('t_decrypt', $c_member_secure);
    101101    } else {
     
    13361336}
    13371337
    1338 function db_member_insert_username($c_member_id,$username){
     1338function db_member_insert_username($c_member_id, $username)
     1339{
    13391340    $data = array(
    13401341    "c_member_id"=>$c_member_id,
     
    13471348 * c_member_idからログインIDを取得
    13481349 */
    1349 function db_member_c_member_id4username($username, $is_ktai = false){
    1350     switch (LOGIN_NAME_TYPE){
     1350function db_member_c_member_id4username($username, $is_ktai = false)
     1351{
     1352    switch (LOGIN_NAME_TYPE) {
    13511353        case 0:
    13521354        if ($is_ktai) {
     
    13681370 * ログインIDからc_member_idを取得
    13691371 */
    1370 function db_member_username4c_member_id($c_member_id, $is_ktai = false){
    1371     switch (LOGIN_NAME_TYPE){
     1372function db_member_username4c_member_id($c_member_id, $is_ktai = false)
     1373{
     1374    switch (LOGIN_NAME_TYPE) {
    13721375        case 0:
    13731376        $c_member_secure = db_member_c_member_secure4c_member_id($c_member_id);
     
    13911394 * ログインしたユーザのメンバー情報が存在しない場合自動で生成
    13921395 */
    1393 function db_member_create_member($username){
     1396function db_member_create_member($username)
     1397{
    13941398        $data = array(
    13951399        'nickname'    => "NO NAME",
     
    14301434 * 2:メールアドレス未登録
    14311435 */
    1432 function db_member_check_param_inputed($c_member_id, $is_ktai = false){
     1436function db_member_check_param_inputed($c_member_id, $is_ktai = false)
     1437{
    14331438    $c_member = db_member_c_member4c_member_id($c_member_id, true);
    14341439   
  • OpenPNE/branches/maruyama/prj_ext_auth/webapp/lib/util/util.php

    r1058 r1063  
    494494}
    495495
    496 function get_auth_config(){
     496function get_auth_config()
     497{
    497498    switch (LOGIN_NAME_TYPE) {
    498499        case 1:
     
    513514}
    514515
    515 function crypt_func($raw_value,$cryptType){
     516function crypt_func($raw_value,$cryptType)
     517{
    516518    if (   isset($cryptType)
    517519        && $cryptType == 'none') {
  • OpenPNE/branches/maruyama/prj_ext_auth/webapp/modules/admin/templates/list_c_member.tpl

    r957 r1063  
    110110({/foreach})
    111111<th>ID</th>
     112({if $smarty.const.LOGIN_NAME_TYPE == 1})
    112113<th>ユーザID</th>
     114({/if})
    113115<th>PCアドレス</th>
    114116<th>携帯アドレス</th>
     
    208210({/foreach})
    209211<td class="idnumber">({$item.c_member_id})</td>
    210 <td>({if $item.secure.pc_address})({$item.username|t_truncate:"30"|escape:"hexentity"})({else})&nbsp;({/if})</td>
     212({if $smarty.const.LOGIN_NAME_TYPE == 1})
     213<td>({if $item.username})({$item.username|t_truncate:"30"|escape:"hexentity"})({else})&nbsp;({/if})</td>
     214({/if})
    211215<td>({if $item.secure.pc_address})<a href="mailto:({$item.secure.pc_address|escape:"hexentity"})">({$item.secure.pc_address|t_truncate:"30"|escape:"hexentity"})</a>({else})&nbsp;({/if})</td>
    212216<td>({if $item.secure.ktai_address})<a href="mailto:({$item.secure.ktai_address})">({$item.secure.ktai_address|t_truncate:"30"})</a>({else})&nbsp;({/if})</td>
  • OpenPNE/branches/maruyama/prj_ext_auth/webapp/modules/ktai/auth.inc

    r1056 r1063  
    3535
    3636
    37 if(!$_SESSION['regist_step']){
     37if (!$_SESSION['regist_step']) {
    3838    $check_param = db_member_check_param_inputed($u, true);
    3939    $_SESSION['regist_step'] = ($check_param == 0);
  • OpenPNE/branches/maruyama/prj_ext_auth/webapp/modules/ktai/do/o_login.php

    r1059 r1063  
    5454            }
    5555        }
    56         if(!($c_member_id = $auth->getUsername(LOGIN_NAME_TYPE))){
     56        if (!($c_member_id = $auth->getUsername(LOGIN_NAME_TYPE))) {
    5757            db_member_create_member($_POST['username']);
    5858        }
  • OpenPNE/branches/maruyama/prj_ext_auth/webapp/modules/ktai/do/o_password_query.php

    r2 r1063  
    1414    function execute($requests)
    1515    {
     16        if (LOGIN_NAME_TYPE == 1) {
     17            exit;
     18        }
    1619        //--- 権限チェック
    1720        //パスワード確認の質問と答えがあっている
  • OpenPNE/branches/maruyama/prj_ext_auth/webapp/modules/ktai/page/o_password_query.php

    r102 r1063  
    1414    function execute($requests)
    1515    {
     16        if (LOGIN_NAME_TYPE == 1) {
     17            exit;
     18        }
    1619        $this->set('password_query_list', p_common_c_password_query4null());
    1720        return 'success';
  • OpenPNE/branches/maruyama/prj_ext_auth/webapp/modules/pc/do/o_login.php

    r957 r1063  
    4646        }
    4747       
    48         if(!($u = $auth->getUsername(LOGIN_NAME_TYPE))) {
     48        if (!($u = $auth->getUsername(LOGIN_NAME_TYPE))) {
    4949            db_member_create_member($_POST['username']);
    5050        }
Note: See TracChangeset for help on using the changeset viewer.