Guest User

Untitled

a guest
Aug 21st, 2014
243
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <input type="hidden" template-variable="topic_id" value="{tid}" />
  2. <input type="hidden" template-variable="topic_slug" value="{slug}" />
  3. <input type="hidden" template-variable="category_id" value="{category.cid}" />
  4. <input type="hidden" template-variable="currentPage" value="{currentPage}" />
  5. <input type="hidden" template-variable="pageCount" value="{pageCount}" />
  6. <input type="hidden" template-variable="locked" template-type="boolean" value="{locked}" />
  7. <input type="hidden" template-variable="deleted" template-type="boolean" value="{deleted}" />
  8. <input type="hidden" template-variable="pinned" template-type="boolean" value="{pinned}" />
  9. <input type="hidden" template-variable="topic_name" value="{title}" />
  10. <input type="hidden" template-variable="postcount" value="{postcount}" />
  11. <input type="hidden" template-variable="viewcount" value="{viewcount}" />
  12.  
  13. <div class="topic">
  14. <ol class="breadcrumb">
  15. <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
  16. <a href="{relative_path}/" itemprop="url"><span itemprop="title">[[global:home]]</span></a>
  17. </li>
  18. <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
  19. <a href="{relative_path}/category/{category.slug}" itemprop="url"><span itemprop="title">{category.name}</span></a>
  20. </li>
  21. <li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
  22. <span itemprop="title">{title} <!-- IF !feeds:disableRSS --><a target="_blank" href="{relative_path}/topic/{tid}.rss"><i class="fa fa-rss-square"></i></a><!-- ENDIF !feeds:disableRSS --></span>
  23. </li>
  24. <div class="loading-indicator pull-right" done="0" style="display:none;">
  25. <i class="fa fa-refresh fa-spin"></i>
  26. </div>
  27. </ol>
  28.  
  29. <ul id="post-container" class="posts" data-tid="{tid}">
  30. <!-- BEGIN posts -->
  31. <!-- IF @first -->
  32. <div class="col-md-6 firstPost">
  33. <li class="post-row<!-- IF posts.deleted --> deleted<!-- ENDIF posts.deleted -->" data-pid="{posts.pid}" data-uid="{posts.uid}" data-username="{posts.user.username}" data-userslug="{posts.user.userslug}" data-index="{posts.index}" data-timestamp="{posts.timestamp}" data-votes="{posts.votes}" itemscope itemtype="http://schema.org/Comment">
  34. <a id="post_anchor_{posts.index}" name="{posts.index}"></a>
  35.  
  36. <meta itemprop="datePublished" content="{posts.relativeTime}">
  37. <meta itemprop="dateModified" content="{posts.relativeEditTime}">
  38.  
  39. <div class="col-md-1 profile-image-block hidden-xs hidden-sm sub-post">
  40. <a href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->">
  41. <img src="{posts.user.picture}" align="left" class="img-thumbnail" itemprop="image" />
  42. <!-- IF posts.user.banned -->
  43. <span class="label label-danger">[[topic:banned]]</span>
  44. <!-- ENDIF posts.user.banned -->
  45. </a>
  46. </div>
  47.  
  48. <div class="col-md-11 panel panel-default post-block topic-item">
  49.  
  50. <a class="main-post avatar" href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->">
  51. <img itemprop="image" src="{posts.user.picture}" align="left" class="img-thumbnail" width=150 height=150 />
  52. </a>
  53. <h3 class="main-post">
  54. <p id="topic_title_{posts.pid}" class="topic-title" itemprop="name"><i class="fa fa-thumb-tack hide"></i> <i class="fa fa-lock hide"></i> {title}</p>
  55. </h3>
  56.  
  57. <div class="topic-buttons">
  58.  
  59. <div class="btn-group">
  60.  
  61. <button class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" type="button" title="<!-- IF posts.user.userslug -->[[topic:posted_by, {posts.user.username}]]<!-- ELSE -->[[topic:posted_by_guest]]<!-- ENDIF posts.user.userslug -->">
  62. <i class="fa fa-circle status offline"></i>
  63. <span class="visible-xs-inline visible-md-inline"><img class="" src="{posts.picture}" width=18 height=18 />&nbsp;</span>
  64. <span class="username-field" href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" itemprop="author" data-username="{posts.username}">{posts.user.username}&nbsp;</span>
  65. <span class="caret"></span>
  66. </button>
  67.  
  68. <ul class="dropdown-menu">
  69. <li><a href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->"><i class="fa fa-user"></i> [[topic:profile]]</a></li>
  70. <!-- IF !posts.selfPost -->
  71. <!-- IF posts.user.userslug -->
  72. <li><a href="#" class="chat"><i class="fa fa-comment"></i> [[topic:chat]]</a></li>
  73. <!-- ENDIF posts.user.userslug -->
  74. <!-- ENDIF !posts.selfPost -->
  75. </ul>
  76. </div>
  77.  
  78. <div class="btn-group">
  79. <button class="btn btn-sm btn-default follow hide" type="button" title="[[topic:notify_me]]"><i class="fa fa-eye"></i></button>
  80. <!-- IF !posts.selfPost -->
  81. <button class="btn btn-sm btn-default flag" type="button" title="[[topic:flag_title]]"><i class="fa fa-flag-o"></i></button>
  82. <!-- ENDIF !posts.selfPost -->
  83. <button data-favourited="{posts.favourited}" class="favourite favourite-tooltip btn btn-sm btn-default <!-- IF posts.favourited --> btn-warning <!-- ENDIF posts.favourited -->" type="button">
  84. <span class="favourite-text">[[topic:favourite]]</span>
  85. <span class="favouriteCount" data-favourites="{posts.reputation}">{posts.reputation}</span>&nbsp;
  86. <!-- IF posts.favourited -->
  87. <i class="fa fa-star"></i>
  88. <!-- ELSE -->
  89. <i class="fa fa-star-o"></i>
  90. <!-- ENDIF posts.favourited -->
  91. </button>
  92. </div>
  93.  
  94. <!-- IF !reputation:disabled -->
  95. <div class="btn-group">
  96. <button class="upvote btn btn-sm btn-default <!-- IF posts.upvoted --> upvoted btn-primary <!-- ENDIF posts.upvoted -->">
  97. <i class="fa fa-chevron-up"></i>
  98. </button>
  99. <button class="votes btn btn-sm btn-default" data-votes="{posts.votes}" disabled>{posts.votes}</button>
  100. <button class="downvote btn btn-sm btn-default <!-- IF posts.downvoted --> downvoted btn-primary <!-- ENDIF posts.downvoted -->">
  101. <i class="fa fa-chevron-down"></i>
  102. </button>
  103. </div>
  104. <!-- ENDIF !reputation:disabled -->
  105.  
  106. <!-- IF privileges.topics:reply -->
  107. <div class="btn-group">
  108. <button class="btn btn-sm btn-default quote" type="button" title="[[topic:quote]]"><i class="fa fa-quote-left"></i></button>
  109. <button class="btn btn-sm btn-primary btn post_reply" type="button">[[topic:reply]] <i class="fa fa-reply"></i></button>
  110. </div>
  111. <!-- ENDIF privileges.topics:reply -->
  112.  
  113. <div class="pull-right">
  114. <div class="btn-group post-tools">
  115. <div class="dropdown share-dropdown pull-right">
  116. <button title="[[topic:share]]"class="btn btn-sm btn-default share" data-toggle="dropdown" href="#"><i class="fa fa-share-square-o"></i></button>
  117. <!-- IMPORT partials/share_dropdown.tpl -->
  118. </div>
  119. </div>
  120.  
  121. <!-- IF posts.display_moderator_tools -->
  122. <div class="btn-group post-tools">
  123. <div class="dropdown">
  124. <button title="[[topic:tools]]" class="btn btn-sm btn-default" data-toggle="dropdown" href="#"><i class="fa fa-gear"></i></button>
  125. <ul class="dropdown-menu text-center pull-right" role="menu" aria-labelledby="dLabel">
  126. <button class="btn btn-sm btn-default edit" type="button" title="[[topic:edit]]"><i class="fa fa-pencil"></i></button>
  127. <button class="btn btn-sm btn-default delete" type="button" title="[[topic:delete]]"><i class="fa fa-trash-o"></i></button>
  128. <button class="btn btn-sm btn-default purge <!-- IF !posts.deleted -->none<!-- ENDIF !posts.deleted -->" type="button" title="[[topic:purge]]"><i class="fa fa-eraser"></i></button>
  129.  
  130. <!-- IF posts.display_move_tools -->
  131. <button class="btn btn-sm btn-default move" type="button" title="[[topic:move]]"><i class="fa fa-arrows"></i></button>
  132. <!-- ENDIF posts.display_move_tools -->
  133. </ul>
  134. </div>
  135. </div>
  136. <!-- ENDIF posts.display_moderator_tools -->
  137. </div>
  138. </div>
  139.  
  140. <div id="content_{posts.pid}" class="post-content" itemprop="text">{posts.content}</div>
  141. <!-- IF posts.user.signature -->
  142. <div class="post-signature">{posts.user.signature}</div>
  143. <!-- ENDIF posts.user.signature -->
  144.  
  145. <div class="post-info">
  146. <span class="pull-right">
  147. [[global:posted_ago, <span class="timeago" title="{posts.relativeTime}"></span>]]
  148. <!-- IF posts.editor.username -->
  149. <span>| [[global:last_edited_by_ago, <strong><a href="{relative_path}/user/{posts.editor.userslug}">{posts.editor.username}</a></strong>, <span class="timeago" title="{posts.relativeEditTime}"></span>]]</span>
  150. <!-- ENDIF posts.editor.username -->
  151. </span>
  152. <span class="pull-left">
  153. [[global:reputation]]: <i class='fa fa-star'></i> <span data-reputation="{posts.user.reputation}" data-uid="{posts.uid}" class='formatted-number reputation'>{posts.user.reputation}</span>&nbsp;|&nbsp;[[global:posts]]: <i class='fa fa-pencil'></i> <span class='formatted-number user_postcount_{posts.uid}'>{posts.user.postcount}</span>
  154. <!-- IF posts.user.custom_profile_info.length -->
  155. <!-- BEGIN custom_profile_info -->
  156. | {posts.user.custom_profile_info.content}
  157. <!-- END custom_profile_info -->
  158. <!-- ENDIF posts.user.custom_profile_info.length -->
  159. </span>
  160. <div style="clear:both;"></div>
  161. </div>
  162. </div>
  163. <div style="clear:both;"></div>
  164. </li>
  165.  
  166. <!-- IF !posts.index -->
  167. <li class="well post-bar" data-index="{posts.index}">
  168. <!-- IMPORT partials/post_bar.tpl -->
  169. </li>
  170. <!-- ENDIF !posts.index -->
  171. </div>
  172.  
  173. <div class="col-md-6 otherPosts">
  174. <!-- ELSE -->
  175.  
  176. <!-- ENDIF @first -->
  177. <li class="post-row<!-- IF posts.deleted --> deleted<!-- ENDIF posts.deleted -->" data-pid="{posts.pid}" data-uid="{posts.uid}" data-username="{posts.user.username}" data-userslug="{posts.user.userslug}" data-index="{posts.index}" data-timestamp="{posts.timestamp}" data-votes="{posts.votes}" itemscope itemtype="http://schema.org/Comment">
  178. <a id="post_anchor_{posts.index}" name="{posts.index}"></a>
  179.  
  180. <meta itemprop="datePublished" content="{posts.relativeTime}">
  181. <meta itemprop="dateModified" content="{posts.relativeEditTime}">
  182.  
  183. <div class="col-md-1 profile-image-block hidden-xs hidden-sm sub-post">
  184. <a href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->">
  185. <img src="{posts.user.picture}" align="left" class="img-thumbnail" itemprop="image" />
  186. <!-- IF posts.user.banned -->
  187. <span class="label label-danger">[[topic:banned]]</span>
  188. <!-- ENDIF posts.user.banned -->
  189. </a>
  190. </div>
  191.  
  192. <div class="col-md-11 panel panel-default post-block topic-item">
  193.  
  194. <a class="main-post avatar" href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->">
  195. <img itemprop="image" src="{posts.user.picture}" align="left" class="img-thumbnail" width=150 height=150 />
  196. </a>
  197. <h3 class="main-post">
  198. <p id="topic_title_{posts.pid}" class="topic-title" itemprop="name"><i class="fa fa-thumb-tack hide"></i> <i class="fa fa-lock hide"></i> {title}</p>
  199. </h3>
  200.  
  201. <div class="topic-buttons">
  202.  
  203. <div class="btn-group">
  204.  
  205. <button class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" type="button" title="<!-- IF posts.user.userslug -->[[topic:posted_by, {posts.user.username}]]<!-- ELSE -->[[topic:posted_by_guest]]<!-- ENDIF posts.user.userslug -->">
  206. <i class="fa fa-circle status offline"></i>
  207. <span class="visible-xs-inline visible-md-inline"><img class="" src="{posts.picture}" width=18 height=18 />&nbsp;</span>
  208. <span class="username-field" href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" itemprop="author" data-username="{posts.username}">{posts.user.username}&nbsp;</span>
  209. <span class="caret"></span>
  210. </button>
  211.  
  212. <ul class="dropdown-menu">
  213. <li><a href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->"><i class="fa fa-user"></i> [[topic:profile]]</a></li>
  214. <!-- IF !posts.selfPost -->
  215. <!-- IF posts.user.userslug -->
  216. <li><a href="#" class="chat"><i class="fa fa-comment"></i> [[topic:chat]]</a></li>
  217. <!-- ENDIF posts.user.userslug -->
  218. <!-- ENDIF !posts.selfPost -->
  219. </ul>
  220. </div>
  221.  
  222. <div class="btn-group">
  223. <button class="btn btn-sm btn-default follow hide" type="button" title="[[topic:notify_me]]"><i class="fa fa-eye"></i></button>
  224. <!-- IF !posts.selfPost -->
  225. <button class="btn btn-sm btn-default flag" type="button" title="[[topic:flag_title]]"><i class="fa fa-flag-o"></i></button>
  226. <!-- ENDIF !posts.selfPost -->
  227.  
  228. </div>
  229.  
  230. <!-- IF !reputation:disabled -->
  231. <div class="btn-group">
  232. <button class="upvote btn btn-sm btn-default <!-- IF posts.upvoted --> upvoted btn-primary <!-- ENDIF posts.upvoted -->">
  233. <i class="fa fa-chevron-up"></i>
  234. </button>
  235. <button class="votes btn btn-sm btn-default" data-votes="{posts.votes}" disabled>{posts.votes}</button>
  236. <button class="downvote btn btn-sm btn-default <!-- IF posts.downvoted --> downvoted btn-primary <!-- ENDIF posts.downvoted -->">
  237. <i class="fa fa-chevron-down"></i>
  238. </button>
  239. </div>
  240. <!-- ENDIF !reputation:disabled -->
  241.  
  242. <!-- IF privileges.topics:reply -->
  243. <div class="btn-group">
  244. <button class="btn btn-sm btn-default quote" type="button" title="[[topic:quote]]"><i class="fa fa-quote-left"></i></button>
  245. <button class="btn btn-sm btn-primary btn post_reply" type="button">[[topic:reply]] <i class="fa fa-reply"></i></button>
  246. </div>
  247. <!-- ENDIF privileges.topics:reply -->
  248.  
  249. <div class="pull-right">
  250.  
  251.  
  252. <!-- IF posts.display_moderator_tools -->
  253. <div class="btn-group post-tools">
  254. <div class="dropdown">
  255. <button title="[[topic:tools]]" class="btn btn-sm btn-default" data-toggle="dropdown" href="#"><i class="fa fa-gear"></i></button>
  256. <ul class="dropdown-menu text-center pull-right" role="menu" aria-labelledby="dLabel">
  257. <button class="btn btn-sm btn-default edit" type="button" title="[[topic:edit]]"><i class="fa fa-pencil"></i></button>
  258. <button class="btn btn-sm btn-default delete" type="button" title="[[topic:delete]]"><i class="fa fa-trash-o"></i></button>
  259. <button class="btn btn-sm btn-default purge <!-- IF !posts.deleted -->none<!-- ENDIF !posts.deleted -->" type="button" title="[[topic:purge]]"><i class="fa fa-eraser"></i></button>
  260.  
  261. <!-- IF posts.display_move_tools -->
  262. <button class="btn btn-sm btn-default move" type="button" title="[[topic:move]]"><i class="fa fa-arrows"></i></button>
  263. <!-- ENDIF posts.display_move_tools -->
  264. </ul>
  265. </div>
  266. </div>
  267. <!-- ENDIF posts.display_moderator_tools -->
  268. </div>
  269. </div>
  270.  
  271. <div id="content_{posts.pid}" class="post-content" itemprop="text">{posts.content}</div>
  272. <!-- IF posts.user.signature -->
  273. <div class="post-signature">{posts.user.signature}</div>
  274. <!-- ENDIF posts.user.signature -->
  275.  
  276. <div class="post-info">
  277. <span class="pull-right">
  278. [[global:posted_ago, <span class="timeago" title="{posts.relativeTime}"></span>]]
  279. <!-- IF posts.editor.username -->
  280. <span>| [[global:last_edited_by_ago, <strong><a href="{relative_path}/user/{posts.editor.userslug}">{posts.editor.username}</a></strong>, <span class="timeago" title="{posts.relativeEditTime}"></span>]]</span>
  281. <!-- ENDIF posts.editor.username -->
  282. </span>
  283. <span class="pull-left">
  284. [[global:reputation]]: <i class='fa fa-star'></i> <span data-reputation="{posts.user.reputation}" data-uid="{posts.uid}" class='formatted-number reputation'>{posts.user.reputation}</span>
  285. <!-- IF posts.user.custom_profile_info.length -->
  286. <!-- BEGIN custom_profile_info -->
  287. | {posts.user.custom_profile_info.content}
  288. <!-- END custom_profile_info -->
  289. <!-- ENDIF posts.user.custom_profile_info.length -->
  290. </span>
  291. <div style="clear:both;"></div>
  292. </div>
  293. </div>
  294. <div style="clear:both;"></div>
  295. </li>
  296.  
  297. <!-- IF !posts.index -->
  298. <li class="well post-bar" data-index="{posts.index}">
  299. <!-- IMPORT partials/post_bar.tpl -->
  300. </li>
  301. <!-- ENDIF !posts.index -->
  302. <!-- END posts -->
  303. </div>
  304. </ul>
  305.  
  306. <div class="well col-md-11 col-xs-12 pull-right post-bar bottom-post-bar hide">
  307. <!-- IMPORT partials/post_bar.tpl -->
  308. </div>
  309.  
  310. <!-- IF config.usePagination -->
  311. <div class="text-center">
  312. <ul class="pagination">
  313. <li class="previous pull-left"><a href="#"><i class="fa fa-chevron-left"></i> [[global:previouspage]]</a></li>
  314. <li class="next pull-right"><a href="#">[[global:nextpage]] <i class="fa fa-chevron-right"></i></a></li>
  315. </ul>
  316. </div>
  317. <!-- ENDIF config.usePagination -->
  318.  
  319. <!-- IMPORT partials/move_thread_modal.tpl -->
  320. <!-- IMPORT partials/fork_thread_modal.tpl -->
  321. <!-- IMPORT partials/move_post_modal.tpl -->
  322.  
  323. </div>
  324.  
  325. <div widget-area="footer" class="col-xs-12"></div>
  326.  
  327. <!-- IMPORT partials/noscript/paginator.tpl -->
RAW Paste Data