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

Changeset 3510


Ignore:
Timestamp:
Jul 24, 2007, 2:01:06 PM (12 years ago)
Author:
yoshimura
Message:

施設予約時間のUI変更に伴う変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/yoshimura/2.6/webapp_biz/modules/biz/lib/smarty_functions.php

    r3305 r3510  
    4747
    4848//スケジュール用カレンダーを得る
    49 function biz_getScheduleWeek($u, $member_id, $w, $cmd, $head = true, $value = true, $foot = true, $member_info = false, $start_day = 0 )
     49function biz_getScheduleWeek($u, $member_id, $w, $cmd, $head = true, $value = true, $foot = true, $member_info = false, $start_day = 0, $selected_s_hour = '', $selected_s_min = '', $selected_e_hour = '', $selected_e_min = '', $select_flag = false)
     50
    5051{
    5152    if ($cmd != 'p') {
     
    150151
    151152    if ($cmd == 's_list') {
    152         $hours = biz_makeSerialArray(23);  //時
    153         $inc_smarty->assign("hours", $hours);
    154         $mins = biz_makeSerialArray(300, 30, 30);  //分
    155         $inc_smarty->assign("mins", $mins);
     153        $s_hours = biz_makeSerialArray(23,0,1);  //開始時間
     154        $inc_smarty->assign("s_hours", $s_hours);
     155        if($select_flag) $inc_smarty->assign("selected_s_hour", $selected_s_hour);
     156        $s_mins = biz_makeSerialArray(30,0,30);  //開始分
     157        $inc_smarty->assign("s_mins", $s_mins);
     158        if($select_flag) $inc_smarty->assign("selected_s_min", $selected_s_min);
     159   
     160        $e_hours = biz_makeSerialArray(23,0,1);  //終了時間
     161        $inc_smarty->assign("e_hours", $e_hours);
     162        if($select_flag) $inc_smarty->assign("selected_e_hour", $selected_e_hour);
     163        $e_mins = biz_makeSerialArray(30,0,30);  //終了分
     164        $inc_smarty->assign("e_mins", $e_mins);
     165        if($select_flag) $inc_smarty->assign("selected_e_min", $selected_e_min);   
     166       
    156167        $inc_smarty->assign("list", biz_getShisetsuData($member_id));
    157168        $config = biz_getConfig();
Note: See TracChangeset for help on using the changeset viewer.