]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2/templates/Helius/viewtopic_body.tpl
Baseline
[www.vanrenterghem.biz.git] / phpBB2 / templates / Helius / viewtopic_body.tpl
1 <!-- BEGIN switch_xs_enabled -->\r
2 <?php\r
3 \r
4 // This code will be visible only with eXtreme Styles mod\r
5 \r
6 $postrow_count = ( isset($this->_tpldata['postrow.']) ) ?  sizeof($this->_tpldata['postrow.']) : 0;\r
7 for ($postrow_i = 0; $postrow_i < $postrow_count; $postrow_i++)\r
8 {\r
9         $postrow_item = &$this->_tpldata['postrow.'][$postrow_i];\r
10         // replace username with link to user profile\r
11         if(!empty($postrow_item['PROFILE']))\r
12         {\r
13                 $postrow_item['SEARCH_IMG2'] = $postrow_item['SEARCH_IMG'];\r
14                 $search = array($lang['Read_profile'], '<a ');\r
15                 $replace = array($postrow_item['POSTER_NAME'], '<a class="name" ');\r
16                 $postrow_item['POSTER_NAME'] = str_replace($search, $replace, $postrow_item['PROFILE']);\r
17         }\r
18 }\r
19 \r
20 ?>\r
21 <!-- END switch_xs_enabled -->\r
22 <table width="100%" cellspacing="2" cellpadding="2" border="0">\r
23   <tr> \r
24         <td align="left" valign="middle"><span class="nav">\r
25           <a href="{U_INDEX}" class="nav">{L_INDEX}</a> \r
26           &raquo; <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a>\r
27           &raquo; <a class="nav" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></span></td>\r
28          <td align="right" valign="middle"><span class="nav"><b>{PAGINATION}</b></span></td>\r
29   </tr>\r
30   <tr>\r
31     <td align="left" valign="middle"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></td>\r
32         <td align="right" valign="middle"><span class="nav">\r
33         <a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a>&nbsp;\r
34         </span></td>\r
35   </tr>\r
36 </table>\r
37 \r
38 {POLL_DISPLAY} \r
39 \r
40 <!-- BEGIN postrow -->\r
41 <a name="{postrow.U_POST_ID}"></a>\r
42 {TPL_HDR1}<span class="cattitle">{postrow.POST_SUBJECT}</span>{TPL_HDR2}<table border="0" cellpadding="0" cellspacing="1" width="100%" class="forumline">\r
43 <tr>\r
44         <td class="th" align="center" valign="middle"><table border="0" cellspacing="0" cellpadding="2" width="100%">\r
45         <tr height="26">\r
46                 <td align="left" valign="middle" nowrap="nowrap"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="genmed">{L_POSTED}: {postrow.POST_DATE}</span></td>\r
47                 <td align="right" valign="middle" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG} </td>\r
48         </tr></table></td>\r
49 </tr>\r
50 <tr>\r
51         <td class="row1" align="left" valign="top" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%"><!-- main table start -->\r
52         <tr>\r
53                 <td width="150" align="left" valign="top" rowspan="2"><table border="0" cellspacing="0" cellpadding="0" width="100%"><!-- left row table start -->\r
54                 <tr>\r
55                         <td width="100%" align="left" valign="top" background="{T_TEMPLATE_PATH}/images/post_bg.gif"><table border="0" cellspacing="0" cellpadding="4">\r
56                         <tr>\r
57                                 <td align="left" valign="top"><table border="0" cellspacing="0" cellpadding="0">\r
58                                 <tr><td nowrap="nowrap"><span class="name"><b>{postrow.POSTER_NAME}</b></span></td></tr>\r
59                                 <tr><td nowrap="nowrap"><span class="postdetails">{postrow.POSTER_RANK}</span></td></tr>\r
60                                 <tr><td nowrap="nowrap"><span class="postdetails">{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}</span></tr>\r
61                                 <tr><td><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="120" height="5" border="0" alt="" /></td></tr>\r
62                                 <tr><td><span class="postdetails">{postrow.POSTER_JOINED}</span></td></tr>\r
63                                 <tr><td><span class="postdetails">{postrow.POSTER_POSTS}</span></td></tr>\r
64                                 <tr><td><span class="postdetails">{postrow.POSTER_FROM}</span></td></tr>\r
65                                 </table></td>\r
66                         </tr>\r
67                         </table><br /><br /></td>\r
68                         <td width="10" background="{T_TEMPLATE_PATH}/images/post_right.gif"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="10" height="1" border="0" /></td>\r
69                 </tr>\r
70                 <tr>\r
71                         <td height="10" background="{T_TEMPLATE_PATH}/images/post_bottom.gif"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="1" height="10" border="0" /></td>\r
72                         <td width="10" height="10"><img src="{T_TEMPLATE_PATH}/images/post_corner.gif" width="10" height="10" border="0" /></td>\r
73                 </tr>\r
74                 <!-- left row table end --></table><br /><br /></td>\r
75                 <td class="row1" align="left" valign="top" width="100%"><table border="0" cellspacing="0" cellpadding="5" width="100%"><!-- right top row table start -->\r
76                 <tr>\r
77                         <td width="100%"><span class="postbody">{postrow.MESSAGE}</span></td>\r
78                 </tr>\r
79                 <!-- right top row table end --></table></td>\r
80         </tr>\r
81         <tr>\r
82                 <td class="row1" align="left" valign="bottom" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="5" width="100%"><!-- right bottom row start -->\r
83                 <tr>\r
84                         <td width="100%"><span class="postbody"><span class="gensmall">{postrow.EDITED_MESSAGE}</span>{postrow.SIGNATURE}</span></td>\r
85                 </tr>\r
86                 <!-- right bottom row end --></table></td>\r
87         </tr>\r
88         </table></td>\r
89 </tr>\r
90 <tr>\r
91         <td height="28" valign="middle" class="row4"><table border="0" cellspacing="0" cellpadding="3">\r
92         <tr>\r
93                 <td width="130"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="120" height="1" border="0" /></td>\r
94                 <td width="100%" align="left" valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.SEARCH_IMG2} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG} {postrow.ICQ_IMG}</td>\r
95         </tr></table></td>\r
96 </tr>\r
97 </table>{TPL_FTR}\r
98 <br />\r
99 <!-- END postrow -->\r
100 \r
101 {TPL_HDR1}<a class="cattitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a>{TPL_HDR2}<table class="forumline" width="100%" cellspacing="1" cellpadding="" border="0">\r
102 <tr>\r
103         <td class="row1" align="left" valign="top">\r
104         <span class="nav">&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> &raquo; <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span><br />\r
105         <table border="0" cellspacing="0" cellpadding="5" width="100%">\r
106         <tr>\r
107                 <td align="left" valign="top">\r
108                         <span class="gensmall">{S_AUTH_LIST}</span>\r
109                 </td>\r
110                 <td align="right" valign="top">\r
111                         <span class="gensmall">{S_TIMEZONE}&nbsp;&nbsp;<br />\r
112                         {PAGE_NUMBER}&nbsp;&nbsp;</span>\r
113                         <span class="nav"><b>{PAGINATION}</b></span><br />\r
114                         <span class="gensmall">{S_WATCH_TOPIC}</span>\r
115                 </td>\r
116         </tr>\r
117         </table>\r
118         </td>\r
119 </tr>\r
120 <tr>\r
121         <td class="row4" align="center" valign="middle" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="2" width="100%">\r
122         <tr>\r
123                 <form method="post" action="{S_POST_DAYS_ACTION}"><td align="left" valign="middle" nowrap="nowrap">{S_SELECT_POST_DAYS}&nbsp;{S_SELECT_POST_ORDER}&nbsp;<input type="submit" value="{L_GO}" class="liteoption" name="submit" /></td></form>\r
124                 <td align="right" valign="middle" nowrap="nowrap">{JUMPBOX}</td>\r
125         </tr>\r
126         </table>\r
127         </td>\r
128 </tr>\r
129 </table>{TPL_FTR}\r
130 \r
131 <table border="0" cellspacing="0" cellpadding="5" width="100%">\r
132 <tr>\r
133         <td align="left" valign="top">&nbsp;<a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></td>\r
134         <td align="right" valign="top">{S_TOPIC_ADMIN}&nbsp;</td>\r
135 </tr>\r
136 </table>\r