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

Changeset 1161


Ignore:
Timestamp:
Dec 14, 2006, 5:12:03 PM (13 years ago)
Author:
ebihara
Message:

#315 BIZモジュール上で祝日の表示ができるように

Location:
OpenPNE/branches/ebihara/prj_dev26_calendar/webapp_biz/modules/biz
Files:
4 edited

Legend:

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

    r1087 r1161  
    107107                'event' => p_h_home_event4c_member_id($y, $m, $d, $member_id),
    108108                'schedule' => $schedule,
     109                'holiday' => db_c_holiday_list4date($m, $d),
    109110            );
    110111
  • OpenPNE/branches/ebihara/prj_dev26_calendar/webapp_biz/modules/biz/page/fh_biz_schedule_calendar.php

    r1087 r1161  
    7474                'event' => $event_list[$day],
    7575                'schedule' => $schedule,
     76                'holiday' => db_c_holiday_list4date($month, $day),
    7677              );
    7778              $item['day'] = $day;
  • OpenPNE/branches/ebihara/prj_dev26_calendar/webapp_biz/modules/biz/templates/fh_biz_schedule_calendar.tpl

    r1081 r1161  
    7979({/if})<br>
    8080<a href="({t_url m=biz a=page_fh_biz_schedule_add})&amp;begin_date=({$year})({$month|string_format:'%02d'})({$item.day|string_format:'%02d'})"><img src="./skin/icon_schedule.gif" class="icon"></a><br>
     81
     82({* 祝日 *})
     83({foreach from=$item.holiday item=item_holiday})
     84<span class=" c_02">({$item_holiday})</span><br>
     85({/foreach})
    8186
    8287({* スケジュール *})
  • OpenPNE/branches/ebihara/prj_dev26_calendar/webapp_biz/modules/biz/templates/inc_biz_schedule_week.tpl

    r1088 r1161  
    140140<td class="bg_05 border_01" style="width:131px;border-top:none;border-right:none;" align="center" valign="top"><img src="./skin/dummy.gif" style="width:130px;height:10px;" class="dummy"></td>
    141141({foreach from=$calendar item=item name=calendar})
    142 <td class="({if $item.now})bg_09({else})bg_05({/if}) padding_ss border_01({if $item.dayofweek == "日"}) c_02({elseif $item.dayofweek == "土"}) c_03({else})({/if})" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if})" align="center">
     142<td class="({if $item.now})bg_09({else})bg_05({/if}) padding_ss border_01({if $item.dayofweek == "日" || $item.holiday}) c_02({elseif $item.dayofweek == "土"}) c_03({else})({/if})" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if})" align="center">
    143143
    144144({if $item.now})<span class="b_b">({/if})
     
    205205</td>
    206206({foreach from=$calendar item=item name=calendar})
    207 <td class="({if $item.now})bg_09({else})bg_02({/if}) border_01({if $item.dayofweek == "日"}) c_02({elseif $item.dayofweek == "土"}) c_03({else})({/if})" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if}) border-bottom:none;" align="left" valign="top">
     207<td class="({if $item.now})bg_09({else})bg_02({/if}) border_01({if $item.dayofweek == "日" || $item.holiday}) c_02({elseif $item.dayofweek == "土"}) c_03({else})({/if})" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if}) border-bottom:none;" align="left" valign="top">
     208
     209({* 祝日 *})
     210<div class="padding_s">
     211({foreach from=$item.holiday item=item_holiday})
     212({$item_holiday})<br>
     213({/foreach})
     214</div>
    208215
    209216({* スケジュール(時間有) *})
     
    257264
    258265({foreach from=$calendar item=item name=calendar})
    259 <td class="({if $item.now})bg_09({else})bg_02({/if}) border_01({if $item.dayofweek == "日"}) c_02({elseif $item.dayofweek == "土"}) c_03({else})({/if})" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if})" align="left" valign="top">
     266<td class="({if $item.now})bg_09({else})bg_02({/if}) border_01({if $item.dayofweek == "日" || $item.holiday}) c_02({elseif $item.dayofweek == "土"}) c_03({else})({/if})" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if})" align="left" valign="top">
    260267
    261268({if $cmd == 'h'})
Note: See TracChangeset for help on using the changeset viewer.