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

Changeset 5812


Ignore:
Timestamp:
Mar 16, 2008, 4:53:53 PM (11 years ago)
Author:
kiwa
Message:

#1947 8. diaryDetailBox(日記詳細ボックス)をXHTML+CSS化

File:
1 edited

Legend:

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

    r5791 r5812  
    330330<div id="Center">
    331331
    332 ({* #1947 *})<!-- ******ここから:日記本文****** -->
    333 ({* #1947 *})<table border="0" cellspacing="0" cellpadding="0" style="width:540px;margin:0px auto;" class="border_07">
    334 ({* #1947 *})<tr>
    335 ({* #1947 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    336 ({* #1947 *})<td style="width:524px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    337 ({* #1947 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    338 ({* #1947 *})</tr>
    339 ({* #1947 *})<tr>
    340 ({* #1947 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    341 ({* #1947 *})<td class="bg_01" align="center">
    342 ({* #1947 *})<!-- *ここから:日記本文>内容* -->
    343 ({* #1947 *})({*ここから:header*})
    344 ({* #1947 *})<!-- ここから:小タイトル -->
    345 ({* #1947 *})<table border="0" cellspacing="0" cellpadding="0" style="width:524px;" class="border_01">
    346 ({* #1947 *})<tr>
    347 ({* #1947 *})<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>
    348 ({* #1947 *})<td style="width:236px; padding:2px 0px;" class="bg_06"><span class="b_b c_00"><span id="DOM_fh_diary_writer">({$target_member.nickname})</span>({if $type == "f"})さん({/if})の日記</span></td>
    349 ({* #1947 *})<td style="width:250px; padding:2px 3px;" class="bg_06" align="right" valign="middle">
    350 ({* #1947 *})({if $target_diary.public_flag == "public"})
    351 ({* #1947 *})(全員に公開)
    352 ({* #1947 *})({elseif $target_diary.public_flag == "friend"})
    353 ({* #1947 *})(({$WORD_MY_FRIEND})まで公開)
    354 ({* #1947 *})({elseif $target_diary.public_flag == "private"})
    355 ({* #1947 *})(公開しない)
    356 ({* #1947 *})({/if})
    357 ({* #1947 *})</td>
    358 ({* #1947 *})</tr>
    359 ({* #1947 *})</table>
    360 ({* #1947 *})<!-- ここから:主内容>>前の日記/次の日記 -->
    361 ({* #1947 *})<table border="0" cellspacing="0" cellpadding="0" style="width:524px;" class="border_01">
    362 ({* #1947 *})({*********})
    363 ({* #1947 *})<tr>
    364 ({* #1947 *})<td style="width:524px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    365 ({* #1947 *})</tr>
    366 ({* #1947 *})({*********})
    367 ({* #1947 *})<tr>
    368 ({* #1947 *})<!-- ************************************** -->
    369 ({* #1947 *})<td align="left" style="width: 10px" class="bg_09"><img src="./skin/dummy.gif" alt="" style="width:10px;" class="dummy"></td>
    370 ({* #1947 *})<td align="left" style="width: 252px;" class="bg_09">
    371 ({* #1947 *})({if $c_diary_id_prev})
    372 ({* #1947 *})<div style="padding:4px 3px;">
    373 ({* #1947 *})<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$c_diary_id_prev})">«前の日記</a>
    374 ({* #1947 *})({else})
    375 ({* #1947 *})&nbsp;
    376 ({* #1947 *})({/if})
    377 ({* #1947 *})</div>
    378 ({* #1947 *})</td>
    379 ({* #1947 *})
    380 ({* #1947 *})<!-- ************************************** -->
    381 ({* #1947 *})
    382 ({* #1947 *})<td align="right" style="width: 252px;" class="bg_09">
    383 ({* #1947 *})<div style="padding:4px 3px;">
    384 ({* #1947 *})({if $c_diary_id_next})
    385 ({* #1947 *})<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$c_diary_id_next})">次の日記»</a>
    386 ({* #1947 *})({else})
    387 ({* #1947 *})&nbsp;
    388 ({* #1947 *})({/if})
    389 ({* #1947 *})</div>
    390 ({* #1947 *})</td>
    391 ({* #1947 *})<td align="right" style="width: 10px" class="bg_09"><img src="./skin/dummy.gif" alt="" style="width:10px;" class="dummy"></td>
    392 ({* #1947 *})<!-- ************************************** -->
    393 ({* #1947 *})</tr>
    394 ({* #1947 *})({*********})
    395 ({* #1947 *})</table>
    396 ({* #1947 *})<!-- ここまで:主内容>>前の日記/次の日記 -->
    397 ({* #1947 *})<!-- ここから:主内容>>日記表示 -->
    398 ({* #1947 *})<table border="0" cellspacing="0" cellpadding="0" style="width:524px;" class="border_01">
    399 ({* #1947 *})({*********})
    400 ({* #1947 *})<tr>
    401 ({* #1947 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    402 ({* #1947 *})<td style="width:95px;" class="bg_05" align="center" valign="top" rowspan="3">
    403 ({* #1947 *})<div style="padding:4px 3px;">
    404 ({* #1947 *})
    405 ({* #1947 *})({$target_diary.r_datetime|date_format:"%Y年%m月%d日<br>%H:%M"})
    406 ({* #1947 *})
    407 ({* #1947 *})</div>
    408 ({* #1947 *})</td>
    409 ({* #1947 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    410 ({* #1947 *})<td style="width:424px;" class="bg_02" align="left" valign="middle">
    411 ({* #1947 *})<div style="padding:4px 3px;">
    412 ({* #1947 *})
    413 ({* #1947 *})<span id="DOM_fh_diary_title">({$target_diary.subject})</span>
    414 ({* #1947 *})
    415 ({* #1947 *})</div>
    416 ({* #1947 *})</td>
    417 ({* #1947 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    418 ({* #1947 *})</tr>
    419 ({* #1947 *})({*********})
    420 ({* #1947 *})<tr>
    421 ({* #1947 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    422 ({* #1947 *})<td style="width:426px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    423 ({* #1947 *})</tr>
    424 ({* #1947 *})({*********})
    425 ({* #1947 *})<tr>
    426 ({* #1947 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    427 ({* #1947 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    428 ({* #1947 *})<td class="bg_02" align="left" valign="middle" style="width:424px;">
    429 ({* #1947 *})
    430 ({* #1947 *})<div style="padding:4px 3px;">
    431 ({* #1947 *})
    432 ({* #1947 *})({if $target_diary.image_filename_1 || $target_diary.image_filename_2 || $target_diary.image_filename_3})
    433 ({* #1947 *})<div>
    434 ({* #1947 *})({if $target_diary.image_filename_1})<span class="padding_s"><a href="({t_img_url filename=$target_diary.image_filename_1})" target="_blank"><img src="({t_img_url filename=$target_diary.image_filename_1 w=120 h=120})"></a></span>({/if})
    435 ({* #1947 *})({if $target_diary.image_filename_2})<span class="padding_s"><a href="({t_img_url filename=$target_diary.image_filename_2})" target="_blank"><img src="({t_img_url filename=$target_diary.image_filename_2 w=120 h=120})"></a></span>({/if})
    436 ({* #1947 *})({if $target_diary.image_filename_3})<span class="padding_s"><a href="({t_img_url filename=$target_diary.image_filename_3})" target="_blank"><img src="({t_img_url filename=$target_diary.image_filename_3 w=120 h=120})"></a></span>({/if})
    437 ({* #1947 *})</div>
    438 ({* #1947 *})({/if})
    439 ({* #1947 *})
    440 ({* #1947 *})<div class="lh_120" id="DOM_fh_diary_body">
    441 ({* #1947 *})({$target_diary.body|nl2br|t_url2cmd:'diary'|t_cmd:'diary'})
    442 ({* #1947 *})</div>
    443 ({* #1947 *})
    444 ({* #1947 *})</div>
    445 ({* #1947 *})</td>
    446 ({* #1947 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    447 ({* #1947 *})</tr>
    448 ({* #1947 *})({*********})
    449 ({* #1947 *})<tr>
    450 ({* #1947 *})<td style="height:1px;" class="bg_01" colspan="7"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    451 ({* #1947 *})</tr>
    452 ({* #1947 *})({*********})
    453 ({* #1947 *})({if $category_list})
    454 ({* #1947 *})<tr>
    455 ({* #1947 *})<td class="bg_01" align="right"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    456 ({* #1947 *})<td class="bg_02" align="right" colspan="3">
    457 ({* #1947 *})<div style="padding:4px 3px; font-size:85%;">
    458 ({* #1947 *})
    459 ({* #1947 *})({foreach from=$category_list item=category})
    460 ({* #1947 *})    ({$category.category_name})
    461 ({* #1947 *})({/foreach})
    462 ({* #1947 *})
    463 ({* #1947 *})</div>
    464 ({* #1947 *})</td>
    465 ({* #1947 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    466 ({* #1947 *})</tr>
    467 ({* #1947 *})({*********})
    468 ({* #1947 *})<tr>
    469 ({* #1947 *})<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    470 ({* #1947 *})</tr>
    471 ({* #1947 *})({*********})
    472 ({* #1947 *})({/if})
    473 ({* #1947 *})({if $type == "h"})
    474 ({* #1947 *})<tr>
    475 ({* #1947 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    476 ({* #1947 *})<td class="bg_02" align="center" colspan="3">
    477 ({* #1947 *})<div style="padding:4px 3px;">
    478 ({* #1947 *})
    479 ({* #1947 *})({t_form _method=get m=pc a=page_h_diary_edit})
    480 ({* #1947 *})<input type="hidden" name="target_c_diary_id" value="({$target_diary.c_diary_id})">
    481 ({* #1947 *})<input type="submit"  class="submit" value="編 集">
    482 ({* #1947 *})</form>
    483 ({* #1947 *})
    484 ({* #1947 *})</div>
    485 ({* #1947 *})</td>
    486 ({* #1947 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    487 ({* #1947 *})</tr>
    488 ({* #1947 *})({*********})
    489 ({* #1947 *})<tr>
    490 ({* #1947 *})<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    491 ({* #1947 *})</tr>
    492 ({* #1947 *})({*********})
    493 ({* #1947 *})({/if})
    494 ({* #1947 *})</table>
    495 ({* #1947 *})<!-- ここまで:主内容>>日記表示 -->
    496 ({* #1947 *})<!-- ここまで:主内容 -->
    497 ({* #1947 *})({*ここまで:body*})
    498 ({* #1947 *})({*ここから:footer*})
    499 ({* #1947 *})<!-- 無し -->
    500 ({* #1947 *})({*ここまで:footer*})
    501 ({* #1947 *})<!-- *ここまで:日記本文>>内容* -->
    502 ({* #1947 *})</td>
    503 ({* #1947 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    504 ({* #1947 *})</tr>
    505 ({* #1947 *})<tr>
    506 ({* #1947 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    507 ({* #1947 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    508 ({* #1947 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    509 ({* #1947 *})</tr>
    510 ({* #1947 *})</table>
    511 ({* #1947 *})<!-- ******ここまで:日記本文****** -->
     332({* {{{ diaryDetailBox *})
     333<div class="dparts diaryDetailBox"><div class="parts">
     334<div class="partsHeading"><h3>({$target_member.nickname})({if $type == "f"})さん({/if})の日記</h3>
     335<p class="public">
     336({if $target_diary.public_flag == "public"})(全員に公開)
     337({elseif $target_diary.public_flag == "friend"})(({$WORD_MY_FRIEND})まで公開)
     338({elseif $target_diary.public_flag == "private"})(公開しない)({/if})
     339</p></div><div class="pagerRelative">
     340<p class="prev">({if $c_diary_id_prev})<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$c_diary_id_prev})">«前の日記</a>({else})&nbsp;({/if})</p>
     341<p class="next">({if $c_diary_id_next})<a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$c_diary_id_next})">次の日記»</a>({else})&nbsp;({/if})</p>
     342</div>
     343<dl>
     344<dt>({$target_diary.r_datetime|date_format:"%Y年<br />%m月%d日<br />%H:%M"})</dt>
     345<dd>
     346<div class="title">
     347<p class="heading">({$target_diary.subject})</p>
     348</div>
     349<div class="body">
     350({if $target_diary.image_filename_1 || $target_diary.image_filename_2 || $target_diary.image_filename_3})
     351<ul class="photo">
     352({if $target_diary.image_filename_1})<li><a href="({t_img_url filename=$target_diary.image_filename_1})" target="_blank"><img src="({t_img_url filename=$target_diary.image_filename_1 w=120 h=120})"></a></li>({/if})
     353({if $target_diary.image_filename_2})<li><a href="({t_img_url filename=$target_diary.image_filename_2})" target="_blank"><img src="({t_img_url filename=$target_diary.image_filename_2 w=120 h=120})"></a></span></li>({/if})
     354({if $target_diary.image_filename_3})<li><a href="({t_img_url filename=$target_diary.image_filename_3})" target="_blank"><img src="({t_img_url filename=$target_diary.image_filename_3 w=120 h=120})"></a></li>({/if})
     355</ul>
     356({/if})
     357<p class="text">
     358({$target_diary.body|nl2br|t_url2cmd:'diary'|t_cmd:'diary'})
     359</p>
     360</div>
     361</dd>
     362</dl>
     363({if $category_list})
     364<div class="block category">
     365<ul>
     366({foreach from=$category_list item=category})
     367<li>({$category.category_name}) </li>
     368({/foreach})
     369</ul>
     370</div>
     371({/if})
     372({if $type == "h"})
     373<div class="operation">
     374({t_form _method=get m=pc a=page_h_diary_edit})
     375<input type="hidden" name="target_c_diary_id" value="({$target_diary.c_diary_id})" />
     376<ul class="moreInfo button">
     377<li><input type="submit" class="input_submit" value="編 集" /></li>
     378</ul>
     379</form>
     380</div>
     381({/if})
     382</div></div>
     383({* }}} *})
     384
    512385({* unknown *})({if $target_diary_comment_list})
    513386({* #1948 *})<!-- ******ここから:コメント一覧****** -->
Note: See TracChangeset for help on using the changeset viewer.