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

source: OpenPNE/trunk/webapp/modules/pc/templates/h_album_insert_dialog.tpl @ 6780

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

#2273:旧CSSファイルの削除、layout.tplの統一

File size: 5.1 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"></script>
9<script type="text/javascript" src="./js/tiny_mce/tiny_mce_popup.js"></script>
10<title>({$INC_HEADER_title})</title>
11<link rel="stylesheet" href="./xhtml_style.php" type="text/css" />
12<script type="text/javascript">
13function insertAlbumURLToTextarea(album_id) {
14    var albumURLBase = "({t_url _absolute=1 _html=0 m=pc a=page_fh_album})";
15    var replace = " " + albumURLBase + "&target_c_album_id=" + album_id + " ";
16
17    var elm = window.opener.document.getElementById('mce_editor_textarea');
18
19    if (elm.style.display == "none") {
20        tinyMCEPopup.execCommand('mceInsertContent', false, replace);
21    } else {
22        var selection = new Selection(elm);
23
24        var pos = selection.create();
25
26        var head = elm.value.substring(0, pos.start);
27        var tail = elm.value.substring(pos.end, elm.value.length);
28        elm.value =  head + replace + tail;
29    }
30}
31</script>
32</head>
33<body id="pc_page_({$INC_HEADER_page_name})"><div id="Body">
34<div id="Container" style="width: 600px">
35
36<div id="Center" style="width : 560px; margin: 20px;">
37
38<h1 style="font-weight: bold; font-size: 1.2em;">アルバム・アルバム写真の挿入</h1>
39<p>アルバム・アルバム写真を記事に挿入することができます。</p>
40
41({* unknown *})<div class="dparts" style="margin-top: 1em;"><div class="parts">
42({* unknown *})<div class="partsHeading"><h3>({$target_member.nickname})のアルバム</h3></div>
43({* unknown *})
44({* unknown *})({capture name=pager})({strip})
45({* unknown *})<div class="pagerRelative">
46({* unknown *})({if $is_prev})
47({* unknown *})<p class="prev"><a href="({t_url m=pc a=page_h_album_insert_dialog})&amp;page=({$page-1})">前を表示</a></p>
48({* unknown *})({/if})
49({* unknown *})<p class="number">
50({* unknown *})({$total_num})件中 ({$page*$page_size-$page_size+1})件~
51({* unknown *})({if $page_size > $album_list_count})
52({* unknown *})({$album_list_count+$page*$page_size-$page_size})
53({* unknown *})({else})
54({* unknown *})({$page*$page_size})
55({* unknown *})({/if})
56({* unknown *})件を表示
57({* unknown *})</p>
58({* unknown *})({if $is_next})
59({* unknown *})<p class="next"><a href="({t_url m=pc a=page_h_album_insert_dialog})&amp;page=({$page+1})">次を表示</a></p>
60({* unknown *})({/if})
61({* unknown *})</div>
62({* unknown *})({/strip})({/capture})
63({* unknown *})({$smarty.capture.pager|smarty:nodefaults})
64({* unknown *})
65({* unknown *})({foreach from=$target_album_list item=item})
66({* unknown *})<table>
67({* unknown *})<tr>
68({* unknown *})<td rowspan="4" align="center" style="width: 190px; padding: 5px;">
69({* 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="" />
70({* unknown *})<p style="text-align:center; padding: 2px;"><a href="#" onclick="insertAlbumURLToTextarea(({$item.c_album_id}))">アルバムを挿入</a></p>
71({* unknown *})</td>
72({* unknown *})<th style="width:75px; padding: 5px;">タイトル</th>
73({* unknown *})<td style="padding: 5px;" colspan="2">({$item.subject})</td>
74({* unknown *})</tr>
75({* unknown *})<tr>
76({* unknown *})<th style="border-left-width: 1px; padding: 5px;">説明文</th>
77({* unknown *})<td style="padding: 5px;" colspan="2">({$item.description|t_truncate:36:"":3})</td>
78({* unknown *})</tr>
79({* unknown *})<tr>
80({* unknown *})<th style="border-left-width: 1px; padding: 5px;">公開範囲</th>
81({* unknown *})<td style="padding: 5px;" colspan="2">
82({* unknown *})({if $item.public_flag == "public"})
83({* unknown *})全員に公開
84({* unknown *})({elseif $item.public_flag == "friend"})
85({* unknown *})({$WORD_MY_FRIEND})まで公開
86({* unknown *})({elseif $item.public_flag == "private"})
87({* unknown *})公開しない
88({* unknown *})({/if})
89({* unknown *})</td>
90({* unknown *})</tr>
91({* unknown *})<tr>
92({* unknown *})<th style="border-left-width: 1px; padding: 5px;">作成日時</th>
93({* unknown *})<td style="padding: 5px;">({$item.r_datetime|date_format:"%m月%d日 %H:%M"})</td>
94({* 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>
95({* unknown *})</tr>
96({* unknown *})</table>
97({* unknown *})({/foreach})
98({* unknown *})
99({* unknown *})({$smarty.capture.pager|smarty:nodefaults})
100({* unknown *})
101({* unknown *})</div></div>
102
103({* {{{ linkLine *})
104<div class="parts linkLine"><ul class="moreInfo">
105<li><a href="#" onclick="window.close()">ウィンドウを閉じる</a></li>
106</ul></div>
107({* }}} *})
108
109</div><!-- Center -->
110</div><!-- Container -->
111</div><!-- Body -->
112
113
114</body>
115</html>
Note: See TracBrowser for help on using the repository browser.