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

Changeset 7204


Ignore:
Timestamp:
May 14, 2008, 8:07:45 PM (11 years ago)
Author:
ogawa
Message:

#2200:bizWeeklyCalendarTableを修正

Location:
OpenPNE/branches/stable-2.12.x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.12.x/public_html/xhtml_style.php

    r7167 r7204  
    20652065
    20662066/*==============================================================================
     2067 * bizWeeklyCalendarTable(BIZ用週間カレンダーテーブル)
     2068 *----------------------------------------------------------------------------*/
     2069#Body .bizWeeklyCalendarTable .parts {
     2070        border-top: none;
     2071}
     2072.bizWeeklyCalendarTable div.block {
     2073        padding: 5px;
     2074}
     2075.bizWeeklyCalendarTable .input_submit {
     2076        margin-right: 8px;
     2077}
     2078.bizWeeklyCalendarTable .calendar td {
     2079        padding: 5px 0;
     2080        vertical-align: top;
     2081}
     2082.bizWeeklyCalendarTable .calendar td p {
     2083        padding: 0 5px;
     2084}
     2085.bizWeeklyCalendarTable .calendar td .time {
     2086        padding: 0;
     2087}
     2088.bizWeeklyCalendarTable .calendar .today {
     2089        background: #<?php echo $colors[7]; ?>;
     2090}
     2091.bizWeeklyCalendarTable .calendar .today p.day {
     2092        font-weight: bold;
     2093}
     2094.bizWeeklyCalendarTable ul.moreInfo {
     2095        margin: 0 2px 0 auto;
     2096        width: 9em;
     2097}
     2098.bizWeeklyCalendarTable .calendar th {
     2099        width: 120px;
     2100        padding: 5px;
     2101        text-align: center;
     2102}
     2103.bizWeeklyCalendarTable .calendar th * {
     2104        text-align: center;
     2105}
     2106.bizWeeklyCalendarTable .calendar th .input_text {
     2107        width: 118px;
     2108}
     2109.bizWeeklyCalendarTable .calendar th .input_submit {
     2110        width: 120px;
     2111        margin-right: 0px;
     2112}
     2113.bizWeeklyCalendarTable .calendar th .nickname {
     2114        margin: 5px 0;
     2115}
     2116.bizWeeklyCalendarTable .calendar td.sub {
     2117        border-width: 0 0 0 1px;
     2118}
     2119.bizWeeklyCalendarTable div.moreInfo {
     2120        padding-left: 135px;
     2121}
     2122
     2123/*==============================================================================
    20672124 * albumImageBox
    20682125 *----------------------------------------------------------------------------*/
  • OpenPNE/branches/stable-2.12.x/webapp_biz/modules/biz/templates/inc_biz_schedule_week.tpl

    r6746 r7204  
    1 ({if $head})<!-- HEADER_BEGIN -->
    2 <div class="dparts weeklyCalendarTable"><div class="parts">
    3 
    4 ({if $msg})
    5 <div class="block">
    6 <p class="caution">({$msg})</p>
    7 </div>
    8 ({/if})
     1({if $head})
     2<div class="dparts bizWeeklyCalendarTable"><div class="parts">
    93
    104({if $cmd == "g"})
    115
    12 <div class="block" style="padding-left: 135px">
     6<div class="block moreInfo">
    137({t_form_block m=biz a=do_g_home_add_biz_schedule})
    148<input type="hidden" name="target_id" value="({$target_id})" />
     
    2216</select>
    2317<input type="submit" class="input_submit" value="追加" />
    24 <a href="({t_url m=biz a=page_`$cmd`_home})&amp;w=({$w-1})&amp;target_c_commu_id=({$target_id})" title="前の週"><</a>
    25 <a href="({t_url m=biz a=page_`$cmd`_home})&amp;target_c_commu_id=({$target_id})" title="今週">■</a>
    26 <a href="({t_url m=biz a=page_`$cmd`_home})&amp;w=({$w+1})&amp;target_c_commu_id=({$target_id})" title="次の週">></a>
     18<a href="({t_url m=biz a=page_g_home})&amp;w=({$w-1})&amp;target_c_commu_id=({$target_id})" title="前の週"><</a>
     19<a href="({t_url m=biz a=page_g_home})&amp;target_c_commu_id=({$target_id})" title="今週">■</a>
     20<a href="({t_url m=biz a=page_g_home})&amp;w=({$w+1})&amp;target_c_commu_id=({$target_id})" title="次の週">></a>
    2721({/t_form_block})
    2822</div>
     
    3832({/if})
    3933
    40 <div class="block">
     34<div class="block moreInfo">
    4135({t_form_block m=biz a=do_s_add_schedule})
    4236<input type="hidden" name="shisetsu_id" value="({$target_id})" />
    4337施設予約を入れる:
    44 
    4538<select name="start_date">
    4639({foreach from=$calendar item=item})
     
    4841({/foreach})
    4942</select>
    50 
    5143<select name="start_time">
    5244<option value="">現在時</option>
     
    6355まで
    6456<input type="submit" class="input_submit" value="追加" />
    65 
    6657<a href="({t_url m=biz a=page_s_list})&amp;w=({$w-1})" title="前の週"><</a>
    6758<a href="({t_url m=biz a=page_s_list})" title="今週">■</a>
     
    7263({/if})
    7364
    74 ({/if})  <!-- END HEAD -->
    75 ({if $value})  <!-- BEGIN VALUE -->
     65({/if})({* /head *})
     66({if $value})
    7667
    7768<table class="calendar">
    7869<tr>
    7970
    80 <td rowspan="2" style="width: 120px">
     71<th rowspan="2">
    8172({if $cmd == "s_list"})
    8273<img src="({t_img_url filename=$list.image_filename w=120 h=120 noimg=no_image})" alt="" /><br />
     
    8879
    8980({if !$is_closed_shisetsu})
    90 <input type="button" onclick="location.href='({t_url m=biz a=page_s_edit_shisetsu})&amp;id=({$target_id})'" value="編 集" style="width:112px;" class="input_submit" />
    91 <input type="button" onclick="location.href='({t_url m=biz a=page_s_delete_shisetsu})&amp;target_id=({$target_id})&amp;sessid=({$PHPSESSID})'" value="削 除" style="width:112px;" class="input_submit" />
     81<input type="button" class="input_submit" onclick="location.href='({t_url m=biz a=page_s_edit_shisetsu})&amp;id=({$target_id})'" value="編 集" />
     82<input type="button" class="input_submit" onclick="location.href='({t_url m=biz a=page_s_delete_shisetsu})&amp;target_id=({$target_id})&amp;sessid=({$PHPSESSID})'" value="削 除" />
    9283({/if})
    9384
     
    9586
    9687({if $cmd != "h"})
    97 <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$member_info.c_member_id})">({$member_info.nickname})</a><br />
    98 最終ログインは<br />({$member_info.last_login})<br />
     88<p class="text"><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$member_info.c_member_id})">({$member_info.nickname})</a></p>
     89<p class="login_time">最終ログインは<br />({$member_info.last_login})</p>
    9990({else})
    10091
     
    10293({if ($smarty.const.OPENPNE_DISP_RANK && $rank) || ($smarty.const.OPENPNE_DISP_POINT && $point)})
    10394({if $smarty.const.OPENPNE_DISP_RANK && $rank})
    104 <img src="({t_img_url filename=$rank.image_filename})" alt="({$rank.name})" /><br />
     95<p class="rank"><img src="({t_img_url filename=$rank.image_filename})" alt="({$rank.name})" /></p>
    10596({/if})
    10697({if $smarty.const.OPENPNE_DISP_POINT && $point})
    107 ({$point}) Point<br />
    108 ({/if})
    109 ({/if})
    110 ({/if})
    111 
     98<p class="point">({$point}) Point</p>
     99({/if})
     100({/if})
     101({/if})
     102
     103<div class="nickname">
    112104({t_form_block m=biz a=do_h_home_edit_nickname})
    113 <input type="text" class="input_text" name="nickname" value="({$member_info.nickname})" style="width:112px; text-align:center;" /><br />
    114 <input type="submit" class="input_submit" value="名前変更" style="width:112px;" /><br />
    115 ({/t_form_block})
    116 
    117 <input type="button" class="input_submit" onclick="location.href='({t_url m=pc a=page_h_config_image})'" value="写真を編集" style="width:112px;" /><br />
    118 <input type="button" class="input_submit" onclick="location.href='({t_url m=pc a=page_h_config_prof})'" value="プロフィール変更" style="width:112px;" />
    119 ({/if})
    120 
    121 ({/if})
    122 </td>
     105<input type="text" class="input_text" name="nickname" value="({$member_info.nickname})" /><br />
     106<input type="submit" class="input_submit" value="名前変更" /><br />
     107({/t_form_block})
     108</div>
     109<ul class="moreInfo button">
     110<li><input type="button" class="input_submit" onclick="location.href='({t_url m=pc a=page_h_config_image})'" value="写真を編集" /></li>
     111<li><input type="button" class="input_submit" onclick="location.href='({t_url m=pc a=page_h_config_prof})'" value="プロフィール変更" /></li>
     112</ul>
     113({/if})
     114
     115({/if})
     116</th>
    123117
    124118({foreach from=$calendar item=item name=calendar})
     
    144138({/if})
    145139
    146 <p style="margin:0 -5px;">({ext_include file="inc_biz_schedule_week_time.tpl"})</p>
    147 <a href="({t_url m=biz a=page_s_view_schedule})&amp;id=({$item_schedule.biz_shisetsu_schedule_id})">({$item_schedule.c_member_name})</a>
     140<p class="time">({ext_include file="inc_biz_schedule_week_time.tpl"})</p>
     141<p><a href="({t_url m=biz a=page_s_view_schedule})&amp;id=({$item_schedule.biz_shisetsu_schedule_id})">({$item_schedule.c_member_name})</a></p>
    148142
    149143({elseif $item_schedule.begin_date != $item_schedule.finish_date})  <!--バナー予定 -->
     
    156150({/if})
    157151
    158 <p style="margin:0 -5px;">({ext_include file="inc_biz_schedule_week_time.tpl"})</p>
    159 <a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&amp;target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
     152<p class="time">({ext_include file="inc_biz_schedule_week_time.tpl"})</p>
     153<p><a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&amp;target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a></p>
    160154
    161155({else})
     
    171165({/if})
    172166
    173 <p style="margin:0 -5px;">({ext_include file="inc_biz_schedule_week_time.tpl"})</p>
    174 <a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&amp;target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a>
     167<p class="time">({ext_include file="inc_biz_schedule_week_time.tpl"})</p>
     168<p><a href="({t_url m=biz a=page_fh_biz_schedule_view})&amp;id=({$item_schedule.biz_schedule_id})({if $cmd=='f'})&amp;target_id=({$member_info.c_member_id})({/if})">({$item_schedule.title})</a></p>
    175169
    176170({/if})
     
    183177({foreach from=$calendar item=item name=calendar})
    184178({strip})
    185 <td({if $item.now}) class="today"({/if}) style="border-width: 0 0 0 1px;">
     179<td class="sub ({if $item.now}) today({/if})">
    186180
    187181({if $cmd == 'h'})
     
    221215</table>
    222216
    223 ({/if})  <!-- END VALUE -->
    224 ({if $foot})  <!-- BEGIN FOOT -->
     217({/if})({* /value *})
     218({if $foot})
    225219
    226220({if $cmd == "h" || $cmd == "f"})
    227 <div class="block" style="padding-left: 135px;">
     221<div class="block moreInfo">
    228222({t_form_block m=biz a=do_`$cmd`_home_add_biz_schedule})
    229223
     
    248242</div></div>
    249243
    250 ({/if}) <!-- END FOOT -->
     244({/if})({* /foot *})
Note: See TracChangeset for help on using the changeset viewer.