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

Ignore:
Timestamp:
Dec 15, 2006, 11:12:43 AM (16 years ago)
Author:
takanashi
Message:

#361 週間スケジュールの表示方法変更
#315 カレンダーの休日・祝日設定を入れたい
盛り込み

Location:
OpenPNE/trunk/webapp/modules/pc/templates
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/pc/templates/h_calendar.tpl

    r1081 r1187  
    6969({foreach from=$calendar item=week})
    7070<tr>
    71 ({foreach from=$week item=item})
     71({foreach from=$week item=item name=weekloop})
    7272({if $item.now})
    7373<td style="height:65px;padding:2px;" align="left" valign="top" class="bg_09">
     74({elseif $item.holiday || $smarty.foreach.weekloop.first})
     75<td style="height:65px;padding:2px;" align="left" valign="top" class="bg_14">
    7476({else})
    7577<td style="height:65px;padding:2px;" align="left" valign="top" class="bg_02">
     
    8183({$item.day})
    8284({/if})<br>
     85
    8386({if $add_schedule})
    8487<a href="({t_url m=pc a=page_h_schedule_add})&amp;year=({$ym.year_disp})&amp;month=({$ym.month_disp})&amp;day=({$item.day})"><img src="({t_img_url_skin filename=icon_schedule})" class="icon"></a><br>
     88({/if})
     89
     90({* 祝日 *})
     91({if $item.holiday})
     92({foreach from=$item.holiday item=item_holiday})
     93<span class=" c_02">({$item_holiday})</span><br>
     94({/foreach})
    8595({/if})
    8696
  • OpenPNE/trunk/webapp/modules/pc/templates/h_config.tpl

    r1175 r1187  
    368368<input type="radio" name="is_receive_daily_news" value="0" ({if $c_member.is_receive_daily_news eq 0}) checked="checked"({/if}) class="no_bg">受け取らない<br>
    369369<span>※({$SNS_NAME})の最新情報をお届けします。</span>
     370
     371</div>
     372</td>
     373<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     374</tr>
     375({*********})
     376<tr>
     377<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     378</tr>
     379({/if})
     380({*********})
     381({if $smarty.const.DISPLAY_SCHEDULE_HOME})
     382<tr>
     383<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     384<td class="bg_05" align="left" valign="middle">
     385
     386<div class="padding_s">
     387
     388週間カレンダー
     389
     390</div>
     391
     392</td>
     393<td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     394<td class="bg_02" align="left" valign="middle">
     395<div class="padding_s">
     396
     397<input type="radio" name="schedule_start_day" value="0" ({if $c_member.schedule_start_day == 0}) checked="checked"({/if})>日曜始まり
     398<input type="radio" name="schedule_start_day" value="1" ({if $c_member.schedule_start_day == 1}) checked="checked"({/if})>月曜始まり
     399<input type="radio" name="schedule_start_day" value="2" ({if $c_member.schedule_start_day == 2}) checked="checked"({/if})>本日始まり
    370400
    371401</div>
  • OpenPNE/trunk/webapp/modules/pc/templates/h_home.tpl

    r1106 r1187  
    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 == "日"}) 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({else})2({/if})({if $item.dayofweek == "日" || $item.holiday}) c_02({elseif $item.dayofweek == "土"}) c_03({/if}) padding_s">
    926926({if $item.now})<span class="b_b">({/if})
    927927
     
    935935
    936936<div>
     937({* 祝日 *})
     938({foreach from=$item.holiday item=item_holiday})
     939({$item_holiday})<br>
     940({/foreach})
     941
    937942({* 誕生日 *})
    938943({foreach from=$item.birth item=item_birth})
  • OpenPNE/trunk/webapp/modules/pc/templates/inc_header.tpl

    r1154 r1187  
    4848.bg_12 { background-color: #({$INC_HEADER_color_config.bg_12}) ; }
    4949.bg_13 { background-color: #({$INC_HEADER_color_config.bg_13}) ; }
     50.bg_14 { background-color: #({$INC_HEADER_color_config.bg_14}) ; }
    5051
    5152body { background-color: #({$INC_HEADER_color_config.bg_12}) ; }
Note: See TracChangeset for help on using the changeset viewer.