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

Changeset 5915


Ignore:
Timestamp:
Mar 21, 2008, 10:44:28 AM (13 years ago)
Author:
nakasone
Message:

#1941:fh_diary_list.tpl の sideNav(サイドナビ)をXHTML+CSS化した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp/modules/pc/templates/fh_diary_list.tpl

    r5906 r5915  
    1717<div id="Left">
    1818
    19 ({* {{{ *})
    20 ({* #1941 *})<!-- ******ここから:カレンダー****** -->
    21 ({* #1941 *})<table border="0" cellspacing="0" cellpadding="0" style="width:165px;margin:0px auto;" class="border_07">
    22 ({* #1941 *})<tr>
    23 ({* #1941 *})<td style="width:7px;" class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    24 ({* #1941 *})<td style="width:149px;" class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    25 ({* #1941 *})<td style="width:7px;" class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    26 ({* #1941 *})</tr>
    27 ({* #1941 *})<tr>
    28 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    29 ({* #1941 *})<td class="bg_10" align="center">
    30 ({* #1941 *})<!-- *ここから:カレンダー>内容* -->
    31 ({* #1941 *})({*ここから:header*})
    32 ({* #1941 *})<!-- ここから:カレンダータイトル -->
    33 ({* #1941 *})<table border="0" cellspacing="0" cellpadding="0" style="width:149px;margin:0px auto;">
    34 ({* #1941 *})<tr>
    35 ({* #1941 *})<td align="center" class="bg_03 padding_s">
    36 ({* #1941 *})
    37 ({* #1941 *})({strip})
    38 ({* #1941 *})({if $ym.prev_month})
    39 ({* #1941 *})<span class="b_b">
    40 ({* #1941 *})<a href="({t_url m=pc a=page_fh_diary_list})
    41 ({* #1941 *})    &amp;target_c_member_id=({$target_member.c_member_id})
    42 ({* #1941 *})    &amp;year=({$ym.prev_year})
    43 ({* #1941 *})    &amp;month=({$ym.prev_month})">
    44 ({* #1941 *})<
    45 ({* #1941 *})</a>
    46 ({* #1941 *})</span>
    47 ({* #1941 *})({/if})
    48 ({* #1941 *})
    49 ({* #1941 *})<span class="b_b">({$date_val.month})月のカレンダー</span>
    50 ({* #1941 *})
    51 ({* #1941 *})({if $ym.next_month})
    52 ({* #1941 *})<span class="b_b">
    53 ({* #1941 *})<a href="({t_url m=pc a=page_fh_diary_list})
    54 ({* #1941 *})    &amp;target_c_member_id=({$target_member.c_member_id})
    55 ({* #1941 *})    &amp;year=({$ym.next_year})
    56 ({* #1941 *})    &amp;month=({$ym.next_month})">
    57 ({* #1941 *})>
    58 ({* #1941 *})</a>
    59 ({* #1941 *})</span>
    60 ({* #1941 *})({/if})
    61 ({* #1941 *})({/strip})
    62 ({* #1941 *})
    63 ({* #1941 *})</td>
    64 ({* #1941 *})</tr>
    65 ({* #1941 *})</table>
    66 ({* #1941 *})<!-- ここまで:カレンダータイトル -->
    67 ({* #1941 *})({*ここまで:header*})
    68 ({* #1941 *})({*ここから:body*})
    69 ({* #1941 *})<!-- ここから:主内容 -->
    70 ({* #1941 *})<table border="0" cellspacing="0" cellpadding="0" style="width:149px;margin:0px auto;">
    71 ({* #1941 *})({****************})
    72 ({* #1941 *})<tr>
    73 ({* #1941 *})<td style="width:149px;" class="bg_10" colspan="13"><img src="./skin/dummy.gif" alt="dummy" style="width:149px;height:1px;" class="dummy"></td>
    74 ({* #1941 *})</tr>
    75 ({* #1941 *})({****************})
    76 ({* #1941 *})<tr>
    77 ({* #1941 *})<td class="bg_09 s_ss padding_ss" align="right"><span class="c_02 s_ss">日</span></td>
    78 ({* #1941 *})<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    79 ({* #1941 *})<td class="bg_09 s_ss padding_ss" align="right">月</td>
    80 ({* #1941 *})<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    81 ({* #1941 *})<td class="bg_09 s_ss padding_ss" align="right">火</td>
    82 ({* #1941 *})<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    83 ({* #1941 *})<td class="bg_09 s_ss padding_ss" align="right">水</td>
    84 ({* #1941 *})<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    85 ({* #1941 *})<td class="bg_09 s_ss padding_ss" align="right">木</td>
    86 ({* #1941 *})<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    87 ({* #1941 *})<td class="bg_09 s_ss padding_ss" align="right">金</td>
    88 ({* #1941 *})<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    89 ({* #1941 *})<td class="bg_09 s_ss padding_ss" align="right"><span class="c_03 s_ss">土</span></td>
    90 ({* #1941 *})</tr>
    91 ({* #1941 *})({****************})
    92 ({* #1941 *})<tr>
    93 ({* #1941 *})<td style="width:149px;" class="bg_10" colspan="13"><img src="./skin/dummy.gif" alt="dummy" style="width:149px;height:1px;" class="dummy"></td>
    94 ({* #1941 *})</tr>
    95 ({* #1941 *})({****************})
    96 ({* #1941 *})({foreach from=$calendar item=week})
    97 ({* #1941 *})<tr>
    98 ({* #1941 *})({foreach from=$week item=item name="calendar_days"})
    99 ({* #1941 *})<td style="width:({if $smarty.foreach.calendar_days.iteration%7 == 0 || $smarty.foreach.calendar_days.iteration%7 == 1})21({else})20({/if})px;height:18px;" valign="middle" align="right" class="bg_02 s_ss padding_ss">
    100 ({* #1941 *})({if $item.day})
    101 ({* #1941 *})({if $item.is_diary})
    102 ({* #1941 *})<a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;year=({$date_val.year})&amp;month=({$date_val.month})&amp;day=({$item.day})" class="s_ss">({$item.day})</a>
    103 ({* #1941 *})({else})
    104 ({* #1941 *})({$item.day})
    105 ({* #1941 *})({/if})
    106 ({* #1941 *})({else})
    107 ({* #1941 *})&nbsp;({/if})
    108 ({* #1941 *})</td>
    109 ({* #1941 *})({if $smarty.foreach.calendar_days.iteration%7 != 0})
    110 ({* #1941 *})<td style="width:1px;" class="bg_10"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    111 ({* #1941 *})({/if})
    112 ({* #1941 *})({/foreach})
    113 ({* #1941 *})</tr>
    114 ({* #1941 *})({****************})
    115 ({* #1941 *})<tr>
    116 ({* #1941 *})<td style="width:149px;" class="bg_10" colspan="13"><img src="./skin/dummy.gif" alt="dummy" style="width:149px;height:1px;" class="dummy"></td>
    117 ({* #1941 *})</tr>
    118 ({* #1941 *})({****************})
    119 ({* #1941 *})({/foreach})
    120 ({* #1941 *})</table>
    121 ({* #1941 *})<!-- ここまで:主内容 -->
    122 ({* #1941 *})({*ここまで:body*})
    123 ({* #1941 *})({*ここから:footer*})
    124 ({* #1941 *})<!-- 無し -->
    125 ({* #1941 *})({*ここまで:footer*})
    126 ({* #1941 *})<!-- *ここまで:カレンダー>>内容* -->
    127 ({* #1941 *})</td>
    128 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    129 ({* #1941 *})</tr>
    130 ({* #1941 *})<tr>
    131 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    132 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    133 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    134 ({* #1941 *})</tr>
    135 ({* #1941 *})</table>
    136 ({* #1941 *})<!-- ******ここまで:カレンダー****** -->
    137 ({* #1941 *})<!-- ******ここから:最近のコメント****** -->
    138 ({* #1941 *})<table border="0" cellspacing="0" cellpadding="0" style="width:165px;margin:0px auto;" class="border_07">
    139 ({* #1941 *})<tr>
    140 ({* #1941 *})<td style="width:7px;" class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    141 ({* #1941 *})<td style="width:149px;" class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    142 ({* #1941 *})<td style="width:7px;" class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    143 ({* #1941 *})</tr>
    144 ({* #1941 *})<tr>
    145 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    146 ({* #1941 *})<td class="bg_10" align="center">
    147 ({* #1941 *})<!-- *ここから:最近のコメント>内容* -->
    148 ({* #1941 *})({*ここから:header*})
    149 ({* #1941 *})<!-- ここから:小タイトル -->
    150 ({* #1941 *})<table border="0" cellspacing="0" cellpadding="0" style="width:149px;" class="border_01">
    151 ({* #1941 *})<tr>
    152 ({* #1941 *})<td style="width:36px;" class="bg_06"><img src="({t_img_url_skin filename=content_header_1})" style="width:30px;height:20px;" class="dummy"></td>
    153 ({* #1941 *})<td style="width:111px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">最近のコメント</span></td>
    154 ({* #1941 *})</tr>
    155 ({* #1941 *})</table>
    156 ({* #1941 *})<!-- ここまで:小タイトル -->
    157 ({* #1941 *})({*ここまで:header*})
    158 ({* #1941 *})({*ここから:body*})
    159 ({* #1941 *})<!-- ここから:主内容 -->
    160 ({* #1941 *})<div align="left" class="bg_02 border_01 padding_ss">
    161 ({* #1941 *})<a href="({t_url m=pc a=page_fh_comment_list})&amp;target_c_member_id=({$target_member.c_member_id})"><img src="./skin/dummy.gif" alt="dummy" style="width:14px;height:14px;" class="icon icon_1">一覧を見る</a>
    162 ({* #1941 *})</div>
    163 ({* #1941 *})<!-- ここまで:主内容 -->
    164 ({* #1941 *})({*ここまで:body*})
    165 ({* #1941 *})({*ここから:footer*})
    166 ({* #1941 *})<!-- 無し -->
    167 ({* #1941 *})({*ここまで:footer*})
    168 ({* #1941 *})<!-- *ここまで:最近のコメント>>内容* -->
    169 ({* #1941 *})</td>
    170 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    171 ({* #1941 *})</tr>
    172 ({* #1941 *})<tr>
    173 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    174 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    175 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    176 ({* #1941 *})</tr>
    177 ({* #1941 *})</table>
    178 ({* #1941 *})<!-- ******ここまで:最近のコメント****** -->
    179 ({* unknown *})({if $date_list})
    180 ({* #1941 *})<!-- ******ここから:各月の日記一覧****** -->
    181 ({* #1941 *})<table border="0" cellspacing="0" cellpadding="0" style="width:165px;margin:0px auto;" class="border_07">
    182 ({* #1941 *})<tr>
    183 ({* #1941 *})<td style="width:7px;" class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    184 ({* #1941 *})<td style="width:149px;" class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    185 ({* #1941 *})<td style="width:7px;" class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    186 ({* #1941 *})</tr>
    187 ({* #1941 *})<tr>
    188 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    189 ({* #1941 *})<td class="bg_10" align="center">
    190 ({* #1941 *})<!-- *ここから:各月の日記一覧>内容* -->
    191 ({* #1941 *})({*ここから:header*})
    192 ({* #1941 *})<!-- ここから:小タイトル -->
    193 ({* #1941 *})<table border="0" cellspacing="0" cellpadding="0" style="width:149px;" class="border_01">
    194 ({* #1941 *})<tr>
    195 ({* #1941 *})<td style="width:36px;" class="bg_06"><img src="({t_img_url_skin filename=content_header_1})" style="width:30px;height:20px;" class="dummy"></td>
    196 ({* #1941 *})<td style="width:111px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">各月の日記</span></td>
    197 ({* #1941 *})</tr>
    198 ({* #1941 *})</table>
    199 ({* #1941 *})<!-- ここまで:小タイトル -->
    200 ({* #1941 *})({*ここまで:header*})
    201 ({* #1941 *})({*ここから:body*})
    202 ({* #1941 *})<!-- ここから:主内容 -->
    203 ({* #1941 *})<div align="left" class="bg_02 border_01 padding_ss">
    204 ({* #1941 *})({foreach from=$date_list item=date})
    205 ({* #1941 *})
    206 ({* #1941 *})<div><a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;year=({$date.year})&amp;month=({$date.month})"><img src="./skin/dummy.gif" alt="dummy" style="width:14px;height:14px;" class="icon icon_2">({$date.year})年({$date.month})月の一覧</a></div>
    207 ({* #1941 *})
    208 ({* #1941 *})({/foreach})
    209 ({* #1941 *})</div>
    210 ({* #1941 *})<!-- ここまで:主内容 -->
    211 ({* #1941 *})({*ここまで:body*})
    212 ({* #1941 *})({*ここから:footer*})
    213 ({* #1941 *})<!-- 無し -->
    214 ({* #1941 *})({*ここまで:footer*})
    215 ({* #1941 *})<!-- *ここまで:各月の日記一覧>>内容* -->
    216 ({* #1941 *})</td>
    217 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    218 ({* #1941 *})</tr>
    219 ({* #1941 *})<tr>
    220 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    221 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    222 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    223 ({* #1941 *})</tr>
    224 ({* #1941 *})</table>
    225 ({* #1941 *})<!-- ******ここまで:各月の日記一覧****** -->
    226 ({* unknown *})({/if})
    227 ({* unknown *})({if $category_list})
    228 ({* #1941 *})<!-- ******ここから:カテゴリ一覧****** -->
    229 ({* #1941 *})<table border="0" cellspacing="0" cellpadding="0" style="width:165px;margin:0px auto;" class="border_07">
    230 ({* #1941 *})<tr>
    231 ({* #1941 *})<td style="width:7px;" class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    232 ({* #1941 *})<td style="width:149px;" class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    233 ({* #1941 *})<td style="width:7px;" class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    234 ({* #1941 *})</tr>
    235 ({* #1941 *})<tr>
    236 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    237 ({* #1941 *})<td class="bg_10" align="center">
    238 ({* #1941 *})<!-- *ここから:カテゴリ一覧>内容* -->
    239 ({* #1941 *})({*ここから:header*})
    240 ({* #1941 *})<!-- ここから:小タイトル -->
    241 ({* #1941 *})<table border="0" cellspacing="0" cellpadding="0" style="width:149px;" class="border_01">
    242 ({* #1941 *})<tr>
    243 ({* #1941 *})<td style="width:36px;" class="bg_06"><img src="({t_img_url_skin filename=content_header_1})" style="width:30px;height:20px;" class="dummy"></td>
    244 ({* #1941 *})<td style="width:111px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">カテゴリ一覧</span></td>
    245 ({* #1941 *})</tr>
    246 ({* #1941 *})</table>
    247 ({* #1941 *})<!-- ここまで:小タイトル -->
    248 ({* #1941 *})({*ここまで:header*})
    249 ({* #1941 *})({*ここから:body*})
    250 ({* #1941 *})<!-- ここから:主内容 -->
    251 ({* #1941 *})<div align="left" class="bg_02 border_01 padding_ss">
    252 ({* #1941 *})({foreach from=$category_list item=category})
    253 ({* #1941 *})
    254 ({* #1941 *})<div><a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;category_id=({$category.c_diary_category_id})"><img src="./skin/dummy.gif" alt="dummy" style="width:14px;height:14px;" class="icon icon_2">({$category.category_name})</a></div>
    255 ({* #1941 *})
    256 ({* #1941 *})({/foreach})
    257 ({* #1941 *})</div>
    258 ({* #1941 *})<!-- ここまで:主内容 -->
    259 ({* #1941 *})({*ここまで:body*})
    260 ({* #1941 *})({*ここから:footer*})
    261 ({* #1941 *})<!-- 無し -->
    262 ({* #1941 *})({*ここまで:footer*})
    263 ({* #1941 *})<!-- *ここまで:カテゴリ一覧>>内容* -->
    264 ({* #1941 *})</td>
    265 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    266 ({* #1941 *})</tr>
    267 ({* #1941 *})<tr>
    268 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    269 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    270 ({* #1941 *})<td class="bg_10"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    271 ({* #1941 *})</tr>
    272 ({* #1941 *})</table>
    273 ({* #1941 *})<!-- ******ここまで:カテゴリ一覧****** -->
    274 ({* #1941 *})({/if})
     19({* {{{ sideNav *})
     20<div class="parts sideNav">
     21<div class="item calendar">
     22<div class="partsHeading"><h3>
     23({if $ym.prev_month})<a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;year=({$ym.prev_year})&amp;month=({$ym.prev_month})"><</a>({/if})
     24({$date_val.month})月のカレンダー
     25({if $ym.next_month})<a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;year=({$ym.next_year})&amp;month=({$ym.next_month})">></a>({/if})
     26</h3></div>
     27<table class="calendar">
     28<tr>
     29<th class="sun">日</th>
     30<th class="mon">月</th>
     31<th class="tue">火</th>
     32<th class="wed">水</th>
     33<th class="thu">木</th>
     34<th class="fri">金</th>
     35<th class="sat">土</th>
     36</tr>({foreach from=$calendar item=week})<tr>
     37({foreach from=$week item=item name="calendar_days"})
     38<td>({strip})
     39({if $item.day})
     40({if $item.is_diary})
     41<a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;year=({$date_val.year})&amp;month=({$date_val.month})&amp;day=({$item.day})">({$item.day})</a>
     42({else})
     43({$item.day})
     44({/if})
     45({else})
     46({/if})
     47({/strip})</td>
     48({/foreach})
     49</tr>
     50({/foreach})
     51</table>
     52</div>
     53
     54<div class="item recentlyComment">
     55<div class="partsHeading"><h3>最近のコメント</h3></div>
     56<ul class="list">
     57<li><a href="({t_url m=pc a=page_fh_comment_list})&amp;target_c_member_id=({$target_member.c_member_id})">一覧を見る</a></li>
     58</ul>
     59</div>
     60
     61({if $date_list})
     62<div class="item monthlyDiary">
     63<div class="partsHeading"><h3>各月の日記</h3></div>
     64<ul class="list">
     65({foreach from=$date_list item=date})
     66<li><a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;year=({$date.year})&amp;month=({$date.month})">({$date.year})年({$date.month})月の一覧</a></li>
     67({/foreach})
     68</ul>
     69</div>
     70({/if})
     71
     72({if $category_list})
     73<div class="item listCategory">
     74<div class="partsHeading"><h3>カテゴリ一覧</h3></div>
     75<ul class="list">
     76({foreach from=$category_list item=category})
     77<li><a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;category_id=({$category.c_diary_category_id})">({$category.category_name})</a></li>
     78({/foreach})
     79</ul>
     80</div>
     81({/if})
     82</div>
    27583({* }}} *})
    27684
Note: See TracChangeset for help on using the changeset viewer.