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

Changeset 7260


Ignore:
Timestamp:
May 17, 2008, 2:03:14 PM (11 years ago)
Author:
ogawa
Message:

albumDetailBox(アルバム詳細ボックス)のXHTML+CSS化

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

    r7258 r7260  
    21452145
    21462146/*==============================================================================
     2147 * albumDetailBox
     2148 *----------------------------------------------------------------------------*/
     2149.albumDetailBox th,
     2150.albumDetailBox td {
     2151        padding: 5px;
     2152}
     2153.albumDetailBox th {
     2154        width: 75px;
     2155}
     2156.albumDetailBox td.photo {
     2157        width: 190px;
     2158        padding: 5px 0;
     2159        text-align: center;
     2160}
     2161#Body .albumDetailBox th:first-child,
     2162#Body .albumDetailBox td.operation {
     2163        border-left-width: 1px;
     2164}
     2165.albumDetailBox td.operation {
     2166        text-align: right;
     2167}
     2168
     2169/*==============================================================================
    21472170 * albumImageBox
    21482171 *----------------------------------------------------------------------------*/
  • OpenPNE/branches/stable-2.12.x/webapp/modules/pc/templates/fh_album.tpl

    r6772 r7260  
    1919<div id="Center">
    2020
    21 ({* unknown *})<div class="dparts"><div class="parts">
    22 ({* unknown *})<div class="partsHeading"><h3>({$target_member.nickname})({if $type == "f"})さん({/if})のアルバム</h3></div>
    23 ({* unknown *})<table>
    24 ({* unknown *})<tr>
    25 ({* unknown *})<td class="photo" rowspan="({if $type == "h"})5({else})4({/if})" style="width: 180px; padding: 5px;">
    26 ({* unknown *})({if $album_info.album_cover_image})
    27 ({* unknown *})<a href="({t_img_url filename=$album_info.album_cover_image})" target="_blank"><img src="({t_img_url filename=$album_info.album_cover_image w=180 h=180})" alt="" /></a>
    28 ({* unknown *})({else})
    29 ({* unknown *})<img src="({t_img_url filename=$album_info.album_cover_image w=180 h=180})" alt="" />
    30 ({* unknown *})({/if})
    31 ({* unknown *})</td>
    32 ({* unknown *})<th style="width: 75px; padding: 5px;">タイトル</th>
    33 ({* unknown *})<td style="padding: 5px;">({$album_info.subject})</td>
    34 ({* unknown *})</tr>
    35 ({* unknown *})<tr>
    36 ({* unknown *})<th style="border-left-width: 1px; padding: 5px;">説明文</th>
    37 ({* unknown *})<td style="padding: 5px;">({$album_info.description|nl2br|t_url2a})</td>
    38 ({* unknown *})</tr>
    39 ({* unknown *})<tr>
    40 ({* unknown *})<th style="border-left-width: 1px; padding: 5px;">公開範囲</th>
    41 ({* unknown *})<td style="padding: 5px;">
    42 ({* unknown *})({if $album_info.public_flag == "public"})
    43 ({* unknown *})全員に公開
    44 ({* unknown *})({elseif $album_info.public_flag == "friend"})
    45 ({* unknown *})({$WORD_MY_FRIEND})まで公開
    46 ({* unknown *})({elseif $album_info.public_flag == "private"})
    47 ({* unknown *})公開しない
    48 ({* unknown *})({/if})
    49 ({* unknown *})</td>
    50 ({* unknown *})</tr>
    51 ({* unknown *})<tr>
    52 ({* unknown *})<th style="border-left-width: 1px; padding: 5px;">作成日時</th>
    53 ({* unknown *})<td style="padding: 5px;">({$album_info.r_datetime|date_format:"%Y年%m月%d日 %H:%M"})</td>
    54 ({* unknown *})</tr>
    55 ({* unknown *})({if $type == "h"})
    56 ({* unknown *})<tr>
    57 ({* unknown *})<td colspan="2" style="border-left-width: 1px; padding: 5px;">
    58 ({* unknown *})<a href="({t_url m=pc a=page_h_album_cover_edit})&amp;target_c_album_id=({$album_info.c_album_id})">アルバムを編集</a>
    59 ({* unknown *}) | <a href="({t_url m=pc a=page_h_album_image_add})&amp;target_c_album_id=({$album_info.c_album_id})">写真を追加</a>
    60 ({* unknown *})</td>
    61 ({* unknown *})</tr>
    62 ({* unknown *})({/if})
    63 ({* unknown *})</table>
    64 ({* unknown *})</div></div>
     21({* {{{ albumDetailBox *})
     22<div class="dparts albumDetailBox"><div class="parts">
     23<div class="partsHeading"><h3>({$target_member.nickname})({if $type == "f"})さん({/if})のアルバム</h3></div>
     24<table>
     25<tr>
     26<td class="photo" rowspan="({if $type == "h"})5({else})4({/if})">
     27({if $album_info.album_cover_image})
     28<a href="({t_img_url filename=$album_info.album_cover_image})" target="_blank"><img src="({t_img_url filename=$album_info.album_cover_image w=180 h=180})" alt="" /></a>
     29({else})
     30<img src="({t_img_url filename=$album_info.album_cover_image w=180 h=180})" alt="" />
     31({/if})
     32</td>
     33<th>タイトル</th>
     34<td>({$album_info.subject})</td>
     35</tr>
     36<tr>
     37<th>説明文</th>
     38<td>({$album_info.description|nl2br|t_url2a})</td>
     39</tr>
     40<tr>
     41<th>公開範囲</th>
     42<td>
     43({if $album_info.public_flag == "public"})
     44全員に公開
     45({elseif $album_info.public_flag == "friend"})
     46({$WORD_MY_FRIEND})まで公開
     47({elseif $album_info.public_flag == "private"})
     48公開しない
     49({/if})
     50</td>
     51</tr>
     52<tr>
     53<th>作成日時</th>
     54<td>({$album_info.r_datetime|date_format:"%Y年%m月%d日 %H:%M"})</td>
     55</tr>
     56({if $type == "h"})
     57<tr>
     58<td class="operation" colspan="2">
     59<a href="({t_url m=pc a=page_h_album_cover_edit})&amp;target_c_album_id=({$album_info.c_album_id})">アルバムを編集</a>
     60 | <a href="({t_url m=pc a=page_h_album_image_add})&amp;target_c_album_id=({$album_info.c_album_id})">写真を追加</a>
     61</td>
     62</tr>
     63({/if})
     64</table>
     65</div></div>
     66({* }}} *})
    6567
    6668({if $album_image_list})
Note: See TracChangeset for help on using the changeset viewer.