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

Changeset 4751


Ignore:
Timestamp:
Dec 19, 2007, 9:02:12 PM (12 years ago)
Author:
ebihara
Message:

#1639:o_loginからtarget_scriptを使用している箇所を削除

Location:
OpenPNE/trunk/webapp/modules/pc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/pc/do/o_login.php

    r4554 r4751  
    1010    var $_lc;
    1111    var $_login_params;
    12     var $_target_script;
    1312
    1413    function isSecure()
     
    2019    {
    2120        $this->_login_params = $requests['login_params'];
    22         $this->_target_script = $requests['target_script'];
    2321        $auth_config = get_auth_config();
    2422        $auth = new OpenPNE_Auth($auth_config['storage'], $auth_config['options']);
     
    6159
    6260        $url = OPENPNE_URL;
    63         if ($this->_target_script) {
    64             $this->_target_script = str_replace("/","",$this->_target_script);
    65             $url .= $this->_target_script;
    66         }
    6761        if ($this->_login_params) {
    6862            $url .= '?' . $this->_login_params;
  • OpenPNE/trunk/webapp/modules/pc/templates/o_login.tpl

    r4038 r4751  
    2525({t_form _attr='name="login" id="login"' m=pc a=do_o_login})
    2626<input type="hidden" name="login_params" value="({$requests.login_params})">
    27 <input type="hidden" name="target_script" value="({$requests.target_script})">
    2827<input type="text" tabindex="1" name="username" id="username" class="text">
    2928<input type="password" tabindex="2" name="password" id="password" class="text">
  • OpenPNE/trunk/webapp/modules/pc/validate/do/o_login.ini

    r2011 r4751  
    66type = "string"
    77default = 0
    8 
    9 [target_script]
    10 type = "string"
  • OpenPNE/trunk/webapp/modules/pc/validate/page/o_login.ini

    r2011 r4751  
    11[login_params]
    22type = "string"
    3 
    4 [target_script]
    5 type = "string"
Note: See TracChangeset for help on using the changeset viewer.