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

Changeset 8625


Ignore:
Timestamp:
Oct 9, 2008, 11:40:10 AM (12 years ago)
Author:
shingo
Message:

#3059:"webapp_biz/modules/biz/do/f_home_check_biz_todo.php"へのリンクURLのパラメータに、遷移後のフレンドのc_member_idを追加し、そのdoアクション後のリダイレクト時に渡すパラメータ"target_c_member_id"の値を、表示しているフレンドのc_member_idを参照するように変更

Location:
OpenPNE/trunk/webapp_biz/modules/biz
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp_biz/modules/biz/do/f_home_check_biz_todo.php

    r7081 r8625  
    1212
    1313        // --- リクエスト変数
     14        $target_c_member_id = $requests['target_c_member_id'];
    1415        $chid = $requests['chid'];
    1516        $id = $requests['target_id'];
     
    2425        $todo = biz_getTodo($chid);
    2526
    26         $p = array('target_c_member_id' => $todo['c_member_id']);
     27        $p = array('target_c_member_id' => $target_c_member_id);
    2728        openpne_redirect('pc', 'page_f_home', $p);
    2829    }
  • OpenPNE/trunk/webapp_biz/modules/biz/templates/inc_biz_todo.tpl

    r8143 r8625  
    2323<tr class="({if $value.priority == 1})priHigh({elseif $value.priority == 2})priMiddle({else})priLow({/if})({if $value.writer_id != $target_id}) someone({/if})">
    2424<td class="state">
    25 <p><a href="({t_url m=biz a=do_`$cmd`_home_check_biz_todo})&amp;sessid=({$PHPSESSID})&amp;chid=({$value.biz_todo_id})&amp;is_check=({$value.is_check})"><img src="./skin/default/img/biz/checkbox_nochecked_({if $value.c_member_id == 0})share_({/if})2.gif" alt="" /></a></p>
     25<p><a href="({t_url m=biz a=do_`$cmd`_home_check_biz_todo})&amp;sessid=({$PHPSESSID})&amp;chid=({$value.biz_todo_id})&amp;is_check=({$value.is_check})&amp;target_c_member_id=({$target_id})"><img src="./skin/default/img/biz/checkbox_nochecked_({if $value.c_member_id == 0})share_({/if})2.gif" alt="" /></a></p>
    2626</td>
    2727<td class="text">({strip})
     
    4343<tr class="checked ({if $value.priority == 1})priHigh({elseif $value.priority == 2})priMiddle({else})priLow({/if})({if $value.writer_id != $target_id}) someone({/if})">
    4444<td class="state">
    45 <p><a href="({t_url m=biz a=do_`$cmd`_home_check_biz_todo})&amp;sessid=({$PHPSESSID})&amp;chid=({$value.biz_todo_id})&amp;is_check=({$value.is_check})"><img src="./skin/default/img/biz/checkbox_checked_({if !$value.member_id == 0})share_({/if})2.gif" alt="" /></a></p>
     45<p><a href="({t_url m=biz a=do_`$cmd`_home_check_biz_todo})&amp;sessid=({$PHPSESSID})&amp;chid=({$value.biz_todo_id})&amp;is_check=({$value.is_check})&amp;target_c_member_id=({$target_id})"><img src="./skin/default/img/biz/checkbox_checked_({if !$value.member_id == 0})share_({/if})2.gif" alt="" /></a></p>
    4646</td>
    4747<td class="text">({strip})
  • OpenPNE/trunk/webapp_biz/modules/biz/validate/do/f_home_check_biz_todo.ini

    r217 r8625  
    77[is_check]
    88type = "bool"
     9
     10[target_c_member_id]
     11type = "int"
Note: See TracChangeset for help on using the changeset viewer.