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

Ignore:
Timestamp:
Apr 18, 2008, 8:57:02 PM (12 years ago)
Author:
ogawa
Message:

#1943:weeklyCalendarTableを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp_biz/modules/pc/templates/h_home.tpl

    r6625 r6635  
    295295({if $inc_entry_point[8]})({$inc_entry_point[8]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
    296296
    297 ({if $calendar})
    298 ({* {{{ weeklyCalendarTable *})
    299 <div class="dparts weeklyCalendarTable"><div class="parts">
    300 ({t_form_block m=pc a=do_h_home_insert_c_schedule})
    301 <input type="hidden" name="w" value="({$w})" />
    302 <p class="scheduleForm">予定 <input type="text" class="input_text" name="title" value="" size="24" />
    303 <select name="start_date">
    304 ({foreach from=$calendar item=item})
    305 <option value="({$item.year})-({$item.month})-({$item.day})"({if $item.now}) selected="selected"({/if})>({$item.month})/({$item.day})(({$item.dayofweek}))</option>
    306 ({/foreach})
    307 </select>
    308 <input type="submit" class="input_submit" value="追加" />
    309 <a href="({t_url m=pc a=page_h_home})&amp;w=({$w-1})" title="前の週"><</a>
    310 <a href="({t_url m=pc a=page_h_home})" title="今週">■</a>
    311 <a href="({t_url m=pc a=page_h_home})&amp;w=({$w+1})" title="次の週">></a>
    312 </p>
    313 ({/t_form_block})
    314 <table class="calendar">
    315 <tr>
    316 ({foreach from=$calendar item=item name=calendar})
    317 <th class="day({if $item.dayofweek == "日" || $item.holiday}) sun({elseif $item.dayofweek == "土"}) sat({/if})({if $item.now}) now({/if})">({strip})
    318 ({capture name=day})
    319 ({if $smarty.foreach.calendar.first || $item.day == 1})({$item.month})/({/if})({$item.day})<br />
    320 (({$item.dayofweek}))
    321 ({/capture})
    322 ({if $item.now})<strong>({$smarty.capture.day|smarty:nodefaults})</strong>({else})({$smarty.capture.day|smarty:nodefaults})({/if})
    323 ({/strip})</th>
    324 ({/foreach})
    325 </tr><tr>
    326 ({foreach from=$calendar item=item name=calendar})
    327 <td class="day({if $item.now}) now({/if})">
    328 ({strip})
    329 ({* 祝日 *})
    330 ({foreach from=$item.holiday item=item_holiday})
    331 <span class="holiday">({$item_holiday})</span><br />
    332 ({/foreach})
    333 
    334 ({* 誕生日 *})
    335 ({foreach from=$item.birth item=item_birth})
    336 ({if $item_birth.public_flag_birth_month_day != "private" || $c_member.c_member_id == $item_birth.c_member_id})
    337 <img src="({t_img_url_skin filename=icon_birthday})" alt="誕生日" /><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item_birth.c_member_id})">({$item_birth.nickname})さん</a><br />
    338 ({/if})
    339 ({/foreach})
    340 
    341 ({* イベント *})
    342 ({foreach from=$item.event item=item_event})
    343 <img src="({if $item_event.is_join})({t_img_url_skin filename=icon_event_R})({else})({t_img_url_skin filename=icon_event_B})({/if})" alt="イベント" /><a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$item_event.c_commu_topic_id})">({$item_event.name|t_truncate:20:".."})</a><br />
    344 ({/foreach})
    345 
    346 ({* スケジュール *})
    347 ({foreach from=$item.schedule item=item_schedule})
    348 <img src="({t_img_url_skin filename=icon_pen})" alt="予定" /><a href="({t_url m=pc a=page_h_schedule})&amp;target_c_schedule_id=({$item_schedule.c_schedule_id})">({$item_schedule.title})</a><br />
    349 ({/foreach})
    350 ({/strip})
    351 </td>
    352 ({/foreach})
    353 </tr>
    354 </table>
    355 <div class="block moreInfo">
    356 <ul class="moreInfo">
    357 <li><a href="({t_url m=pc a=page_h_calendar})">月別カレンダー</a></li>
    358 </ul>
    359 </div>
    360 </div></div>
    361 ({* }}} *})
    362 ({/if})
    363 
    364297({if $inc_entry_point[9]})({$inc_entry_point[9]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
    365298
Note: See TracChangeset for help on using the changeset viewer.