-125 Removals
+129 Additions

Created by:phpboost

1 <span id="go-top"></span> 1 <span id="go-top"></span>
2 2
3 # INCLUDE forum_top # 3 # INCLUDE forum_top #
4 4
5 <script> 5 <script>
6 <!-- 6 <!--
7 function check_form_msg(){ 7 function check_form_msg(){
8 if(document.getElementById('contents').value == "") { 8 if(document.getElementById('contents').value == "") {
9 alert("{L_REQUIRE_MESSAGE}"); 9 alert("{L_REQUIRE_MESSAGE}");
10 return false; 10 return false;
11 } 11 }
12 return true; 12 return true;
13 } 13 }
14 function XMLHttpRequest_del(idmsg) 14 function XMLHttpRequest_del(idmsg)
15 { 15 {
16 var xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/forum/xmlhttprequest.php?token={TOKEN}&del=1&idm=' + idmsg); 16 var xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/forum/xmlhttprequest.php?token={TOKEN}&del=1&idm=' + idmsg);
17 xhr_object.onreadystatechange = function() 17 xhr_object.onreadystatechange = function()
18 { 18 {
19 if( xhr_object.readyState == 4 && xhr_object.status == 200 && xhr_object.responseText != '-1' ) 19 if( xhr_object.readyState == 4 && xhr_object.status == 200 && xhr_object.responseText != '-1' )
20 { 20 {
21 if( document.getElementById('d' + idmsg) ) 21 if( document.getElementById('d' + idmsg) )
22 document.getElementById('d' + idmsg).style.display = 'none'; 22 document.getElementById('d' + idmsg).style.display = 'none';
23 } 23 }
24 } 24 }
25 xmlhttprequest_sender(xhr_object, null); 25 xmlhttprequest_sender(xhr_object, null);
26 } 26 }
27 function XMLHttpRequest_change_statut() 27 function XMLHttpRequest_change_statut()
28 { 28 {
29 var idtopic = {IDTOPIC}; 29 var idtopic = {IDTOPIC};
30 if( document.getElementById('forum_change_img') ) 30 if( document.getElementById('forum_change_img') )
31 document.getElementById('forum_change_img').innerHTML = '<i class="fa fa-spinner fa-spin"></i>'; 31 document.getElementById('forum_change_img').innerHTML = '<i class="fa fa-spinner fa-spin"></i>';
32 32
33 var xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/forum/xmlhttprequest.php?msg_d=' + idtopic + '&token={TOKEN}'); 33 var xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/forum/xmlhttprequest.php?msg_d=' + idtopic + '&token={TOKEN}');
34 xhr_object.onreadystatechange = function() 34 xhr_object.onreadystatechange = function()
35 { 35 {
36 if( xhr_object.readyState == 4 && xhr_object.status == 200 ) 36 if( xhr_object.readyState == 4 && xhr_object.status == 200 )
37 { 37 {
38 if( document.getElementById('forum_change_img') ) 38 if( document.getElementById('forum_change_img') )
39 document.getElementById('forum_change_img').innerHTML = xhr_object.responseText == '1' ? '<i class="fa fa-msg-not-display"></i>' : '<i class="fa fa-msg-display"></i>'; 39 document.getElementById('forum_change_img').innerHTML = xhr_object.responseText == '1' ? '<i class="fa fa-msg-not-display"></i>' : '<i class="fa fa-msg-display"></i>';
40 if( document.getElementById('forum_change_msg') ) 40 if( document.getElementById('forum_change_msg') )
41 document.getElementById('forum_change_msg').innerHTML = xhr_object.responseText == '1' ? "{L_EXPLAIN_DISPLAY_MSG_BIS}" : "{L_EXPLAIN_DISPLAY_MSG}"; 41 document.getElementById('forum_change_msg').innerHTML = xhr_object.responseText == '1' ? "{L_EXPLAIN_DISPLAY_MSG_BIS}" : "{L_EXPLAIN_DISPLAY_MSG}";
42 } 42 }
43 } 43 }
44 xmlhttprequest_sender(xhr_object, null); 44 xmlhttprequest_sender(xhr_object, null);
45 } 45 }
46 var is_track = {IS_TRACK}; 46 var is_track = {IS_TRACK};
47 function XMLHttpRequest_track() 47 function XMLHttpRequest_track()
48 { 48 {
49 var idtopic = {IDTOPIC}; 49 var idtopic = {IDTOPIC};
50 if( document.getElementById('forum_track_img') ) 50 if( document.getElementById('forum_track_img') )
51 document.getElementById('forum_track_img').innerHTML = '<i class="fa fa-spinner fa-spin"></i>'; 51 document.getElementById('forum_track_img').innerHTML = '<i class="fa fa-spinner fa-spin"></i>';
52 52
53 xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/forum/xmlhttprequest.php?token={TOKEN}&' + (is_track ? 'ut' : 't') + '=' + idtopic); 53 xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/forum/xmlhttprequest.php?token={TOKEN}&' + (is_track ? 'ut' : 't') + '=' + idtopic);
54 xhr_object.onreadystatechange = function() 54 xhr_object.onreadystatechange = function()
55 { 55 {
56 if( xhr_object.readyState == 4 && xhr_object.status == 200 ) 56 if( xhr_object.readyState == 4 && xhr_object.status == 200 )
57 { 57 {
58 if( document.getElementById('forum_track_img') ) 58 if( document.getElementById('forum_track_img') )
59 document.getElementById('forum_track_img').innerHTML = xhr_object.responseText == '1' ? '<i class="fa fa-msg-not-track"></i>' : '<i class="fa fa-msg-track"></i>'; 59 document.getElementById('forum_track_img').innerHTML = xhr_object.responseText == '1' ? '<i class="fa fa-msg-not-track"></i>' : '<i class="fa fa-msg-track"></i>';
60 if( document.getElementById('forum_track_msg') ) 60 if( document.getElementById('forum_track_msg') )
61 document.getElementById('forum_track_msg').innerHTML = xhr_object.responseText == '1' ? "{L_UNTRACK}" : "{L_TRACK}"; 61 document.getElementById('forum_track_msg').innerHTML = xhr_object.responseText == '1' ? "{L_UNTRACK}" : "{L_TRACK}";
62 is_track = xhr_object.responseText == '1' ? true : false; 62 is_track = xhr_object.responseText == '1' ? true : false;
63 } 63 }
64 } 64 }
65 xmlhttprequest_sender(xhr_object, null); 65 xmlhttprequest_sender(xhr_object, null);
66 } 66 }
67 var is_track_pm = {IS_TRACK_PM}; 67 var is_track_pm = {IS_TRACK_PM};
68 function XMLHttpRequest_track_pm() 68 function XMLHttpRequest_track_pm()
69 { 69 {
70 var idtopic = {IDTOPIC}; 70 var idtopic = {IDTOPIC};
71 if( document.getElementById('forum_track_pm_img') ) 71 if( document.getElementById('forum_track_pm_img') )
72 document.getElementById('forum_track_pm_img').innerHTML = '<i class="fa fa-spinner fa-spin"></i>'; 72 document.getElementById('forum_track_pm_img').innerHTML = '<i class="fa fa-spinner fa-spin"></i>';
73 73
74 xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/forum/xmlhttprequest.php?token={TOKEN}&' + (is_track_pm ? 'utp' : 'tp') + '=' + idtopic); 74 xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/forum/xmlhttprequest.php?token={TOKEN}&' + (is_track_pm ? 'utp' : 'tp') + '=' + idtopic);
75 xhr_object.onreadystatechange = function() 75 xhr_object.onreadystatechange = function()
76 { 76 {
77 if( xhr_object.readyState == 4 && xhr_object.status == 200 ) 77 if( xhr_object.readyState == 4 && xhr_object.status == 200 )
78 { 78 {
79 if( document.getElementById('forum_track_pm_img') ) 79 if( document.getElementById('forum_track_pm_img') )
80 document.getElementById('forum_track_pm_img').innerHTML = xhr_object.responseText == '1' ? '<i class="fa fa-pm-not-track"></i>' : '<i class="fa fa-pm-track"></i>'; 80 document.getElementById('forum_track_pm_img').innerHTML = xhr_object.responseText == '1' ? '<i class="fa fa-pm-not-track"></i>' : '<i class="fa fa-pm-track"></i>';
81 if( document.getElementById('forum_track_pm_msg') ) 81 if( document.getElementById('forum_track_pm_msg') )
82 document.getElementById('forum_track_pm_msg').innerHTML = xhr_object.responseText == '1' ? "{L_UNSUSCRIBE_PM}" : "{L_SUSCRIBE_PM}"; 82 document.getElementById('forum_track_pm_msg').innerHTML = xhr_object.responseText == '1' ? "{L_UNSUBSCRIBE_PM}" : "{L_SUBSCRIBE_PM}";
83 is_track_pm = xhr_object.responseText == '1' ? true : false; 83 is_track_pm = xhr_object.responseText == '1' ? true : false;
84 } 84 }
85 } 85 }
86 xmlhttprequest_sender(xhr_object, null); 86 xmlhttprequest_sender(xhr_object, null);
87 } 87 }
88 var is_track_mail = {IS_TRACK_MAIL}; 88 var is_track_mail = {IS_TRACK_MAIL};
89 function XMLHttpRequest_track_mail() 89 function XMLHttpRequest_track_mail()
90 { 90 {
91 var idtopic = {IDTOPIC}; 91 var idtopic = {IDTOPIC};
92 if( document.getElementById('forum_track_mail_img') ) 92 if( document.getElementById('forum_track_mail_img') )
93 document.getElementById('forum_track_mail_img').innerHTML = '<i class="fa fa-spinner fa-spin"></i>'; 93 document.getElementById('forum_track_mail_img').innerHTML = '<i class="fa fa-spinner fa-spin"></i>';
94 94
95 xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/forum/xmlhttprequest.php?token={TOKEN}&' + (is_track_mail ? 'utm' : 'tm') + '=' + idtopic); 95 xhr_object = xmlhttprequest_init('{PATH_TO_ROOT}/forum/xmlhttprequest.php?token={TOKEN}&' + (is_track_mail ? 'utm' : 'tm') + '=' + idtopic);
96 xhr_object.onreadystatechange = function() 96 xhr_object.onreadystatechange = function()
97 { 97 {
98 if( xhr_object.readyState == 4 && xhr_object.status == 200 ) 98 if( xhr_object.readyState == 4 && xhr_object.status == 200 )
99 { 99 {
100 if( document.getElementById('forum_track_mail_img') ) 100 if( document.getElementById('forum_track_mail_img') )
101 document.getElementById('forum_track_mail_img').innerHTML = xhr_object.responseText == '1' ? '<i class="fa fa-mail-not-track"></i>' : '<i class="fa fa-mail-track"></i>'; 101 document.getElementById('forum_track_mail_img').innerHTML = xhr_object.responseText == '1' ? '<i class="fa fa-mail-not-track"></i>' : '<i class="fa fa-mail-track"></i>';
102 if( document.getElementById('forum_track_mail_msg') ) 102 if( document.getElementById('forum_track_mail_msg') )
103 document.getElementById('forum_track_mail_msg').innerHTML = xhr_object.responseText == '1' ? "{L_UNSUSCRIBE}" : "{L_SUSCRIBE}"; 103 document.getElementById('forum_track_mail_msg').innerHTML = xhr_object.responseText == '1' ? "{L_UNSUBSCRIBE}" : "{L_SUBSCRIBE}";
104 is_track_mail = xhr_object.responseText == '1' ? true : false; 104 is_track_mail = xhr_object.responseText == '1' ? true : false;
105 } 105 }
106 } 106 }
107 xmlhttprequest_sender(xhr_object, null); 107 xmlhttprequest_sender(xhr_object, null);
108 } 108 }
109 109
110 function del_msg(idmsg) 110 function del_msg(idmsg)
111 { 111 {
112 if( confirm('{L_DELETE_MESSAGE}') ) 112 if( confirm('{L_DELETE_MESSAGE}') )
113 XMLHttpRequest_del(idmsg); 113 XMLHttpRequest_del(idmsg);
114 } 114 }
115 115
116 # IF C_FOCUS_CONTENT # 116 # IF C_FOCUS_CONTENT #
117 jQuery(document).ready(function() { 117 jQuery(document).ready(function() {
118 document.getElementById('contents').focus(); 118 document.getElementById('contents').focus();
119 }); 119 });
120 # ENDIF # 120 # ENDIF #
121 --> 121 -->
122 </script> 122 </script>
123 123
124 <article itemscope="itemscope" itemtype="http://schema.org/Creativework" id="article-forum-{ID}"> 124 <article itemscope="itemscope" itemtype="http://schema.org/Creativework" id="article-forum-{ID}" class="forum-contents">
125 <header> 125 <header>
126 # IF C_PAGINATION #<span class="float-left"># INCLUDE PAGINATION #</span># ENDIF #
127 <span class="actions">
128 # IF C_FORUM_MODERATOR #
129 # IF C_FORUM_LOCK_TOPIC #
130 <a href="action{U_TOPIC_LOCK}" data-confirmation="{L_ALERT_LOCK_TOPIC}" aria-label="{L_TOPIC_LOCK}"><i class="fa fa-ban" aria-hidden="true" title="{L_TOPIC_LOCK}"></i></a>
131 # ELSE #
132 <a href="action{U_TOPIC_UNLOCK}" data-confirmation="{L_ALERT_UNLOCK_TOPIC}" aria-label="{L_TOPIC_LOCK}"><i class="fa fa-unban" aria-hidden="true" title="{L_TOPIC_LOCK}"></i></a>
133 # ENDIF #
134 <a href="move{U_TOPIC_MOVE}" data-confirmation="{L_ALERT_MOVE_TOPIC}" aria-label="{L_TOPIC_MOVE}"><i class="fa fa-move" aria-hidden="true" title="{L_TOPIC_MOVE}"></i></a>
135 # ENDIF #
136 </span>
126 <h2> 137 <h2>
127 <a href="${relative_url(SyndicationUrlBuilder::rss('forum',ID))}" class="fa fa-syndication" title="${LangLoader::get_message('syndication', 'common')}"></a> 138 <a href="${relative_url(SyndicationUrlBuilder::rss('forum',ID))}" aria-label="${LangLoader::get_message('syndication', 'common')}"><i class="fa fa-syndication" aria-hidden="true" title="${LangLoader::get_message('syndication', 'common')}"></i></a>
128 &bull; {U_FORUM_CAT} <a itemscope="name" title="{TITLE_T}" href="{U_TITLE_T}"><span id="display_msg_title">{DISPLAY_MSG}</span>{TITLE_T}</a> <span class="desc-forum"><em>{DESC}</em></span> 139 {U_FORUM_CAT} <i class="fa fa-angle-double-right" aria-hidden="true"></i> <a itemscope="name" title="{TITLE_T}" href="{U_TITLE_T}"><span id="display_msg_title">{DISPLAY_MSG}</span>{TITLE_T}</a> <span class="desc-forum"><em>{DESC}</em></span>
129
130 <span class="float-right">
131 # IF C_PAGINATION # # INCLUDE PAGINATION # # ENDIF #
132
133 # IF C_FORUM_MODERATOR #
134 # IF C_FORUM_LOCK_TOPIC #
135 <a href="action{U_TOPIC_LOCK}" title="{L_TOPIC_LOCK}" class="fa fa-ban" data-confirmation="{L_ALERT_LOCK_TOPIC}"></a>
136 # ELSE #
137 <a href="action{U_TOPIC_UNLOCK}" title="{L_TOPIC_LOCK}" class="fa fa-unban" data-confirmation="{L_ALERT_UNLOCK_TOPIC}"></a>
138 # ENDIF #
139
140 <a href="move{U_TOPIC_MOVE}" title="{L_TOPIC_MOVE}" class="fa fa-move" data-confirmation="{L_ALERT_MOVE_TOPIC}"></a>
141 # ENDIF #
142 </span>
143 </h2> 140 </h2>
144 141
145 </header> 142 </header>
146 143
147 # IF C_POLL_EXIST # 144 # IF C_POLL_EXIST #
148 <div class="content center"> 145 <div class="content center">
149 146
150 <form method="post" action="action{U_POLL_ACTION}"> 147 <form method="post" action="action{U_POLL_ACTION}">
151 <table class="forum-poll-table"> 148 <table class="forum-poll-table">
152 <thead> 149 <thead>
153 <tr> 150 <tr>
154 <th>{L_POLL}: {QUESTION}</th> 151 <th>{L_POLL}: {QUESTION}</th>
155 </tr> 152 </tr>
156 </thead> 153 </thead>
157 <tbody> 154 <tbody>
158 # START poll_radio # 155 # START poll_radio #
159 <tr> 156 <tr>
160 <td> 157 <td>
161 <label><input type="{poll_radio.TYPE}" name="forumpoll" value="{poll_radio.NAME}"> {poll_radio.ANSWERS}</label> 158 <label><input type="{poll_radio.TYPE}" name="forumpoll" value="{poll_radio.NAME}"> {poll_radio.ANSWERS}</label>
162 </td> 159 </td>
163 </tr> 160 </tr>
164 # END poll_radio # 161 # END poll_radio #
165 # START poll_checkbox # 162 # START poll_checkbox #
166 <tr> 163 <tr>
167 <td> 164 <td>
168 <label><input type="{poll_checkbox.TYPE}" name="{poll_checkbox.NAME}" value="{poll_checkbox.NAME}"> {poll_checkbox.ANSWERS}</label> 165 <label><input type="{poll_checkbox.TYPE}" name="{poll_checkbox.NAME}" value="{poll_checkbox.NAME}"> {poll_checkbox.ANSWERS}</label>
169 </td> 166 </td>
170 </tr> 167 </tr>
171 # END poll_checkbox # 168 # END poll_checkbox #
172 # START poll_result # 169 # START poll_result #
173 <tr> 170 <tr>
174 <td> 171 <td>
175 {poll_result.ANSWERS} 172 {poll_result.ANSWERS}
176 173
177 {poll_result.PERCENT}% - [{poll_result.NBRVOTE} {L_VOTE}] 174 {poll_result.PERCENT}% - [{poll_result.NBRVOTE} {L_VOTE}]
178 <div class="progressbar-container" title="{poll_result.PERCENT}%"> 175 <div class="progressbar-container" title="{poll_result.PERCENT}%">
179 <div class="progressbar-infos">{poll_result.PERCENT}%</div> 176 <div class="progressbar-infos">{poll_result.PERCENT}%</div>
180 <div class="progressbar" style="width:{poll_result.PERCENT}%"></div> 177 <div class="progressbar" style="width:{poll_result.PERCENT}%"></div>
181 </div> 178 </div>
182 </td> 179 </td>
183 </tr> 180 </tr>
184 # END poll_result # 181 # END poll_result #
185 </tbody> 182 </tbody>
186 </table> 183 </table>
187 184
188 # IF C_POLL_QUESTION # 185 # IF C_POLL_QUESTION #
189 <fieldset class="fieldset-submit"> 186 <fieldset class="fieldset-submit">
190 <legend>{L_VOTE}</legend> 187 <legend>{L_VOTE}</legend>
191 <input type="hidden" name="token" value="{TOKEN}"> 188 <input type="hidden" name="token" value="{TOKEN}">
192 <button type="submit" name="valid_forum_poll" value="true" class="submit">{L_VOTE}</button><br /> 189 <button type="submit" name="valid_forum_poll" value="true" class="submit">{L_VOTE}</button>
190 <div class="spacer"></div>
193 <a class="small" href="topic{U_POLL_RESULT}">{L_RESULT}</a> 191 <a class="small" href="topic{U_POLL_RESULT}">{L_RESULT}</a>
194 </fieldset> 192 </fieldset>
195 # ENDIF # 193 # ENDIF #
196 </form> 194 </form>
197 </div> 195 </div>
198 # ENDIF # 196 # ENDIF #
199 197
200 # START msg # 198 # START msg #
201 <div class="content"> 199 <div class="content">
202 200
203 <div class="msg-position" id="d{msg.ID}"> 201 <div class="msg-position" id="d{msg.ID}">
204 <div class="msg-container{msg.CLASS_COLOR}"> 202 <div class="msg-container{msg.CLASS_COLOR}">
205 <span id="m{msg.ID}"></span> 203 <span id="m{msg.ID}"></span>
206 <div class="msg-top"> 204 <div class="msg-top bkgd-color-op20-sc">
207 205
208 <div class="msg-top-row"> 206 <div class="msg-top-row">
209 <div class="msg-pseudo-mbr"> 207 <div class="msg-pseudo-mbr bkgd-color-op20">
210 # IF msg.C_FORUM_USER_LOGIN # 208 # IF msg.C_FORUM_USER_LOGIN #
211 <i class="fa # IF msg.C_USER_ONLINE #fa-online# ELSE #fa-offline# ENDIF #"></i> <a title="{msg.FORUM_USER_LOGIN}" class="msg-link-pseudo" href="{msg.U_FORUM_USER_PROFILE}">{msg.FORUM_USER_LOGIN}</a> 209 <i class="fa # IF msg.C_USER_ONLINE #fa-online# ELSE #fa-offline# ENDIF #" aria-hidden="true"></i>
212 # ELSE # 210 <a title="{msg.FORUM_USER_LOGIN}" class="msg-link-pseudo {msg.FORUM_USER_LEVEL}" href="{msg.U_FORUM_USER_PROFILE}"# IF msg.FORUM_USER_GROUP_COLOR # style="color:{msg.FORUM_USER_GROUP_COLOR}"# ENDIF #>
211 {msg.FORUM_USER_LOGIN}
212 </a>
213 <span class="sr-only"># IF C_USER_ONLINE #${LangLoader::get_message('forum.connected.mbr.yes', 'common', 'forum')}# ELSE #${LangLoader::get_message('forum.connected.mbr.no', 'common', 'forum')}# ENDIF #</span>
214 # ELSE #
213 <em>{L_GUEST}</em> 215 <em>{L_GUEST}</em>
214 # ENDIF # 216 # ENDIF #
215 </div> 217 </div>
216 <p class="center">{msg.USER_RANK}</p> 218 # IF msg.C_USER_RANK #<p class="center">{msg.USER_RANK}</p># ELSE #<p class="center">${LangLoader::get_message('banned', 'user-common')}</p># ENDIF #
217 <p class="center">{msg.USER_IMG_ASSOC}</p> 219 # IF msg.C_USER_IMG_ASSOC #<p class="center"><img src="{msg.USER_IMG_ASSOC}" alt="${LangLoader::get_message('rank', 'main')}" title="${LangLoader::get_message('rank', 'main')}" /></p> # ENDIF #
218 </div> 220 </div>
219 221
220 <div class="msg-avatar-mbr center"> 222 <div class="msg-avatar-mbr center">
221 {msg.USER_AVATAR} 223 <img src="# IF msg.C_USER_AVATAR #{msg.U_USER_AVATAR}# ELSE #{msg.U_DEFAULT_AVATAR}# ENDIF #" alt="${LangLoader::get_message('avatar', 'user-common')}" />
222 </div> 224 </div>
223 225
224 <div class="msg-info-mbr"> 226 <div class="msg-info-mbr">
225 # IF msg.C_USER_GROUPS # 227 # IF msg.C_USER_GROUPS #
226 <p class="center"> 228 <p class="center">
227 # START msg.usergroups # 229 # START msg.usergroups #
228 # IF msg.usergroups.C_IMG_USERGROUP # 230 # IF msg.usergroups.C_IMG_USERGROUP #
229 <a href="{msg.usergroups.U_USERGROUP}" class="user-group user-group-img group-{msg.usergroups.USERGROUP_ID} "# IF msg.usergroups.C_USERGROUP_COLOR # style="color: {msg.usergroups.USERGROUP_COLOR}"# ENDIF #><img src="{PATH_TO_ROOT}/images/group/{msg.usergroups.U_IMG_USERGROUP}" alt="{msg.usergroups.USERGROUP_NAME}" title="{msg.usergroups.USERGROUP_NAME}"/></a><br/> 231 <a href="{msg.usergroups.U_USERGROUP}" class="user-group user-group-img group-{msg.usergroups.USERGROUP_ID} "# IF msg.usergroups.C_USERGROUP_COLOR # style="color: {msg.usergroups.USERGROUP_COLOR}"# ENDIF #><img src="{PATH_TO_ROOT}/images/group/{msg.usergroups.U_IMG_USERGROUP}" alt="{msg.usergroups.USERGROUP_NAME}" title="{msg.usergroups.USERGROUP_NAME}" /></a>
230 # ELSE # 232 # ELSE #
231 {msg.usergroups.L_USER_GROUP} : <a href="{msg.usergroups.U_USERGROUP}" class="user-group group-{msg.usergroups.USERGROUP_ID}"# IF msg.usergroups.C_USERGROUP_COLOR # style="color: {msg.usergroups.USERGROUP_COLOR}"# ENDIF #>{msg.usergroups.USERGROUP_NAME}</a><br /> 233 {msg.usergroups.L_USER_GROUP} : <a href="{msg.usergroups.U_USERGROUP}" class="user-group group-{msg.usergroups.USERGROUP_ID}"# IF msg.usergroups.C_USERGROUP_COLOR # style="color: {msg.usergroups.USERGROUP_COLOR}"# ENDIF #>{msg.usergroups.USERGROUP_NAME}</a>
232 # ENDIF # 234 # ENDIF #
233 # END msg.usergroups # 235 # END msg.usergroups #
234 </p> 236 </p>
235 # ENDIF # 237 # ENDIF #
236 <p class="left">{msg.USER_DATE}</p> 238 <p class="left"># IF msg.C_IS_USER #${LangLoader::get_message('registered_on', 'main')} : {msg.USER_REGISTERED_DATE_FULL}# ENDIF #</p>
237 <p class="left">{msg.USER_MSG}</p> 239 # IF msg.C_USER_MSG #
240 <p class="left"><a href="{msg.U_USER_MSG}">${LangLoader::get_message('message_s', 'main')}</a>: {msg.USER_MSG}</p>
241 # ELSE #
242 <p class="left"># IF msg.C_IS_USER # <a href="{msg.U_USER_MEMBERMG}">${LangLoader::get_message('message', 'main')}</a> : 0# ELSE #${LangLoader::get_message('message', 'main')} : 0# ENDIF #</p>
243 # ENDIF #
238 </div> 244 </div>
239 </div> 245 </div>
240 <div class="msg-contents-container{msg.CLASS_COLOR}"> 246 <div class="msg-contents-container{msg.CLASS_COLOR}">
241 <div class="msg-contents-info"> 247 <div class="msg-contents-info bkgd-color-op20">
242 <span class="float-left"> 248 <span class="float-left">
243 <a href="topic{msg.U_VARS_ANCRE}#m{msg.ID}" title="{msg.FORUM_MSG_DATE}"><i class="fa fa-hand-o-right"></i></a> {msg.FORUM_MSG_DATE} 249 <a href="topic{msg.U_VARS_ANCRE}#m{msg.ID}" aria-label="{msg.TOPIC_DATE_FULL}"><i class="fa fa-hand-o-right" aria-hidden="true" title="{msg.TOPIC_DATE_FULL}"></i></a> ${LangLoader::get_message('on', 'main')} {msg.TOPIC_DATE_FULL}
244 </span> 250 </span>
245 <span class="float-right"> 251 <span class="float-right">
246 # IF C_AUTH_POST #<a href="topic{msg.U_VARS_QUOTE}#go-bottom" title="{L_QUOTE}"><i class="fa fa-quote-right"></i></a># ENDIF # 252 # IF C_AUTH_POST #<a href="topic{msg.U_VARS_QUOTE}#go-bottom" aria-label="{L_QUOTE}"><i class="fa fa-quote-right" aria-hidden="true" title="{L_QUOTE}"></i></a># ENDIF #
247 # IF msg.C_FORUM_MSG_EDIT # 253 # IF msg.C_FORUM_MSG_EDIT #
248 <a href="post{msg.U_FORUM_MSG_EDIT}" title="{L_EDIT}" class="fa fa-edit"></a> 254 <a href="post{msg.U_FORUM_MSG_EDIT}" aria-label="{L_EDIT}"><i class="fa fa-edit" aria-hidden="true" title="{L_EDIT}"></i></a>
249 # ENDIF # 255 # ENDIF #
250 256
251 # IF msg.C_FORUM_MSG_DEL # 257 # IF msg.C_FORUM_MSG_DEL #
252 # IF msg.C_FORUM_MSG_DEL_MSG # 258 # IF msg.C_FORUM_MSG_DEL_MSG #
253 <a href="action{msg.U_FORUM_MSG_DEL}" title="{L_DELETE}" id="dimgnojs{msg.ID}" class="fa fa-delete"></a> 259 <a href="action{msg.U_FORUM_MSG_DEL}" aria-label="{L_DELETE}" id="dimgnojs{msg.ID}"><i class="fa fa-delete" aria-hidden="true" title="{L_DELETE}"></i></a>
254 <a onclick="del_msg('{msg.ID}');" id="dimg{msg.ID}" title="{L_DELETE}" class="fa fa-delete del-msg"></a> 260 <a onclick="del_msg('{msg.ID}');" id="dimg{msg.ID}" aria-label="{L_DELETE}" class="del-msg"><i class="fa fa-delete" aria-hidden="true" title="{L_DELETE}"></i></a>
255 <script> 261 <script>
256 <!-- 262 <!--
257 document.getElementById('dimgnojs{msg.ID}').style.display = 'none'; 263 document.getElementById('dimgnojs{msg.ID}').style.display = 'none';
258 document.getElementById('dimg{msg.ID}').style.display = 'inline'; 264 document.getElementById('dimg{msg.ID}').style.display = 'inline';
259 --> 265 -->
260 </script> 266 </script>
261 # ELSE # 267 # ELSE #
262 <a href="action{msg.U_FORUM_MSG_DEL}" title="{L_DELETE}" class="fa fa-delete" data-confirmation="{L_ALERT_DELETE_TOPIC}"></a> 268 <a href="action{msg.U_FORUM_MSG_DEL}" aria-label="{L_DELETE}" data-confirmation="{L_ALERT_DELETE_TOPIC}"><i class="fa fa-delete" aria-hidden="true" title="{L_DELETE}"></i></a>
263 # ENDIF # 269 # ENDIF #
264 # ENDIF # 270 # ENDIF #
265 271
266 # IF msg.C_FORUM_MSG_CUT # <a href="move{msg.U_FORUM_MSG_CUT}" title="{L_CUT_TOPIC}" class="fa fa-cut" data-confirmation="{L_ALERT_CUT_TOPIC}"></a> # ENDIF # 272 # IF msg.C_FORUM_MSG_CUT # <a href="move{msg.U_FORUM_MSG_CUT}" aria-label="{L_CUT_TOPIC}" data-confirmation="{L_ALERT_CUT_TOPIC}"><i class="fa fa-cut" aria-hidden="true" title="{L_CUT_TOPIC}"></i></a> # ENDIF #
267 273
268 <a title="${LangLoader::get_message('go_top', 'common', 'forum')}" href="{U_TITLE_T}#go-top" onclick="jQuery('html, body').animate({scrollTop:jQuery('#go-top').offset().top}, 'slow'); return false;"><i class="fa fa-arrow-up"></i></a> <a title="${LangLoader::get_message('go_bottom', 'common', 'forum')}" href="{U_TITLE_T}#go-bottom" onclick="jQuery('html, body').animate({scrollTop:jQuery('#go-bottom').offset().top}, 'slow'); return false;"><i class="fa fa-arrow-down"></i></a> 274 <a aria-label="${LangLoader::get_message('go_top', 'common', 'forum')}" href="{U_TITLE_T}#go-top" onclick="jQuery('html, body').animate({scrollTop:jQuery('#go-top').offset().top}, 'slow'); return false;"><i class="fa fa-arrow-up" aria-hidden="true" title="${LangLoader::get_message('go_top', 'common', 'forum')}"></i></a>
275 <a aria-label="${LangLoader::get_message('go_bottom', 'common', 'forum')}" href="{U_TITLE_T}#go-bottom" onclick="jQuery('html, body').animate({scrollTop:jQuery('#go-bottom').offset().top}, 'slow'); return false;"><i class="fa fa-arrow-down" aria-hidden="true" title="${LangLoader::get_message('go_bottom', 'common', 'forum')}"></i></a>
269 </span> 276 </span>
270 </div> 277 </div>
271 <div class="msg-contents"> 278 <div class="msg-contents">
272 # IF msg.L_FORUM_QUOTE_LAST_MSG # <span class="text-strong">{msg.L_FORUM_QUOTE_LAST_MSG}</span><br /><br /> # ENDIF # 279 # IF msg.L_FORUM_QUOTE_LAST_MSG # <p class="text-strong">{msg.L_FORUM_QUOTE_LAST_MSG}</p> # ENDIF #
273 280
274 {msg.FORUM_MSG_CONTENTS} 281 {msg.FORUM_MSG_CONTENTS}
275 282
276 # IF msg.C_FORUM_USER_EDITOR # 283 # IF msg.C_FORUM_USER_EDITOR #
277 <br /><br /><br /><br /><span class="user-editor"> 284 <span class="user-editor">
278 {L_EDIT_BY} 285 {L_EDIT_BY}
279 # IF msg.C_FORUM_USER_EDITOR_LOGIN # 286 # IF msg.C_FORUM_USER_EDITOR_LOGIN #
280 <a class="small" href="{msg.U_FORUM_USER_EDITOR_PROFILE}">{msg.FORUM_USER_EDITOR_LOGIN}</a> 287 <a class="small" href="{msg.U_FORUM_USER_EDITOR_PROFILE}">{msg.FORUM_USER_EDITOR_LOGIN}</a>
281 # ELSE # 288 # ELSE #
282 <em>{L_GUEST}</em> 289 <em>{L_GUEST}</em>
283 # ENDIF # 290 # ENDIF #
284 {L_ON} {msg.FORUM_USER_EDITOR_DATE}</span> 291 {L_ON} {msg.TOPIC_EDIT_DATE_FULL}</span>
285 # ENDIF # 292 # ENDIF #
286 </div> 293 </div>
287 <div class="msg-sign{msg.CLASS_COLOR}"> 294 <div class="msg-sign{msg.CLASS_COLOR}">
288 <div class="msg-sign-mbr"> 295 <div class="msg-sign-mbr">
289 {msg.USER_SIGN} 296 # IF msg.C_USER_SIGN #<hr /><br />{msg.USER_SIGN}# ENDIF #
290 </div> 297 </div>
291 <div class="msg-sign-info"> 298 <div class="msg-sign-info">
292 <span class="float-left"> 299 <span class="float-left">
293 {msg.USER_PM} {msg.USER_MAIL} 300 # IF msg.C_USER_PM #<a href="{msg.U_USER_PM}" class="basic-button smaller user-pm">${LangLoader::get_message('pm', 'main')}</a># ENDIF # # IF msg.C_USER_MAIL #<a href="{msg.U_USER_MAIL}" class="basic-button smaller user-mail">${LangLoader::get_message('mail', 'main')}</a># ENDIF #
294 # START msg.ext_fields # 301 # START msg.ext_fields #
295 {msg.ext_fields.BUTTON} 302 {msg.ext_fields.BUTTON}
296 # END msg.ext_fields # 303 # END msg.ext_fields #
297 </span> 304 </span>
298 <span class="float-right"> 305 <span class="float-right">
299 &nbsp; 306 &nbsp;
300 # IF msg.C_FORUM_MODERATOR # 307 # IF msg.C_FORUM_MODERATOR #
301 {msg.USER_WARNING}% 308 {msg.USER_WARNING}%
302 <a href="moderation_forum{msg.U_FORUM_WARNING}" title="{L_WARNING_MANAGEMENT}" class="fa fa-warning"></a> 309 <a href="moderation_forum{msg.U_FORUM_WARNING}" title="{L_WARNING_MANAGEMENT}" class="fa fa-warning"></a>
303 <a href="moderation_forum{msg.U_FORUM_PUNISHEMENT}" title="{L_PUNISHMENT_MANAGEMENT}" class="fa fa-lock"></a> 310 <a href="moderation_forum{msg.U_FORUM_PUNISHEMENT}" title="{L_PUNISHMENT_MANAGEMENT}" class="fa fa-lock"></a>
304 # ENDIF # 311 # ENDIF #
305 </span>&nbsp; 312 </span>&nbsp;
306 </div> 313 </div>
307 314
308 </div> 315 </div>
309 </div> 316 </div>
310 </div> 317 </div>
311 318
312 </div> 319 </div>
313 </div> 320 </div>
314 # END msg # 321 # END msg #
315 <footer> 322 <footer class="footer-forum">
323 # IF C_PAGINATION #<span class="float-right"># INCLUDE PAGINATION #</span># ENDIF #
324 <span class="actions">
325 # IF C_FORUM_MODERATOR #
326 # IF C_FORUM_LOCK_TOPIC #
327 <a href="action{U_TOPIC_LOCK}" aria-label="{L_TOPIC_LOCK}" data-confirmation="{L_ALERT_LOCK_TOPIC}"><i class="fa fa-ban" aria-hidden="true" title="{L_TOPIC_LOCK}"></i></a>
328 # ELSE #
329 <a href="action{U_TOPIC_UNLOCK}" aria-label="{L_TOPIC_LOCK}" data-confirmation="{L_ALERT_UNLOCK_TOPIC}"><i class="fa fa-unban" aria-hidden="true" title="{L_TOPIC_LOCK}"></i></a>
330 # ENDIF #
331 <a href="move{U_TOPIC_MOVE}" aria-label="{L_TOPIC_MOVE}" data-confirmation="{L_ALERT_MOVE_TOPIC}"><i class="fa fa-move" aria-hidden="true" title="{L_TOPIC_MOVE}"></i></a>
332 # ENDIF #
333 </span>
316 <a href="${relative_url(SyndicationUrlBuilder::rss('forum',ID))}" class="fa fa-syndication" title="${LangLoader::get_message('syndication', 'common')}"></a> 334 <a href="${relative_url(SyndicationUrlBuilder::rss('forum',ID))}" class="fa fa-syndication" title="${LangLoader::get_message('syndication', 'common')}"></a>
317 &bull; {U_FORUM_CAT} <a href="{U_TITLE_T}"><span id="display_msg_title2">{DISPLAY_MSG}</span>{TITLE_T}</a> <span class="desc-forum"><em>{DESC}</em></span> 335 {U_FORUM_CAT} <i class="fa fa-angle-double-right" aria-hidden="true"></i> <a itemscope="name" title="{TITLE_T}" href="{U_TITLE_T}"><span id="display_msg_title">{DISPLAY_MSG}</span>{TITLE_T}</a> <span class="desc-forum"><em>{DESC}</em></span>
318 336
319 <span class="float-right"> 337
320 # IF C_PAGINATION # # INCLUDE PAGINATION # # ENDIF # 338
321
322 # IF C_FORUM_MODERATOR #
323 # IF C_FORUM_LOCK_TOPIC #
324 <a href="action{U_TOPIC_LOCK}" title="{L_TOPIC_LOCK}" class="fa fa-ban" data-confirmation="{L_ALERT_LOCK_TOPIC}"></a>
325 # ELSE #
326 <a href="action{U_TOPIC_UNLOCK}" title="{L_TOPIC_LOCK}" class="fa fa-unban" data-confirmation="{L_ALERT_UNLOCK_TOPIC}"></a>
327 # ENDIF #
328
329 <a href="move{U_TOPIC_MOVE}" title="{L_TOPIC_MOVE}" class="fa fa-move" data-confirmation="{L_ALERT_MOVE_TOPIC}"></a>
330 # ENDIF #
331 </span>&nbsp;
332 <div class="spacer"></div> 339 <div class="spacer"></div>
333 </footer> 340 </footer>
334 341
335 <span id="go-bottom"></span> 342 <span id="go-bottom"></span>
336 # IF C_AUTH_POST # 343 # IF C_AUTH_POST #
337 <div class="forum-post-form"> 344 <div class="forum-post-form">
338 <form action="post{U_FORUM_ACTION_POST}" method="post" onsubmit="return check_form_msg();"> 345 <form action="post{U_FORUM_ACTION_POST}" method="post" onsubmit="return check_form_msg();">
339 <div class="form-element-textarea"> 346 <div class="form-element-textarea">
340 <label for="contents">{L_RESPOND}</label> 347 <label for="contents">{L_RESPOND}</label>
341 {KERNEL_EDITOR} 348 {KERNEL_EDITOR}
342 <div class="form-field-textarea"> 349 <div class="form-field-textarea">
343 <textarea id="contents" name="contents" rows="15" cols="40">{CONTENTS}</textarea> 350 <textarea id="contents" name="contents" rows="15" cols="40">{CONTENTS}</textarea>
344 </div> 351 </div>
345 </div> 352 </div>
346 353
347 <fieldset class="fieldset-submit"> 354 <fieldset class="fieldset-submit">
348 <legend>{L_SUBMIT}</legend> 355 <legend>{L_SUBMIT}</legend>
349 <input type="hidden" name="token" value="{TOKEN}"> 356 <input type="hidden" name="token" value="{TOKEN}">
350 <button type="submit" name="valid" value="true" class="submit">{L_SUBMIT}</button> 357 <button type="submit" name="valid" value="true" class="submit">{L_SUBMIT}</button>
351 <button type="button" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button> 358 <button type="button" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button>
352 <button type="reset" value="true">{L_RESET}</button> 359 <button type="reset" value="true">{L_RESET}</button>
353 </fieldset> 360 </fieldset>
354 </form> 361 </form>
355 </div> 362 </div>
356 # ENDIF # 363 # ENDIF #
357 364
358 # IF C_ERROR_AUTH_WRITE # 365 # IF C_ERROR_AUTH_WRITE #
359 <div class="error-auth-write-response">{L_RESPOND}</div> 366 <div class="error-auth-write-response">{L_RESPOND}</div>
360 <div class="forum-text-column error-auth-write"> 367 <div class="forum-text-column error-auth-write">
361 {L_ERROR_AUTH_WRITE} 368 {L_ERROR_AUTH_WRITE}
362 </div> 369 </div>
363 # ENDIF # 370 # ENDIF #
364 </article> 371 </article>
365 372
366 373
367 # INCLUDE forum_bottom # 374 # INCLUDE forum_bottom #
368
369
370
Editor
Original Text
Changed Text
Recommended videos