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

source: OpenPNE/branches/stable-2.12.x/webapp/modules/pc/templates/h_album_insert_dialog.tpl @ 7421

Last change on this file since 7421 was 7421, checked in by ogawa, 12 years ago

#2439:xhtml_style.phpの呼び出しにhash値を付与、Expiresヘッダを出力し、Etagは削除

File size: 5.4 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja" dir="ltr">
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6<meta http-equiv="Content-Style-Type" content="text/css" />
7<meta http-equiv="Content-Script-Type" content="text/javascript" />
8<script type="text/javascript" src="./js/Selection.js?r7140"></script>
9<script type="text/javascript" src="./js/tiny_mce/tiny_mce_popup.js?r7140"></script>
10<title>({$INC_HEADER_title})</title>
11<link rel="stylesheet" href="({t_url_style})" type="text/css" />
12<script type="text/javascript">
13//<![CDATA[
14function insertAlbumURLToTextarea(album_id) {
15    var albumURLBase = "({t_url _absolute=1 _html=0 m=pc a=page_fh_album})";
16    var replace = " " + albumURLBase + "&target_c_album_id=" + album_id + " ";
17
18    var elm = window.opener.document.getElementById('mce_editor_textarea');
19
20    if (elm.style.display == "none") {
21        tinyMCEPopup.execCommand('mceInsertContent', false, replace);
22    } else {
23        var selection = new Selection(elm);
24
25        var pos = selection.create();
26
27        var head = elm.value.substring(0, pos.start);
28        var tail = elm.value.substring(pos.end, elm.value.length);
29        elm.value =  head + replace + tail;
30    }
31}
32//]]>
33</script>
34</head>
35<body id="pc_page_({$INC_HEADER_page_name})"><div id="Body">
36<div id="Container" style="width: 600px">
37
38<div id="Center" style="width: 580px; margin: 0 auto; padding: 10px 0;">
39
40<h1 style="font-weight: bold; font-size: 1.2em;">アルバム・アルバム写真の挿入</h1>
41<p>アルバム・アルバム写真を記事に挿入することができます。</p>
42
43({if $total_num})
44({* unknown *})<div class="dparts" style="margin-top: 1em;"><div class="parts">
45({* unknown *})<div class="partsHeading"><h3>({$target_member.nickname})のアルバム</h3></div>
46({* unknown *})
47({* unknown *})({capture name=pager})({strip})
48({* unknown *})<div class="pagerRelative">
49({* unknown *})({if $is_prev})
50({* unknown *})<p class="prev"><a href="({t_url m=pc a=page_h_album_insert_dialog})&amp;page=({$page-1})">前を表示</a></p>
51({* unknown *})({/if})
52({* unknown *})<p class="number">
53({* unknown *})({$total_num})件中 ({$page*$page_size-$page_size+1})件~
54({* unknown *})({if $page_size > $album_list_count})
55({* unknown *})({$album_list_count+$page*$page_size-$page_size})
56({* unknown *})({else})
57({* unknown *})({$page*$page_size})
58({* unknown *})({/if})
59({* unknown *})件を表示
60({* unknown *})</p>
61({* unknown *})({if $is_next})
62({* unknown *})<p class="next"><a href="({t_url m=pc a=page_h_album_insert_dialog})&amp;page=({$page+1})">次を表示</a></p>
63({* unknown *})({/if})
64({* unknown *})</div>
65({* unknown *})({/strip})({/capture})
66({* unknown *})({$smarty.capture.pager|smarty:nodefaults})
67({* unknown *})
68({* unknown *})({foreach from=$target_album_list item=item})
69({* unknown *})<table>
70({* unknown *})<tr>
71({* unknown *})<td rowspan="4" align="center" style="width: 190px; padding: 5px;">
72({* unknown *})<img src="({if $item.album_cover_image})({t_img_url filename=$item.album_cover_image w=180 h=180})({else})({t_img_url_skin filename=no_image w=180 h=180})({/if})" alt="" />
73({* unknown *})<p style="text-align:center; padding: 2px;"><a href="#" onclick="insertAlbumURLToTextarea(({$item.c_album_id}))">アルバムを挿入</a></p>
74({* unknown *})</td>
75({* unknown *})<th style="width:75px; padding: 5px;">タイトル</th>
76({* unknown *})<td style="padding: 5px;" colspan="2">({$item.subject})</td>
77({* unknown *})</tr>
78({* unknown *})<tr>
79({* unknown *})<th style="border-left-width: 1px; padding: 5px;">説明文</th>
80({* unknown *})<td style="padding: 5px;" colspan="2">({$item.description|t_truncate:36:"":3})</td>
81({* unknown *})</tr>
82({* unknown *})<tr>
83({* unknown *})<th style="border-left-width: 1px; padding: 5px;">公開範囲</th>
84({* unknown *})<td style="padding: 5px;" colspan="2">
85({* unknown *})({if $item.public_flag == "public"})
86({* unknown *})全員に公開
87({* unknown *})({elseif $item.public_flag == "friend"})
88({* unknown *})({$WORD_MY_FRIEND})まで公開
89({* unknown *})({elseif $item.public_flag == "private"})
90({* unknown *})公開しない
91({* unknown *})({/if})
92({* unknown *})</td>
93({* unknown *})</tr>
94({* unknown *})<tr>
95({* unknown *})<th style="border-left-width: 1px; padding: 5px;">作成日時</th>
96({* unknown *})<td style="padding: 5px;">({$item.r_datetime|date_format:"%m月%d日 %H:%M"})</td>
97({* unknown *})<td style="padding: 5px; text-align: center;"><a href="({t_url m=pc a=page_h_album_image_insert_dialog})&amp;target_c_album_id=({$item.c_album_id})"><img src="({t_img_url_skin filename=button_shosai})" alt="詳細を見る" /></a></td>
98({* unknown *})</tr>
99({* unknown *})</table>
100({* unknown *})({/foreach})
101({* unknown *})
102({* unknown *})({$smarty.capture.pager|smarty:nodefaults})
103({* unknown *})
104({* unknown *})</div></div>
105({else})
106({* {{{ simpleBox *})
107<div class="dparts simpleBox"><div class="parts">
108<div class="partsHeading"><h3>({$target_member.nickname})のアルバム</h3></div>
109<div class="block">
110<p>まだアルバムがありません。</p>
111</div>
112</div></div>
113({* }}} *})
114({/if})
115
116({* {{{ linkLine *})
117<div class="parts linkLine"><ul class="moreInfo">
118<li><a href="#" onclick="window.close()">ウィンドウを閉じる</a></li>
119</ul></div>
120({* }}} *})
121
122</div><!-- Center -->
123</div><!-- Container -->
124</div><!-- Body -->
125
126
127</body>
128</html>
Note: See TracBrowser for help on using the repository browser.