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

Changeset 6768


Ignore:
Timestamp:
Apr 27, 2008, 11:19:44 AM (11 years ago)
Author:
ogawa
Message:

#2247:fh_album_image_showのXHTML+CSS化

Location:
OpenPNE/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/public_html/xhtml_style.php

    r6764 r6768  
    20552055
    20562056/*==============================================================================
     2057 * albumImageBox
     2058 *----------------------------------------------------------------------------*/
     2059.albumImageBox p.photo {
     2060        padding: 10px;
     2061        border-top: 1px solid #<?php echo $colors[1]; ?>;
     2062        text-align: center;
     2063}
     2064.albumImageBox th, .albumImageBox td {
     2065        padding: 5px;
     2066}
     2067#Body .albumImageBox th {
     2068        width: 140px;
     2069        border-left: none;
     2070}
     2071
     2072/*==============================================================================
    20572073 *
    20582074 *----------------------------------------------------------------------------*/
  • OpenPNE/trunk/webapp/modules/pc/templates/fh_album_image_show.tpl

    r6745 r6768  
    22<div id="Center">
    33
    4 ({* unknown *})<div class="dparts formTable"><div class="parts">
    5 ({* unknown *})<div class="partsHeading"><h3>写真の表示</h3></div>
    6 ({* unknown *})
    7 ({* unknown *})({if $c_album_iamge_id_prev || $c_album_iamge_id_next})
    8 ({* unknown *})<div class="pagerRelative">
    9 ({* unknown *})({if $c_album_iamge_id_prev})<p class="prev"><a href="({t_url m=pc a=page_fh_album_image_show})&amp;target_c_album_image_id=({$c_album_iamge_id_prev})">«前の写真</a></p>({/if})
    10 ({* unknown *})({if $c_album_iamge_id_next})<p class="next"><a href="({t_url m=pc a=page_fh_album_image_show})&amp;target_c_album_image_id=({$c_album_iamge_id_next})">次の写真»</a></p>({/if})
    11 ({* unknown *})</div>
    12 ({* unknown *})({/if})
    13 ({* unknown *})
    14 ({* unknown *})<table>
    15 ({* unknown *})<tr>
    16 ({* unknown *})<td colspan="2">
    17 ({* unknown *})<img src="({t_img_url filename=$c_album_image.image_filename w=600 h=600})" alt="photo" vspace="4" />
    18 ({* unknown *})</td>
    19 ({* unknown *})</tr>
    20 ({* unknown *})<tr>
    21 ({* unknown *})<td>写真説明</td>
    22 ({* unknown *})<td>({$c_album_image.image_description})</td>
    23 ({* unknown *})</tr>
    24 ({* unknown *})</table>
    25 ({* unknown *})
    26 ({* unknown *})
    27 ({* unknown *})({if $c_album_iamge_id_prev || $c_album_iamge_id_next})
    28 ({* unknown *})<div class="pagerRelative">
    29 ({* unknown *})({if $c_album_iamge_id_prev})<p class="prev"><a href="({t_url m=pc a=page_fh_album_image_show})&amp;target_c_album_image_id=({$c_album_iamge_id_prev})">«前の写真</a></p>({/if})
    30 ({* unknown *})({if $c_album_iamge_id_next})<p class="next"><a href="({t_url m=pc a=page_fh_album_image_show})&amp;target_c_album_image_id=({$c_album_iamge_id_next})">次の写真»</a></p>({/if})
    31 ({* unknown *})</div>
    32 ({* unknown *})({/if})
    33 ({* unknown *})
    34 ({* unknown *})</div></div>
     4<div class="dparts albumImageBox"><div class="parts">
     5<div class="partsHeading"><h3>写真の表示</h3></div>
     6
     7({capture name=pager})({strip})
     8({if $c_album_iamge_id_prev || $c_album_iamge_id_next})
     9<div class="pagerRelative">
     10({if $c_album_iamge_id_prev})<p class="prev"><a href="({t_url m=pc a=page_fh_album_image_show})&amp;target_c_album_image_id=({$c_album_iamge_id_prev})">«前の写真</a></p>({/if})
     11({if $c_album_iamge_id_next})<p class="next"><a href="({t_url m=pc a=page_fh_album_image_show})&amp;target_c_album_image_id=({$c_album_iamge_id_next})">次の写真»</a></p>({/if})
     12</div>
     13({/if})
     14({/strip})({/capture})
     15({$smarty.capture.pager|smarty:nodefaults})
     16
     17<p class="photo"><img src="({t_img_url filename=$c_album_image.image_filename w=600 h=600})" alt="({$c_album_image.image_description|t_truncate:30})" /></p>
     18
     19<table>
     20<tr>
     21<th>写真説明</th>
     22<td>({$c_album_image.image_description})</td>
     23</tr>
     24</table>
     25
     26({$smarty.capture.pager|smarty:nodefaults})
     27
     28</div></div>
    3529
    3630({* {{{ linkLine *})
Note: See TracChangeset for help on using the changeset viewer.