Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips-library/xnpbulletin/templates/xnpbulletin_detail_block.html

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations) (download) (as text)
Thu Jul 13 03:20:50 2006 UTC (17 years, 9 months ago) by yamaji
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +5 -1 lines
File MIME type: text/html
Bug fixed for enabling to do the "Add to Public Index" function

1 <{* xnpbulletin detail block *}>
2 <{* $Revision: 1.7 $ *}>
3 <table class="outer">
4 <!-- Basic Information -->
5 <{if !empty( $basic.doi.value ) }>
6 <tr>
7 <td class="head"><{$basic.doi.name}></td>
8 <td class="<{cycle name="oddeven" values="odd,even"}>"><{$basic.doi.value}></td>
9 </tr>
10 <{/if}>
11 <tr>
12 <td class="head"><{$basic.item_type.name}></td>
13 <td class="<{cycle name="oddeven" values="odd,even"}>"><{$basic.item_type.value}></td>
14 </tr>
15 <tr>
16 <td width="30%" class="head"><{$smarty.const._MD_XNPBULLETIN_TITLE_LABEL}></td>
17 <td class="<{cycle name="oddeven" values="odd,even"}>" >
18 <table>
19 <tr><td
20 width="70"><{$basic.title.name}></td><td>:&nbsp;<{$detail.title|escape|replace:"&amp;#":"&#"}></td></tr>
21 <{*
22 <tr><td
23 width="70"><{$smarty.const._MD_XNPBULLETIN_KANA_LABEL}></td><td>:&nbsp;<{$detail.title_kana|escape|replace:"&amp;#":"&#"}></td></tr>
24 <tr><td
25 width="70"><{$smarty.const._MD_XNPBULLETIN_ROMAJI_LABEL}></td><td>:&nbsp;<{$detail.title_romaji|escape|replace:"&amp;#":"&#"}></td></tr>
26 *}>
27 </table>
28 </td>
29 </tr>
30 <{if !empty( $detail.sub_title_str ) }>
31 <tr>
32 <td class="head"><{$smarty.const._MD_XNPBULLETIN_SUB_TITLE_LABEL}></td>
33 <{capture assign="cls0"}><{cycle name="oddeven"}><{/capture}>
34 <{capture assign="cls1"}><{cycle name="oddeven"}><{/capture}>
35 <td class="<{cycle name="oddeven"}>"><{$detail.sub_title_str|replace:"oddeven0":$cls0|replace:"oddeven1":$cls1}></td>
36 <{if ($detail.sub_title_cnt.value == "0") }>
37 <{capture assign="cls"}><{cycle name="oddeven"}><{/capture}>
38 <{/if}>
39 </tr>
40 <{/if}>
41 <{if !empty( $detail.author_str ) }>
42 <tr>
43 <td class="head"><{$smarty.const._MD_XNPBULLETIN_AUTHOR_LABEL}></td>
44 <{capture assign="cls0"}><{cycle name="oddeven"}><{/capture}>
45 <{capture assign="cls1"}><{cycle name="oddeven"}><{/capture}>
46 <td class="<{cycle name="oddeven"}>"><{$detail.author_str|replace:"oddeven0":$cls0|replace:"oddeven1":$cls1}></td>
47 <{if ($detail.author_cnt.value == "0") }>
48 <{capture assign="cls"}><{cycle name="oddeven"}><{/capture}>
49 <{/if}>
50 </tr>
51 <{/if}>
52 <{if (!empty( $detail.journal ) || !empty( $detail.journal_translation )) }>
53 <tr>
54 <td class="head"><{$smarty.const._MD_XNPBULLETIN_JOURNAL_LABEL}></td>
55 <td class="<{cycle name="oddeven"}>" ><{$detail.journal|escape|replace:"&amp;#":"&#"}> (<{$detail.journal_translation|escape|replace:"&amp;#":"&#"}>)</td>
56 </tr>
57 <{/if}>
58 <{if !empty( $detail.volume ) }>
59 <tr>
60 <td class="head"><{$smarty.const._MD_XNPBULLETIN_VOLUME_LABEL}></td>
61 <td class="<{cycle name="oddeven"}>" ><{$detail.volume|escape|replace:"&amp;#":"&#"}></td>
62 </tr>
63 <{/if}>
64 <{if !empty( $detail.number ) }>
65 <tr>
66 <td class="head"><{$smarty.const._MD_XNPBULLETIN_NUMBER_LABEL}></td>
67 <td class="<{cycle name="oddeven"}>" ><{$detail.number|escape|replace:"&amp;#":"&#"}></td>
68 </tr>
69 <{/if}>
70 <{if !empty( $detail.page ) }>
71 <tr>
72 <td class="head"><{$smarty.const._MD_XNPBULLETIN_PAGE_LABEL}></td>
73 <td class="<{cycle name="oddeven"}>" ><{$detail.page|escape|replace:"&amp;#":"&#"}></td>
74 </tr>
75 <{/if}>
76 <{if !empty( $basic.publication_date.value ) }>
77 <tr>
78 <td class="head"><{$smarty.const._MD_XNPBULLETIN_DATE_LABEL}></td>
79 <td class="<{cycle name="oddeven"}>"><{$basic.publication_date.value}></td>
80 </tr>
81 <{/if}>
82 <{if !empty( $detail.publisher ) }>
83 <tr>
84 <td class="head"><{$smarty.const._MD_XNPBULLETIN_PUBLISHER_LABEL}></td>
85 <td class="<{cycle name="oddeven"}>" ><{$detail.publisher|escape|replace:"&amp;#":"&#"}></td>
86 </tr>
87 <{/if}>
88 <{if !empty( $detail.issn ) }>
89 <tr>
90 <td class="head"><{$smarty.const._MD_XNPBULLETIN_ISSN_LABEL}></td>
91 <td class="<{cycle name="oddeven"}>" ><{$detail.issn|escape|replace:"&amp;#":"&#"}></td>
92 </tr>
93 <{/if}>
94 <{if !empty( $detail.isbn ) }>
95 <tr>
96 <td class="head"><{$smarty.const._MD_XNPBULLETIN_ISBN_LABEL}></td>
97 <td class="<{cycle name="oddeven"}>" ><{$detail.isbn|escape|replace:"&amp;#":"&#"}></td>
98 </tr>
99 <{/if}>
100 <{if !empty( $detail.abstract ) }>
101 <tr>
102 <td class="head"><{$smarty.const._MD_XNPBULLETIN_ABSTRACT_LABEL}></td>
103 <td class="<{cycle name="oddeven"}>" ><{$detail.abstract|escape|replace:"&amp;#":"&#"}></td>
104 </tr>
105 <{/if}>
106 <{if !empty( $detail.keyword_str ) }>
107 <tr>
108 <td class="head"><{$smarty.const._MD_XNPBULLETIN_KEYWORDS_LABEL}></td>
109 <{capture assign="cls0"}><{cycle name="oddeven"}><{/capture}>
110 <{capture assign="cls1"}><{cycle name="oddeven"}><{/capture}>
111 <td class="<{cycle name="oddeven"}>"><{$detail.keyword_str|replace:"oddeven0":$cls0|replace:"oddeven1":$cls1}></td>
112 <{if ($detail.keywords_cnt.value == "0") }>
113 <{capture assign="cls"}><{cycle name="oddeven"}><{/capture}>
114 <{/if}>
115 </tr>
116 <{/if}>
117 <{if !empty( $detail.free_keyword_str ) }>
118 <tr>
119 <td class="head"><{$smarty.const._MD_XNPBULLETIN_FREE_KEYWORDS_LABEL}></td>
120 <{capture assign="cls0"}><{cycle name="oddeven"}><{/capture}>
121 <{capture assign="cls1"}><{cycle name="oddeven"}><{/capture}>
122 <td class="<{cycle name="oddeven"}>"><{$detail.free_keyword_str|replace:"oddeven0":$cls0|replace:"oddeven1":$cls1}></td>
123 <{if ($detail.free_keywords_cnt.value == "0") }>
124 <{capture assign="cls"}><{cycle name="oddeven"}><{/capture}>
125 <{/if}>
126 </tr>
127 <{/if}>
128 <{if !empty( $basic.description.value ) }>
129 <tr>
130 <td class="head"><{$basic.description.name}></td>
131 <td class="<{cycle name="oddeven"}>" ><{$basic.description.value}></td>
132 </tr>
133 <{/if}>
134 <{if !empty( $detail.lang ) }>
135 <tr>
136 <td width="30%" class="head"><{$basic.lang.name}></td>
137 <td class="<{cycle name="oddeven"}>" ><{$detail.lang|escape|replace:"&amp;#":"&#"}></td>
138 </tr>
139 <{/if}>
140 <{if !empty( $detail.physical_description ) }>
141 <tr>
142 <td class="head"><{$smarty.const._MD_XNPBULLETIN_PHYSICAL_DESCRIPTION_LABEL}></td>
143 <td class="<{cycle name="oddeven"}>"><{$detail.physical_description|escape|replace:"&amp;#":"&#"}></td>
144 </tr>
145 <{/if}>
146 <{if !empty( $detail.type_of_resource ) }>
147 <tr>
148 <td class="head"><{$smarty.const._MD_XNPBULLETIN_TYPE_OF_RESOURCE_LABEL}></td>
149 <td class="<{cycle name="oddeven"}>"><{$detail.type_of_resource|escape|replace:"&amp;#":"&#"}></td>
150 </tr>
151 <{/if}>
152 <{if !empty( $detail.genre ) }>
153 <tr>
154 <td class="head"><{$smarty.const._MD_XNPBULLETIN_GENRE_LABEL}></td>
155 <td class="<{cycle name="oddeven"}>" ><{$detail.genre|escape|replace:"&amp;#":"&#"}></td>
156 </tr>
157 <{/if}>
158 <{if !empty( $bulletin_images.value ) }>
159 <tr>
160 <td class="head"><{$smarty.const._MD_XNPBULLETIN_IMAGES_LABEL}></td>
161 <td class="<{cycle name="oddeven"}>" ><{$bulletin_images.value}></td>
162 </tr>
163 <{/if}>
164 <{if !empty( $bulletin_attachment.value ) }>
165 <{if !empty( $show_pdf ) }>
166 <tr>
167 <td class="head"><{$smarty.const._MD_XNPBULLETIN_ATTACHMENT_LABEL}></td>
168 <td class="<{cycle name="oddeven"}>" ><{$bulletin_attachment.value}></td>
169 </tr>
170 <{/if}>
171 <{/if}>
172 <{if !empty( $detail.link ) }>
173 <tr>
174 <td class="head"><{$smarty.const._MD_XNPBULLETIN_LINK_LABEL}></td>
175 <td class="<{cycle name="oddeven"}>"><{$detail.link|escape|replace:"&amp;#":"&#"}></td>
176 </tr>
177 <{/if}>
178 <tr>
179 <td class="head"><{$basic.last_update_date.name}></td>
180 <td class="<{cycle name="oddeven"}>" ><{$basic.last_update_date.value}></td>
181 </tr>
182 <tr>
183 <td class="head"><{$basic.creation_date.name}></td>
184 <td class="<{cycle name="oddeven"}>"><{$basic.creation_date.value}></td>
185 </tr>
186 <tr>
187 <td class="head"><{$basic.contributor.name}></td>
188 <td class="<{cycle name="oddeven"}>" ><{$basic.contributor.value}></td>
189 </tr>
190 <tr>
191 <td class="head"><{$basic.change_logs.name}></td>
192 <td class="<{cycle name="oddeven"}>" ><{$basic.change_logs.value}></td>
193 </tr>
194
195 <!-- Bulletin Item Detail Information -->
196 <!-- index -->
197 <tr>
198 <td class="head"><{$index.name}></td>
199 <td class="<{cycle name="oddeven"}>"><{$index.value}></td>
200 </tr>
201 <!-- related_to -->
202 <tr>
203 <td class="head"><{$basic.related_to.name}></td>
204 <td class="<{cycle name="oddeven"}>"><{$basic.related_to.value}></td>
205 </tr>
206 </table>
207 <!-- For add to public index -->
208 <{if $editable }>
209 <form id='xoonips_edit_form'>
210 <{$basic.hidden}>
211 <input type="hidden" name="title" value="<{$detail.title|escape|replace:"&amp;#":"&#"}>">
212 <input type="hidden" name="title_kana" value="<{$detail.title_kana|escape|replace:"&amp;#":"&#"}>">
213 <input type="hidden" name="title_romaji" value="<{$detail.title_romaji|escape|replace:"&amp;#":"&#"}>">
214 <input type="hidden" name="sub_title_str" value="<{$detail.sub_title_str|escape|replace:"&amp;#":"&#"}>">
215 <input type="hidden" name="sub_title_translation" value="<{$detail.sub_title_translation|escape|replace:"&amp;#":"&#"}>">
216 <input type="hidden" name="sub_title" value="<{$detail.sub_title|escape|replace:"&amp;#":"&#"}>">
217 <input type="hidden" name="sub_title_kana" value="<{$detail.sub_title_kana|escape|replace:"&amp;#":"&#"}>">
218 <input type="hidden" name="sub_title_romaji" value="<{$detail.sub_title_romaji|escape|replace:"&amp;#":"&#"}>">
219 <input type="hidden" name="author_name" value="<{$detail.author_name|escape|replace:"&amp;#":"&#"}>">
220 <input type="hidden" name="author_romaji" value="<{$detail.author_romaji|escape|replace:"&amp;#":"&#"}>">
221 <input type="hidden" name="author_affiliation" value="<{$detail.author_affiliation|escape|replace:"&amp;#":"&#"}>">
222 <input type="hidden" name="author_affiliation_translation" value="<{$detail.author_affiliation_translation|escape|replace:"&amp;#":"&#"}>">
223 <input type="hidden" name="journal" value="<{$detail.journal|escape|replace:"&amp;#":"&#"}>">
224 <input type="hidden" name="journal_translation" value="<{$detail.journal_translation|escape|replace:"&amp;#":"&#"}>">
225 <input type="hidden" name="volume" value="<{$detail.volume|escape|replace:"&amp;#":"&#"}>">
226 <input type="hidden" name="number" value="<{$detail.number|escape|replace:"&amp;#":"&#"}>">
227 <input type="hidden" name="page" value="<{$detail.page|escape|replace:"&amp;#":"&#"}>">
228 <input type="hidden" name="publisher" value="<{$detail.publisher|escape|replace:"&amp;#":"&#"}>">
229 <input type="hidden" name="issn" value="<{$detail.issn|escape|replace:"&amp;#":"&#"}>">
230 <input type="hidden" name="isbn" value="<{$detail.isbn|escape|replace:"&amp;#":"&#"}>">
231 <input type="hidden" name="abstract" value="<{$detail.abstract|escape|replace:"&amp;#":"&#"}>">
232 <input type="hidden" name="keywords" value="<{$detail.keywords|escape|replace:"&amp;#":"&#"}>">
233 <input type="hidden" name="free_keywords" value="<{$detail.free_keywords|escape|replace:"&amp;#":"&#"}>">
234 <input type="hidden" name="lang" value="<{$detail.lang|escape|replace:"&amp;#":"&#"}>">
235 <input type="hidden" name="physical_description" value="<{$detail.physical_description|escape|replace:"&amp;#":"&#"}>">
236 <input type="hidden" name="type_of_resource" value="<{$detail.type_of_resource|escape|replace:"&amp;#":"&#"}>">
237 <input type="hidden" name="genre" value="<{$detail.genre|escape|replace:"&amp;#":"&#"}>">
238 <input type="hidden" name="link" value="<{$detail.link|escape|replace:"&amp;#":"&#"}>">
239 <{$bulletin_images.hidden}>
240 <{$bulletin_attachment.hidden}>
241 <{$index.hidden}>
242 </form>
243 <{/if}>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26