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

Changeset 2264


Ignore:
Timestamp:
Mar 26, 2007, 2:30:44 AM (13 years ago)
Author:
takanashi
Message:

#558 config.phpでファイルアップロード機能のON/OFFを選択できるように

Location:
OpenPNE/branches/develop/2_8RC1
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/develop/2_8RC1/webapp/modules/pc/do/o_public_invite.php

    r1856 r2264  
    3333        $c_member_id_invite = 1;
    3434
    35         @session_start();
    36         if (empty($_SESSION['captcha_keystring']) || $_SESSION['captcha_keystring'] !=  $requests['captcha']) {
     35        if (OPENPNE_USE_CAPTCHA) {
     36            @session_start();
     37            if (empty($_SESSION['captcha_keystring']) || $_SESSION['captcha_keystring'] !=  $requests['captcha']) {
     38                unset($_SESSION['captcha_keystring']);
     39                $msg = "確認キーワードが誤っています";
     40                $p = array('msg' => $msg);
     41                openpne_redirect('pc', 'page_o_public_invite', $p);
     42            }
    3743            unset($_SESSION['captcha_keystring']);
    38             $msg = "確認キーワードが誤っています";
    39             $p = array('msg' => $msg);
    40             openpne_redirect('pc', 'page_o_public_invite', $p);
    4144        }
    42         unset($_SESSION['captcha_keystring']);
    4345        if (!db_common_is_mailaddress($pc_address)) {
    4446            $msg = 'メールアドレスを正しく入力してください';
  • OpenPNE/branches/develop/2_8RC1/webapp/modules/pc/page/h_invite_confirm.php

    r2184 r2264  
    2121
    2222        $msg = "";
    23         if (empty($_SESSION['captcha_keystring']) || $_SESSION['captcha_keystring'] !=  $requests['captcha']) {
     23        if (OPENPNE_USE_CAPTCHA && empty($_SESSION['captcha_keystring']) || $_SESSION['captcha_keystring'] !=  $requests['captcha']) {
    2424            unset($_SESSION['captcha_keystring']);
    2525            $msg = "確認キーワードが誤っています";
  • OpenPNE/branches/develop/2_8RC1/webapp/modules/pc/templates/h_invite.tpl

    r1808 r2264  
    170170
    171171
    172 
     172({if $smarty.const.OPENPNE_USE_CAPTCHA})
    173173({*********})
    174174({* captcha *})
     
    201201</tr>
    202202({*********})
     203({/if})
    203204<tr>
    204205<td style="width:574px;height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
  • OpenPNE/branches/develop/2_8RC1/webapp/modules/pc/templates/o_public_invite.tpl

    r1134 r2264  
    117117<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    118118</tr>
    119 ({*********})
    120 <tr>
    121 <td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    122 </tr>
    123 
     119({if $smarty.const.OPENPNE_USE_CAPTCHA})
     120({*********})
     121<tr>
     122<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     123</tr>
    124124
    125125<tr>
     
    150150</tr>
    151151({*********})
     152({/if})
    152153<tr>
    153154<td style="width:574px;height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
Note: See TracChangeset for help on using the changeset viewer.