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

Ignore:
Timestamp:
Dec 7, 2006, 6:27:25 PM (14 years ago)
Author:
ebihara
Message:

Todo表示時に権限チェックを行うようにした

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/ebihara/prj_dev26_todo/webapp_biz/modules/biz/lib/smarty_functions.php

    r1055 r1066  
    4747
    4848//スケジュール用カレンダーを得る
    49 function biz_getScheduleWeek($member_id, $w, $cmd, $head = true, $value = true, $foot = true, $member_info = false)
     49function biz_getScheduleWeek($u, $member_id, $w, $cmd, $head = true, $value = true, $foot = true, $member_info = false)
    5050{
    5151    if ($cmd != 'p') {
     
    107107                'event' => p_h_home_event4c_member_id($y, $m, $d, $member_id),
    108108                'schedule' => $schedule,
    109                 'todo' => biz_schedule_todo4c_member_id($member_id, $y, $m, $d),
     109                'todo' => biz_schedule_todo4c_member_id($u, $member_id, $y, $m, $d),
    110110            );
    111111
     
    175175
    176176//Todoリストを得る
    177 function biz_getTodoList($member_id, $cmd, $nickname = null)
     177function biz_getTodoList($u, $member_id, $cmd, $nickname = null)
    178178{
    179179    $inc_smarty = new OpenPNE_Smarty($GLOBALS['SMARTY']);
     
    187187    }
    188188
    189     $todolist = biz_getMemberTodo($member_id);
    190     $checkedlist = biz_getMemberTodo($member_id, 1);
     189    $todolist = biz_getMemberTodo($u, $member_id);
     190    $checkedlist = biz_getMemberTodo($u, $member_id, 1);
    191191
    192192    foreach ($todolist as $key => $value) {
Note: See TracChangeset for help on using the changeset viewer.