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

Changeset 3505


Ignore:
Timestamp:
Jul 24, 2007, 1:49:38 PM (12 years ago)
Author:
yoshimura
Message:

施設予約時間を変更

File:
1 edited

Legend:

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

    r3224 r3505  
    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)
    5050{
    5151    if ($cmd != 'p') {
     
    150150
    151151    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);
     152        $s_hours = biz_makeSerialArray(23,0,1);  //開始時間
     153        $inc_smarty->assign("s_hours", $s_hours);
     154        if($select_flag) $inc_smarty->assign("selected_s_hour", $selected_s_hour);
     155        $s_mins = biz_makeSerialArray(30,0,30);  //開始分
     156        $inc_smarty->assign("s_mins", $s_mins);
     157        if($select_flag) $inc_smarty->assign("selected_s_min", $selected_s_min);
     158   
     159        $e_hours = biz_makeSerialArray(23,0,1);  //終了時間
     160        $inc_smarty->assign("e_hours", $e_hours);
     161        if($select_flag) $inc_smarty->assign("selected_e_hour", $selected_e_hour);
     162        $e_mins = biz_makeSerialArray(30,0,30);  //終了分
     163        $inc_smarty->assign("e_mins", $e_mins);
     164        if($select_flag) $inc_smarty->assign("selected_e_min", $selected_e_min);   
     165
    156166        $inc_smarty->assign("list", biz_getShisetsuData($member_id));
    157167        $config = biz_getConfig();
Note: See TracChangeset for help on using the changeset viewer.