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

Changeset 563


Ignore:
Timestamp:
Oct 31, 2006, 5:39:19 PM (14 years ago)
Author:
takanashi
Message:

#180修正

Location:
OpenPNE/branches/2_4/webapp_biz/modules/biz
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2_4/webapp_biz/modules/biz/do/fh_biz_schedule_edit.php

    r547 r563  
    161161        $week = date("W", abs(strtotime($begin_date) - strtotime(date("Y-m-d")))) - 1;
    162162
    163         $p = array('w' => $week, 'msg' => '予定を編集しました。', 'id' => $schedule_id);
     163        if (in_array($u,$requests['sc_j_mem'])) {
     164            $target_id = $u;
     165        } else {
     166            $target_id = $requests['sc_j_mem'][0];
     167        }
     168        $p = array('w' => $week, 'msg' => '予定を編集しました。',
     169                   'id' => $schedule_id, 'target_id'  => $target_id);
    164170        openpne_redirect('biz', 'page_fh_biz_schedule_view', $p);
    165171    }
  • OpenPNE/branches/2_4/webapp_biz/modules/biz/templates/inc_biz_new_schedule.tpl

    r217 r563  
    2525<tr>
    2626<td class="bg_02 border_01 padding_ss" style="width:60px;border-right:none;border-top:none;">({$value.begin_date|date_format:"%m月%d日"})</td>
    27 <td class="bg_02 border_01 padding_ss" style="width:168px;border-top:none;"><a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$value.biz_schedule_id})">({$value.title})</a></td>
     27<td class="bg_02 border_01 padding_ss" style="width:168px;border-top:none;"><a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$value.biz_schedule_id})&amp;target_id=({$target_id})">({$value.title})</a></td>
    2828</tr>
    2929({****})
  • OpenPNE/branches/2_4/webapp_biz/modules/biz/templates/inc_biz_schedule_week.tpl

    r415 r563  
    223223({ext_include file="inc_biz_schedule_week_time.tpl"})
    224224<div class="padding_s" style="padding-top:0;">
    225 <a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})">({$item_schedule.title})</a>
    226 </div>
     225<a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&amp;target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
     226 </div>
    227227        ({else})
    228228({assign var="begin_time_H" value=$item_schedule.begin_time|date_format:"%H"})
     
    234234({ext_include file="inc_biz_schedule_week_time.tpl"})
    235235<div class="padding_s" style="padding-top:0;">
    236 <a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})">({$item_schedule.title})</a>
     236<a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&amp;target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
    237237</div>
    238238        ({/if})
  • OpenPNE/branches/2_4/webapp_biz/modules/biz/validate/do/fh_biz_schedule_edit.ini

    r217 r563  
    9999type="int"
    100100default=1
     101
     102[target_id]
     103type="int"
Note: See TracChangeset for help on using the changeset viewer.