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

Changeset 1256


Ignore:
Timestamp:
Dec 18, 2006, 7:15:14 PM (16 years ago)
Author:
ebihara
Message:

週間カレンダー表示時、祝日や日曜日の背景色を変えるように

Location:
OpenPNE/branches/ebihara/prj_dev26_calendar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/ebihara/prj_dev26_calendar/webapp/modules/pc/templates/h_home.tpl

    r1159 r1256  
    923923<tr>
    924924({foreach from=$calendar item=item name=calendar})
    925 <td style="width:({if $smarty.foreach.calendar.last})64({else})60({/if})px;({if !$smarty.foreach.calendar.last})border-right:none;({/if})" align="left" valign="top" class="border_01 bg_0({if $item.now})9({else})2({/if})({if $item.dayofweek == "日" || $item.holiday}) c_02({elseif $item.dayofweek == "土"}) c_03({/if}) padding_s">
     925<td style="width:({if $smarty.foreach.calendar.last})64({else})60({/if})px;({if !$smarty.foreach.calendar.last})border-right:none;({/if})" align="left" valign="top" class="border_01 bg_0({if $item.now})9({elseif $item.dayofweek == "日" || $item.holiday})14 c_02({else})2({if $item.dayofweek == "土"}) c_03({/if})({/if}) padding_s">
    926926({if $item.now})<span class="b_b">({/if})
    927927
  • OpenPNE/branches/ebihara/prj_dev26_calendar/webapp_biz/modules/biz/templates/inc_biz_schedule_week.tpl

    r1161 r1256  
    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 == "日" || $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">
     142<td class="({if $item.now})bg_09({elseif $item.dayofweek == "日" || $item.holiday})bg_14 c_02({else})({if $item.dayofweek == "土"}) c_03({/if}) bg_05({/if}) padding_ss border_01" 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 == "日" || $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">
     207<td class="({if $item.now})bg_09({elseif $item.dayofweek == "日" || $item.holiday})bg_14 c_02({else})({if $item.dayofweek == "土"}) c_03({/if}) bg_05({/if}) padding_ss border_01" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if}) border-bottom:none;" align="left" valign="top">
    208208
    209209({* 祝日 *})
     
    264264
    265265({foreach from=$calendar item=item name=calendar})
    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">
     266<td class="({if $item.now})bg_09({elseif $item.dayofweek == "日" || $item.holiday})bg_14 c_02({else})({if $item.dayofweek == "土"}) c_03({/if}) bg_05({/if}) padding_ss border_01" style="width:81px;border-top:none;({if !$smarty.foreach.calendar.last}) border-right:none;({/if})" align="left" valign="top">
    267267
    268268({if $cmd == 'h'})
Note: See TracChangeset for help on using the changeset viewer.