PageRenderTime 55ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 1ms

/cache/production/twig/11/119da9f18c2884bcaff56b7bfce7a4870f3992a377539ddc4b796864a44a261d.php

https://bitbucket.org/robotstart/sebastien
PHP | 1585 lines | 1279 code | 28 blank | 278 comment | 134 complexity | cdd7e4fe2c053d091758f36bfe2730c8 MD5 | raw file
Possible License(s): AGPL-1.0, BSD-3-Clause

Large files files are truncated, but you can click here to view the full file

  1. <?php
  2. /* viewtopic_body.html */
  3. class __TwigTemplate_700600ca8a5db427d435ac72502fd35bf8ebd7203df7016a20064ed5ee23a633 extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = array(
  10. );
  11. }
  12. protected function doDisplay(array $context, array $blocks = array())
  13. {
  14. // line 1
  15. $location = "overall_header.html";
  16. $namespace = false;
  17. if (strpos($location, '@') === 0) {
  18. $namespace = substr($location, 1, strpos($location, '/') - 1);
  19. $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
  20. $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
  21. }
  22. $this->loadTemplate("overall_header.html", "viewtopic_body.html", 1)->display($context);
  23. if ($namespace) {
  24. $this->env->setNamespaceLookUpOrder($previous_look_up_order);
  25. }
  26. // line 2
  27. // line 3
  28. echo "<h2 class=\"topic-title\">";
  29. echo "<a href=\"";
  30. echo (isset($context["U_VIEW_TOPIC"]) ? $context["U_VIEW_TOPIC"] : null);
  31. echo "\">";
  32. echo (isset($context["TOPIC_TITLE"]) ? $context["TOPIC_TITLE"] : null);
  33. echo "</a>";
  34. echo "</h2>
  35. ";
  36. // line 4
  37. // line 5
  38. echo "<!-- NOTE: remove the style=\"display: none\" when you want to have the forum description on the topic body -->
  39. ";
  40. // line 6
  41. if ((isset($context["FORUM_DESC"]) ? $context["FORUM_DESC"] : null)) {
  42. echo "<div style=\"display: none !important;\">";
  43. echo (isset($context["FORUM_DESC"]) ? $context["FORUM_DESC"] : null);
  44. echo "<br /></div>";
  45. }
  46. // line 7
  47. echo "
  48. ";
  49. // line 8
  50. if ((isset($context["MODERATORS"]) ? $context["MODERATORS"] : null)) {
  51. // line 9
  52. echo "<p>
  53. \t<strong>";
  54. // line 10
  55. if ((isset($context["S_SINGLE_MODERATOR"]) ? $context["S_SINGLE_MODERATOR"] : null)) {
  56. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("MODERATOR");
  57. } else {
  58. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("MODERATORS");
  59. }
  60. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  61. echo "</strong> ";
  62. echo (isset($context["MODERATORS"]) ? $context["MODERATORS"] : null);
  63. echo "
  64. </p>
  65. ";
  66. }
  67. // line 13
  68. echo "
  69. ";
  70. // line 14
  71. if ((isset($context["S_FORUM_RULES"]) ? $context["S_FORUM_RULES"] : null)) {
  72. // line 15
  73. echo "\t<div class=\"rules";
  74. if ((isset($context["U_FORUM_RULES"]) ? $context["U_FORUM_RULES"] : null)) {
  75. echo " rules-link";
  76. }
  77. echo "\">
  78. \t\t<div class=\"inner\">
  79. \t\t";
  80. // line 18
  81. if ((isset($context["U_FORUM_RULES"]) ? $context["U_FORUM_RULES"] : null)) {
  82. // line 19
  83. echo "\t\t\t<a href=\"";
  84. echo (isset($context["U_FORUM_RULES"]) ? $context["U_FORUM_RULES"] : null);
  85. echo "\">";
  86. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("FORUM_RULES");
  87. echo "</a>
  88. \t\t";
  89. } else {
  90. // line 21
  91. echo "\t\t\t<strong>";
  92. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("FORUM_RULES");
  93. echo "</strong><br />
  94. \t\t\t";
  95. // line 22
  96. echo (isset($context["FORUM_RULES"]) ? $context["FORUM_RULES"] : null);
  97. echo "
  98. \t\t";
  99. }
  100. // line 24
  101. echo "
  102. \t\t</div>
  103. \t</div>
  104. ";
  105. }
  106. // line 28
  107. echo "
  108. <div class=\"action-bar bar-top\">
  109. \t";
  110. // line 30
  111. // line 31
  112. echo "
  113. \t";
  114. // line 32
  115. if (( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null) && (isset($context["S_DISPLAY_REPLY_INFO"]) ? $context["S_DISPLAY_REPLY_INFO"] : null))) {
  116. // line 33
  117. echo "\t\t<a href=\"";
  118. echo (isset($context["U_POST_REPLY_TOPIC"]) ? $context["U_POST_REPLY_TOPIC"] : null);
  119. echo "\" class=\"postbutton\" title=\"";
  120. if ((isset($context["S_IS_LOCKED"]) ? $context["S_IS_LOCKED"] : null)) {
  121. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOPIC_LOCKED");
  122. } else {
  123. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_REPLY");
  124. }
  125. echo "\">
  126. \t\t\t";
  127. // line 34
  128. if ((isset($context["S_IS_LOCKED"]) ? $context["S_IS_LOCKED"] : null)) {
  129. // line 35
  130. echo "\t\t\t\t<span>";
  131. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BUTTON_TOPIC_LOCKED");
  132. echo "</span> <i class=\"icon fa-lock fa-fw\" aria-hidden=\"true\"></i>
  133. \t\t\t";
  134. } else {
  135. // line 37
  136. echo "\t\t\t\t<span>";
  137. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BUTTON_POST_REPLY");
  138. echo "</span> <i class=\"icon fa-reply fa-fw\" aria-hidden=\"true\"></i>
  139. \t\t\t";
  140. }
  141. // line 39
  142. echo "\t\t</a>
  143. \t";
  144. }
  145. // line 41
  146. echo "
  147. \t";
  148. // line 42
  149. // line 43
  150. echo "\t";
  151. $location = "viewtopic_topic_tools.html";
  152. $namespace = false;
  153. if (strpos($location, '@') === 0) {
  154. $namespace = substr($location, 1, strpos($location, '/') - 1);
  155. $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
  156. $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
  157. }
  158. $this->loadTemplate("viewtopic_topic_tools.html", "viewtopic_body.html", 43)->display($context);
  159. if ($namespace) {
  160. $this->env->setNamespaceLookUpOrder($previous_look_up_order);
  161. }
  162. // line 44
  163. echo "\t";
  164. // line 45
  165. echo "
  166. \t";
  167. // line 46
  168. if ((isset($context["S_DISPLAY_SEARCHBOX"]) ? $context["S_DISPLAY_SEARCHBOX"] : null)) {
  169. // line 47
  170. echo "\t\t<div class=\"search-box\" role=\"search\">
  171. \t\t\t<form method=\"get\" id=\"topic-search\" action=\"";
  172. // line 48
  173. echo (isset($context["S_SEARCHBOX_ACTION"]) ? $context["S_SEARCHBOX_ACTION"] : null);
  174. echo "\">
  175. \t\t\t<fieldset>
  176. \t\t\t\t<input class=\"inputbox search tiny\" type=\"search\" name=\"keywords\" id=\"search_keywords\" size=\"20\" placeholder=\"";
  177. // line 50
  178. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH_TOPIC");
  179. echo "\" />
  180. \t\t\t\t<button class=\"button button-search\" type=\"submit\" title=\"";
  181. // line 51
  182. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH");
  183. echo "\">
  184. \t\t\t\t\t<i class=\"icon fa-search fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  185. // line 52
  186. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH");
  187. echo "</span>
  188. \t\t\t\t</button>
  189. \t\t\t\t<a href=\"";
  190. // line 54
  191. echo (isset($context["U_SEARCH"]) ? $context["U_SEARCH"] : null);
  192. echo "\" class=\"button button-search-end\" title=\"";
  193. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH_ADV");
  194. echo "\">
  195. \t\t\t\t\t<i class=\"icon fa-cog fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  196. // line 55
  197. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SEARCH_ADV");
  198. echo "</span>
  199. \t\t\t\t</a>
  200. \t\t\t\t";
  201. // line 57
  202. echo (isset($context["S_SEARCH_LOCAL_HIDDEN_FIELDS"]) ? $context["S_SEARCH_LOCAL_HIDDEN_FIELDS"] : null);
  203. echo "
  204. \t\t\t</fieldset>
  205. \t\t\t</form>
  206. \t\t</div>
  207. \t";
  208. }
  209. // line 62
  210. echo "
  211. \t";
  212. // line 63
  213. if ((twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "pagination", array())) || (isset($context["TOTAL_POSTS"]) ? $context["TOTAL_POSTS"] : null))) {
  214. // line 64
  215. echo "\t\t<div class=\"pagination\">
  216. \t\t\t";
  217. // line 65
  218. if (((isset($context["U_VIEW_UNREAD_POST"]) ? $context["U_VIEW_UNREAD_POST"] : null) && !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null))) {
  219. echo "<a href=\"";
  220. echo (isset($context["U_VIEW_UNREAD_POST"]) ? $context["U_VIEW_UNREAD_POST"] : null);
  221. echo "\" class=\"mark\">";
  222. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VIEW_UNREAD_POST");
  223. echo "</a> &bull; ";
  224. }
  225. echo (isset($context["TOTAL_POSTS"]) ? $context["TOTAL_POSTS"] : null);
  226. echo "
  227. \t\t\t";
  228. // line 66
  229. if (twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "pagination", array()))) {
  230. // line 67
  231. echo "\t\t\t\t";
  232. $location = "pagination.html";
  233. $namespace = false;
  234. if (strpos($location, '@') === 0) {
  235. $namespace = substr($location, 1, strpos($location, '/') - 1);
  236. $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
  237. $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
  238. }
  239. $this->loadTemplate("pagination.html", "viewtopic_body.html", 67)->display($context);
  240. if ($namespace) {
  241. $this->env->setNamespaceLookUpOrder($previous_look_up_order);
  242. }
  243. // line 68
  244. echo "\t\t\t";
  245. } else {
  246. // line 69
  247. echo "\t\t\t\t&bull; ";
  248. echo (isset($context["PAGE_NUMBER"]) ? $context["PAGE_NUMBER"] : null);
  249. echo "
  250. \t\t\t";
  251. }
  252. // line 71
  253. echo "\t\t</div>
  254. \t";
  255. }
  256. // line 73
  257. echo "\t";
  258. // line 74
  259. echo "</div>
  260. ";
  261. // line 76
  262. // line 77
  263. echo "
  264. ";
  265. // line 78
  266. if ((isset($context["S_HAS_POLL"]) ? $context["S_HAS_POLL"] : null)) {
  267. // line 79
  268. echo "\t<form method=\"post\" action=\"";
  269. echo (isset($context["S_POLL_ACTION"]) ? $context["S_POLL_ACTION"] : null);
  270. echo "\" data-ajax=\"vote_poll\" class=\"topic_poll\">
  271. \t<div class=\"panel\">
  272. \t\t<div class=\"inner\">
  273. \t\t<div class=\"content\">
  274. \t\t\t<h2 class=\"poll-title\">";
  275. // line 85
  276. echo (isset($context["POLL_QUESTION"]) ? $context["POLL_QUESTION"] : null);
  277. echo "</h2>
  278. \t\t\t<p class=\"author\">";
  279. // line 86
  280. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POLL_LENGTH");
  281. if (((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null) && (isset($context["L_POLL_LENGTH"]) ? $context["L_POLL_LENGTH"] : null))) {
  282. echo "<br />";
  283. }
  284. if ((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null)) {
  285. echo "<span class=\"poll_max_votes\">";
  286. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("MAX_VOTES");
  287. echo "</span>";
  288. }
  289. echo "</p>
  290. \t\t\t<fieldset class=\"polls\">
  291. \t\t\t";
  292. // line 89
  293. $context['_parent'] = $context;
  294. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "poll_option", array()));
  295. foreach ($context['_seq'] as $context["_key"] => $context["poll_option"]) {
  296. // line 90
  297. echo "\t\t\t\t";
  298. // line 91
  299. echo "\t\t\t\t<dl class=\"";
  300. if ($this->getAttribute($context["poll_option"], "POLL_OPTION_VOTED", array())) {
  301. echo "voted";
  302. }
  303. if ($this->getAttribute($context["poll_option"], "POLL_OPTION_MOST_VOTES", array())) {
  304. echo " most-votes";
  305. }
  306. echo "\"";
  307. if ($this->getAttribute($context["poll_option"], "POLL_OPTION_VOTED", array())) {
  308. echo " title=\"";
  309. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POLL_VOTED_OPTION");
  310. echo "\"";
  311. }
  312. echo " data-alt-text=\"";
  313. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POLL_VOTED_OPTION");
  314. echo "\" data-poll-option-id=\"";
  315. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
  316. echo "\">
  317. \t\t\t\t\t<dt>";
  318. // line 92
  319. if ((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null)) {
  320. echo "<label for=\"vote_";
  321. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
  322. echo "\">";
  323. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_CAPTION", array());
  324. echo "</label>";
  325. } else {
  326. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_CAPTION", array());
  327. }
  328. echo "</dt>
  329. \t\t\t\t\t";
  330. // line 93
  331. if ((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null)) {
  332. echo "<dd style=\"width: auto;\" class=\"poll_option_select\">";
  333. if ((isset($context["S_IS_MULTI_CHOICE"]) ? $context["S_IS_MULTI_CHOICE"] : null)) {
  334. echo "<input type=\"checkbox\" name=\"vote_id[]\" id=\"vote_";
  335. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
  336. echo "\" value=\"";
  337. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
  338. echo "\"";
  339. if ($this->getAttribute($context["poll_option"], "POLL_OPTION_VOTED", array())) {
  340. echo " checked=\"checked\"";
  341. }
  342. echo " />";
  343. } else {
  344. echo "<input type=\"radio\" name=\"vote_id[]\" id=\"vote_";
  345. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
  346. echo "\" value=\"";
  347. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_ID", array());
  348. echo "\"";
  349. if ($this->getAttribute($context["poll_option"], "POLL_OPTION_VOTED", array())) {
  350. echo " checked=\"checked\"";
  351. }
  352. echo " />";
  353. }
  354. echo "</dd>";
  355. }
  356. // line 94
  357. echo "\t\t\t\t\t<dd class=\"resultbar";
  358. if ( !(isset($context["S_DISPLAY_RESULTS"]) ? $context["S_DISPLAY_RESULTS"] : null)) {
  359. echo " hidden";
  360. }
  361. echo "\"><div class=\"";
  362. if (($this->getAttribute($context["poll_option"], "POLL_OPTION_PCT", array()) < 20)) {
  363. echo "pollbar1";
  364. } elseif (($this->getAttribute($context["poll_option"], "POLL_OPTION_PCT", array()) < 40)) {
  365. echo "pollbar2";
  366. } elseif (($this->getAttribute($context["poll_option"], "POLL_OPTION_PCT", array()) < 60)) {
  367. echo "pollbar3";
  368. } elseif (($this->getAttribute($context["poll_option"], "POLL_OPTION_PCT", array()) < 80)) {
  369. echo "pollbar4";
  370. } else {
  371. echo "pollbar5";
  372. }
  373. echo "\" style=\"width:";
  374. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_PERCENT_REL", array());
  375. echo ";\">";
  376. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_RESULT", array());
  377. echo "</div></dd>
  378. \t\t\t\t\t<dd class=\"poll_option_percent";
  379. // line 95
  380. if ( !(isset($context["S_DISPLAY_RESULTS"]) ? $context["S_DISPLAY_RESULTS"] : null)) {
  381. echo " hidden";
  382. }
  383. echo "\">";
  384. if (($this->getAttribute($context["poll_option"], "POLL_OPTION_RESULT", array()) == 0)) {
  385. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("NO_VOTES");
  386. } else {
  387. echo $this->getAttribute($context["poll_option"], "POLL_OPTION_PERCENT", array());
  388. }
  389. echo "</dd>
  390. \t\t\t\t</dl>
  391. \t\t\t\t";
  392. // line 97
  393. // line 98
  394. echo "\t\t\t";
  395. }
  396. $_parent = $context['_parent'];
  397. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['poll_option'], $context['_parent'], $context['loop']);
  398. $context = array_intersect_key($context, $_parent) + $_parent;
  399. // line 99
  400. echo "
  401. \t\t\t\t<dl class=\"poll_total_votes";
  402. // line 100
  403. if ( !(isset($context["S_DISPLAY_RESULTS"]) ? $context["S_DISPLAY_RESULTS"] : null)) {
  404. echo " hidden";
  405. }
  406. echo "\">
  407. \t\t\t\t\t<dt>&nbsp;</dt>
  408. \t\t\t\t\t<dd class=\"resultbar\">";
  409. // line 102
  410. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TOTAL_VOTES");
  411. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  412. echo " <span class=\"poll_total_vote_cnt\">";
  413. echo (isset($context["TOTAL_VOTES"]) ? $context["TOTAL_VOTES"] : null);
  414. echo "</span></dd>
  415. \t\t\t\t</dl>
  416. \t\t\t";
  417. // line 105
  418. if ((isset($context["S_CAN_VOTE"]) ? $context["S_CAN_VOTE"] : null)) {
  419. // line 106
  420. echo "\t\t\t\t<dl style=\"border-top: none;\" class=\"poll_vote\">
  421. \t\t\t\t\t<dt>&nbsp;</dt>
  422. \t\t\t\t\t<dd class=\"resultbar\"><input type=\"submit\" name=\"update\" value=\"";
  423. // line 108
  424. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SUBMIT_VOTE");
  425. echo "\" class=\"button1\" /></dd>
  426. \t\t\t\t</dl>
  427. \t\t\t";
  428. }
  429. // line 111
  430. echo "
  431. \t\t\t";
  432. // line 112
  433. if ( !(isset($context["S_DISPLAY_RESULTS"]) ? $context["S_DISPLAY_RESULTS"] : null)) {
  434. // line 113
  435. echo "\t\t\t\t<dl style=\"border-top: none;\" class=\"poll_view_results\">
  436. \t\t\t\t\t<dt>&nbsp;</dt>
  437. \t\t\t\t\t<dd class=\"resultbar\"><a href=\"";
  438. // line 115
  439. echo (isset($context["U_VIEW_RESULTS"]) ? $context["U_VIEW_RESULTS"] : null);
  440. echo "\">";
  441. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VIEW_RESULTS");
  442. echo "</a></dd>
  443. \t\t\t\t</dl>
  444. \t\t\t";
  445. }
  446. // line 118
  447. echo "\t\t\t</fieldset>
  448. \t\t\t<div class=\"vote-submitted hidden\">";
  449. // line 119
  450. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("VOTE_SUBMITTED");
  451. echo "</div>
  452. \t\t</div>
  453. \t\t</div>
  454. \t\t";
  455. // line 123
  456. echo (isset($context["S_FORM_TOKEN"]) ? $context["S_FORM_TOKEN"] : null);
  457. echo "
  458. \t\t";
  459. // line 124
  460. echo (isset($context["S_HIDDEN_FIELDS"]) ? $context["S_HIDDEN_FIELDS"] : null);
  461. echo "
  462. \t</div>
  463. \t</form>
  464. \t<hr />
  465. ";
  466. }
  467. // line 130
  468. echo "
  469. ";
  470. // line 131
  471. // line 132
  472. echo "
  473. ";
  474. // line 133
  475. $context['_parent'] = $context;
  476. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "postrow", array()));
  477. foreach ($context['_seq'] as $context["_key"] => $context["postrow"]) {
  478. // line 134
  479. echo "\t";
  480. // line 135
  481. echo "\t";
  482. if ($this->getAttribute($context["postrow"], "S_FIRST_UNREAD", array())) {
  483. // line 136
  484. echo "\t\t<a id=\"unread\" class=\"anchor\"";
  485. if ((isset($context["S_UNREAD_VIEW"]) ? $context["S_UNREAD_VIEW"] : null)) {
  486. echo " data-url=\"";
  487. echo $this->getAttribute($context["postrow"], "U_MINI_POST", array());
  488. echo "\"";
  489. }
  490. echo "></a>
  491. \t";
  492. }
  493. // line 138
  494. echo "\t<div id=\"p";
  495. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  496. echo "\" class=\"post has-profile ";
  497. if (($this->getAttribute($context["postrow"], "S_ROW_COUNT", array()) % 2 == 1)) {
  498. echo "bg1";
  499. } else {
  500. echo "bg2";
  501. }
  502. if ($this->getAttribute($context["postrow"], "S_UNREAD_POST", array())) {
  503. echo " unreadpost";
  504. }
  505. if ($this->getAttribute($context["postrow"], "S_POST_REPORTED", array())) {
  506. echo " reported";
  507. }
  508. if ($this->getAttribute($context["postrow"], "S_POST_DELETED", array())) {
  509. echo " deleted";
  510. }
  511. if (($this->getAttribute($context["postrow"], "S_ONLINE", array()) && !$this->getAttribute($context["postrow"], "S_POST_HIDDEN", array()))) {
  512. echo " online";
  513. }
  514. if ($this->getAttribute($context["postrow"], "POSTER_WARNINGS", array())) {
  515. echo " warned";
  516. }
  517. echo "\">
  518. \t\t<div class=\"inner\">
  519. \t\t<dl class=\"postprofile\" id=\"profile";
  520. // line 141
  521. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  522. echo "\"";
  523. if ($this->getAttribute($context["postrow"], "S_POST_HIDDEN", array())) {
  524. echo " style=\"display: none;\"";
  525. }
  526. echo ">
  527. \t\t\t<dt class=\"";
  528. // line 142
  529. if (($this->getAttribute($context["postrow"], "RANK_TITLE", array()) || $this->getAttribute($context["postrow"], "RANK_IMG", array()))) {
  530. echo "has-profile-rank";
  531. } else {
  532. echo "no-profile-rank";
  533. }
  534. echo " ";
  535. if ($this->getAttribute($context["postrow"], "POSTER_AVATAR", array())) {
  536. echo "has-avatar";
  537. } else {
  538. echo "no-avatar";
  539. }
  540. echo "\">
  541. \t\t\t\t<div class=\"avatar-container\">
  542. \t\t\t\t\t";
  543. // line 144
  544. // line 145
  545. echo "\t\t\t\t\t";
  546. if ($this->getAttribute($context["postrow"], "POSTER_AVATAR", array())) {
  547. // line 146
  548. echo "\t\t\t\t\t\t";
  549. if ($this->getAttribute($context["postrow"], "U_POST_AUTHOR", array())) {
  550. echo "<a href=\"";
  551. echo $this->getAttribute($context["postrow"], "U_POST_AUTHOR", array());
  552. echo "\" class=\"avatar\">";
  553. echo $this->getAttribute($context["postrow"], "POSTER_AVATAR", array());
  554. echo "</a>";
  555. } else {
  556. echo "<span class=\"avatar\">";
  557. echo $this->getAttribute($context["postrow"], "POSTER_AVATAR", array());
  558. echo "</span>";
  559. }
  560. // line 147
  561. echo "\t\t\t\t\t";
  562. }
  563. // line 148
  564. echo "\t\t\t\t\t";
  565. // line 149
  566. echo "\t\t\t\t</div>
  567. \t\t\t\t";
  568. // line 150
  569. // line 151
  570. echo "\t\t\t\t";
  571. if ( !$this->getAttribute($context["postrow"], "U_POST_AUTHOR", array())) {
  572. echo "<strong>";
  573. echo $this->getAttribute($context["postrow"], "POST_AUTHOR_FULL", array());
  574. echo "</strong>";
  575. } else {
  576. echo $this->getAttribute($context["postrow"], "POST_AUTHOR_FULL", array());
  577. }
  578. // line 152
  579. echo "\t\t\t\t";
  580. // line 153
  581. echo "\t\t\t</dt>
  582. \t\t\t";
  583. // line 155
  584. // line 156
  585. echo "\t\t\t";
  586. if (($this->getAttribute($context["postrow"], "RANK_TITLE", array()) || $this->getAttribute($context["postrow"], "RANK_IMG", array()))) {
  587. echo "<dd class=\"profile-rank\">";
  588. echo $this->getAttribute($context["postrow"], "RANK_TITLE", array());
  589. if (($this->getAttribute($context["postrow"], "RANK_TITLE", array()) && $this->getAttribute($context["postrow"], "RANK_IMG", array()))) {
  590. echo "<br />";
  591. }
  592. echo $this->getAttribute($context["postrow"], "RANK_IMG", array());
  593. echo "</dd>";
  594. }
  595. // line 157
  596. echo "\t\t\t";
  597. // line 158
  598. echo "
  599. \t\t";
  600. // line 159
  601. if (($this->getAttribute($context["postrow"], "POSTER_POSTS", array()) != "")) {
  602. echo "<dd class=\"profile-posts\"><strong>";
  603. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POSTS");
  604. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  605. echo "</strong> ";
  606. if (($this->getAttribute($context["postrow"], "U_SEARCH", array()) !== "")) {
  607. echo "<a href=\"";
  608. echo $this->getAttribute($context["postrow"], "U_SEARCH", array());
  609. echo "\">";
  610. }
  611. echo $this->getAttribute($context["postrow"], "POSTER_POSTS", array());
  612. if (($this->getAttribute($context["postrow"], "U_SEARCH", array()) !== "")) {
  613. echo "</a>";
  614. }
  615. echo "</dd>";
  616. }
  617. // line 160
  618. echo "\t\t";
  619. if ($this->getAttribute($context["postrow"], "POSTER_JOINED", array())) {
  620. echo "<dd class=\"profile-joined\"><strong>";
  621. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("JOINED");
  622. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  623. echo "</strong> ";
  624. echo $this->getAttribute($context["postrow"], "POSTER_JOINED", array());
  625. echo "</dd>";
  626. }
  627. // line 161
  628. echo "\t\t";
  629. if ($this->getAttribute($context["postrow"], "POSTER_WARNINGS", array())) {
  630. echo "<dd class=\"profile-warnings\"><strong>";
  631. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("WARNINGS");
  632. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  633. echo "</strong> ";
  634. echo $this->getAttribute($context["postrow"], "POSTER_WARNINGS", array());
  635. echo "</dd>";
  636. }
  637. // line 162
  638. echo "
  639. \t\t";
  640. // line 163
  641. if ($this->getAttribute($context["postrow"], "S_PROFILE_FIELD1", array())) {
  642. // line 164
  643. echo "\t\t\t<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
  644. \t\t\t<dd><strong>";
  645. // line 165
  646. echo $this->getAttribute($context["postrow"], "PROFILE_FIELD1_NAME", array());
  647. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  648. echo "</strong> ";
  649. echo $this->getAttribute($context["postrow"], "PROFILE_FIELD1_VALUE", array());
  650. echo "</dd>
  651. \t\t";
  652. }
  653. // line 167
  654. echo "
  655. \t\t";
  656. // line 168
  657. // line 169
  658. echo "\t\t";
  659. $context['_parent'] = $context;
  660. $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["postrow"], "custom_fields", array()));
  661. foreach ($context['_seq'] as $context["_key"] => $context["custom_fields"]) {
  662. // line 170
  663. echo "\t\t\t";
  664. if ( !$this->getAttribute($context["custom_fields"], "S_PROFILE_CONTACT", array())) {
  665. // line 171
  666. echo "\t\t\t\t<dd class=\"profile-custom-field profile-";
  667. echo $this->getAttribute($context["custom_fields"], "PROFILE_FIELD_IDENT", array());
  668. echo "\"><strong>";
  669. echo $this->getAttribute($context["custom_fields"], "PROFILE_FIELD_NAME", array());
  670. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  671. echo "</strong> ";
  672. echo $this->getAttribute($context["custom_fields"], "PROFILE_FIELD_VALUE", array());
  673. echo "</dd>
  674. \t\t\t";
  675. }
  676. // line 173
  677. echo "\t\t";
  678. }
  679. $_parent = $context['_parent'];
  680. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['custom_fields'], $context['_parent'], $context['loop']);
  681. $context = array_intersect_key($context, $_parent) + $_parent;
  682. // line 174
  683. echo "\t\t";
  684. // line 175
  685. echo "
  686. \t\t";
  687. // line 176
  688. // line 177
  689. echo "\t\t";
  690. if (( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null) && twig_length_filter($this->env, $this->getAttribute($context["postrow"], "contact", array())))) {
  691. // line 178
  692. echo "\t\t\t<dd class=\"profile-contact\">
  693. \t\t\t\t<strong>";
  694. // line 179
  695. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("CONTACT");
  696. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
  697. echo "</strong>
  698. \t\t\t\t<div class=\"dropdown-container dropdown-left\">
  699. \t\t\t\t\t<a href=\"#\" class=\"dropdown-trigger\" title=\"";
  700. // line 181
  701. echo $this->getAttribute($context["postrow"], "CONTACT_USER", array());
  702. echo "\">
  703. \t\t\t\t\t\t<i class=\"icon fa-commenting-o fa-fw icon-lg\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  704. // line 182
  705. echo $this->getAttribute($context["postrow"], "CONTACT_USER", array());
  706. echo "</span>
  707. \t\t\t\t\t</a>
  708. \t\t\t\t\t<div class=\"dropdown\">
  709. \t\t\t\t\t\t<div class=\"pointer\"><div class=\"pointer-inner\"></div></div>
  710. \t\t\t\t\t\t<div class=\"dropdown-contents contact-icons\">
  711. \t\t\t\t\t\t\t";
  712. // line 187
  713. $context['_parent'] = $context;
  714. $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["postrow"], "contact", array()));
  715. foreach ($context['_seq'] as $context["_key"] => $context["contact"]) {
  716. // line 188
  717. echo "\t\t\t\t\t\t\t\t";
  718. $context["REMAINDER"] = ($this->getAttribute($context["contact"], "S_ROW_COUNT", array()) % 4);
  719. // line 189
  720. echo "\t\t\t\t\t\t\t\t";
  721. $value = (((isset($context["REMAINDER"]) ? $context["REMAINDER"] : null) == 3) || ($this->getAttribute($context["contact"], "S_LAST_ROW", array()) && ($this->getAttribute($context["contact"], "S_NUM_ROWS", array()) < 4)));
  722. $context['definition']->set('S_LAST_CELL', $value);
  723. // line 190
  724. echo "\t\t\t\t\t\t\t\t";
  725. if (((isset($context["REMAINDER"]) ? $context["REMAINDER"] : null) == 0)) {
  726. // line 191
  727. echo "\t\t\t\t\t\t\t\t\t<div>
  728. \t\t\t\t\t\t\t\t";
  729. }
  730. // line 193
  731. echo "\t\t\t\t\t\t\t\t\t<a href=\"";
  732. if ($this->getAttribute($context["contact"], "U_CONTACT", array())) {
  733. echo $this->getAttribute($context["contact"], "U_CONTACT", array());
  734. } else {
  735. echo $this->getAttribute($context["postrow"], "U_POST_AUTHOR", array());
  736. }
  737. echo "\" title=\"";
  738. echo $this->getAttribute($context["contact"], "NAME", array());
  739. echo "\"";
  740. if ($this->getAttribute((isset($context["definition"]) ? $context["definition"] : null), "S_LAST_CELL", array())) {
  741. echo " class=\"last-cell\"";
  742. }
  743. if (($this->getAttribute($context["contact"], "ID", array()) == "jabber")) {
  744. echo " onclick=\"popup(this.href, 750, 320); return false;\"";
  745. }
  746. echo ">
  747. \t\t\t\t\t\t\t\t\t\t<span class=\"contact-icon ";
  748. // line 194
  749. echo $this->getAttribute($context["contact"], "ID", array());
  750. echo "-icon\">";
  751. echo $this->getAttribute($context["contact"], "NAME", array());
  752. echo "</span>
  753. \t\t\t\t\t\t\t\t\t</a>
  754. \t\t\t\t\t\t\t\t";
  755. // line 196
  756. if ((((isset($context["REMAINDER"]) ? $context["REMAINDER"] : null) == 3) || $this->getAttribute($context["contact"], "S_LAST_ROW", array()))) {
  757. // line 197
  758. echo "\t\t\t\t\t\t\t\t\t</div>
  759. \t\t\t\t\t\t\t\t";
  760. }
  761. // line 199
  762. echo "\t\t\t\t\t\t\t";
  763. }
  764. $_parent = $context['_parent'];
  765. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['contact'], $context['_parent'], $context['loop']);
  766. $context = array_intersect_key($context, $_parent) + $_parent;
  767. // line 200
  768. echo "\t\t\t\t\t\t</div>
  769. \t\t\t\t\t</div>
  770. \t\t\t\t</div>
  771. \t\t\t</dd>
  772. \t\t";
  773. }
  774. // line 205
  775. echo "\t\t";
  776. // line 206
  777. echo "
  778. \t\t</dl>
  779. \t\t<div class=\"postbody\">
  780. \t\t\t";
  781. // line 210
  782. if ($this->getAttribute($context["postrow"], "S_POST_HIDDEN", array())) {
  783. // line 211
  784. echo "\t\t\t\t";
  785. if ($this->getAttribute($context["postrow"], "S_POST_DELETED", array())) {
  786. // line 212
  787. echo "\t\t\t\t\t<div class=\"ignore\" id=\"post_hidden";
  788. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  789. echo "\">
  790. \t\t\t\t\t\t";
  791. // line 213
  792. echo $this->getAttribute($context["postrow"], "L_POST_DELETED_MESSAGE", array());
  793. echo "<br />
  794. \t\t\t\t\t\t";
  795. // line 214
  796. echo $this->getAttribute($context["postrow"], "L_POST_DISPLAY", array());
  797. echo "
  798. \t\t\t\t\t</div>
  799. \t\t\t\t";
  800. } elseif ($this->getAttribute( // line 216
  801. $context["postrow"], "S_IGNORE_POST", array())) {
  802. // line 217
  803. echo "\t\t\t\t\t<div class=\"ignore\" id=\"post_hidden";
  804. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  805. echo "\">
  806. \t\t\t\t\t\t";
  807. // line 218
  808. echo $this->getAttribute($context["postrow"], "L_IGNORE_POST", array());
  809. echo "<br />
  810. \t\t\t\t\t\t";
  811. // line 219
  812. echo $this->getAttribute($context["postrow"], "L_POST_DISPLAY", array());
  813. echo "
  814. \t\t\t\t\t</div>
  815. \t\t\t\t";
  816. }
  817. // line 222
  818. echo "\t\t\t";
  819. }
  820. // line 223
  821. echo "\t\t\t<div id=\"post_content";
  822. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  823. echo "\"";
  824. if ($this->getAttribute($context["postrow"], "S_POST_HIDDEN", array())) {
  825. echo " style=\"display: none;\"";
  826. }
  827. echo ">
  828. \t\t\t";
  829. // line 225
  830. // line 226
  831. echo "\t\t\t<h5 ";
  832. if ($this->getAttribute($context["postrow"], "S_FIRST_ROW", array())) {
  833. echo "class=\"first\"";
  834. }
  835. echo ">";
  836. if ($this->getAttribute($context["postrow"], "POST_ICON_IMG", array())) {
  837. echo "<img src=\"";
  838. echo (isset($context["T_ICONS_PATH"]) ? $context["T_ICONS_PATH"] : null);
  839. echo $this->getAttribute($context["postrow"], "POST_ICON_IMG", array());
  840. echo "\" width=\"";
  841. echo $this->getAttribute($context["postrow"], "POST_ICON_IMG_WIDTH", array());
  842. echo "\" height=\"";
  843. echo $this->getAttribute($context["postrow"], "POST_ICON_IMG_HEIGHT", array());
  844. echo "\" alt=\"";
  845. echo $this->getAttribute($context["postrow"], "POST_ICON_IMG_ALT", array());
  846. echo "\" title=\"";
  847. echo $this->getAttribute($context["postrow"], "POST_ICON_IMG_ALT", array());
  848. echo "\" /> ";
  849. }
  850. echo "<a href=\"#p";
  851. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  852. echo "\">";
  853. echo $this->getAttribute($context["postrow"], "POST_SUBJECT", array());
  854. echo "</a></h5>
  855. \t\t";
  856. // line 228
  857. $value = ((((($this->getAttribute($context["postrow"], "U_EDIT", array()) || $this->getAttribute($context["postrow"], "U_DELETE", array())) || $this->getAttribute($context["postrow"], "U_REPORT", array())) || $this->getAttribute($context["postrow"], "U_WARN", array())) || $this->getAttribute($context["postrow"], "U_INFO", array())) || $this->getAttribute($context["postrow"], "U_QUOTE", array()));
  858. $context['definition']->set('SHOW_POST_BUTTONS', $value);
  859. // line 229
  860. echo "\t\t";
  861. // line 230
  862. echo "\t\t";
  863. if ( !(isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null)) {
  864. // line 231
  865. echo "\t\t\t";
  866. if ($this->getAttribute((isset($context["definition"]) ? $context["definition"] : null), "SHOW_POST_BUTTONS", array())) {
  867. // line 232
  868. echo "\t\t\t\t<ul class=\"post-buttons\">
  869. \t\t\t\t\t";
  870. // line 233
  871. // line 234
  872. echo "\t\t\t\t\t";
  873. if ($this->getAttribute($context["postrow"], "U_EDIT", array())) {
  874. // line 235
  875. echo "\t\t\t\t\t\t<li>
  876. \t\t\t\t\t\t\t<a href=\"";
  877. // line 236
  878. echo $this->getAttribute($context["postrow"], "U_EDIT", array());
  879. echo "\" title=\"";
  880. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("EDIT_POST");
  881. echo "\" class=\"button button-icon-only\">
  882. \t\t\t\t\t\t\t\t<i class=\"icon fa-pencil fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  883. // line 237
  884. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("BUTTON_EDIT");
  885. echo "</span>
  886. \t\t\t\t\t\t\t</a>
  887. \t\t\t\t\t\t</li>
  888. \t\t\t\t\t";
  889. }
  890. // line 241
  891. echo "\t\t\t\t\t";
  892. if ($this->getAttribute($context["postrow"], "U_DELETE", array())) {
  893. // line 242
  894. echo "\t\t\t\t\t\t<li>
  895. \t\t\t\t\t\t\t<a href=\"";
  896. // line 243
  897. echo $this->getAttribute($context["postrow"], "U_DELETE", array());
  898. echo "\" title=\"";
  899. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("DELETE_POST");
  900. echo "\" class=\"button button-icon-only\">
  901. \t\t\t\t\t\t\t\t<i class=\"icon fa-times fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  902. // line 244
  903. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("DELETE_POST");
  904. echo "</span>
  905. \t\t\t\t\t\t\t</a>
  906. \t\t\t\t\t\t</li>
  907. \t\t\t\t\t";
  908. }
  909. // line 248
  910. echo "\t\t\t\t\t";
  911. if ($this->getAttribute($context["postrow"], "U_REPORT", array())) {
  912. // line 249
  913. echo "\t\t\t\t\t\t<li>
  914. \t\t\t\t\t\t\t<a href=\"";
  915. // line 250
  916. echo $this->getAttribute($context["postrow"], "U_REPORT", array());
  917. echo "\" title=\"";
  918. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPORT_POST");
  919. echo "\" class=\"button button-icon-only\">
  920. \t\t\t\t\t\t\t\t<i class=\"icon fa-exclamation fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  921. // line 251
  922. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPORT_POST");
  923. echo "</span>
  924. \t\t\t\t\t\t\t</a>
  925. \t\t\t\t\t\t</li>
  926. \t\t\t\t\t";
  927. }
  928. // line 255
  929. echo "\t\t\t\t\t";
  930. if ($this->getAttribute($context["postrow"], "U_WARN", array())) {
  931. // line 256
  932. echo "\t\t\t\t\t\t<li>
  933. \t\t\t\t\t\t\t<a href=\"";
  934. // line 257
  935. echo $this->getAttribute($context["postrow"], "U_WARN", array());
  936. echo "\" title=\"";
  937. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("WARN_USER");
  938. echo "\" class=\"button button-icon-only\">
  939. \t\t\t\t\t\t\t\t<i class=\"icon fa-exclamation-triangle fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  940. // line 258
  941. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("WARN_USER");
  942. echo "</span>
  943. \t\t\t\t\t\t\t</a>
  944. \t\t\t\t\t\t</li>
  945. \t\t\t\t\t";
  946. }
  947. // line 262
  948. echo "\t\t\t\t\t";
  949. if ($this->getAttribute($context["postrow"], "U_INFO", array())) {
  950. // line 263
  951. echo "\t\t\t\t\t\t<li>
  952. \t\t\t\t\t\t\t<a href=\"";
  953. // line 264
  954. echo $this->getAttribute($context["postrow"], "U_INFO", array());
  955. echo "\" title=\"";
  956. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("INFORMATION");
  957. echo "\" class=\"button button-icon-only\">
  958. \t\t\t\t\t\t\t\t<i class=\"icon fa-info fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  959. // line 265
  960. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("INFORMATION");
  961. echo "</span>
  962. \t\t\t\t\t\t\t</a>
  963. \t\t\t\t\t\t</li>
  964. \t\t\t\t\t";
  965. }
  966. // line 269
  967. echo "\t\t\t\t\t";
  968. if ($this->getAttribute($context["postrow"], "U_QUOTE", array())) {
  969. // line 270
  970. echo "\t\t\t\t\t\t<li>
  971. \t\t\t\t\t\t\t<a href=\"";
  972. // line 271
  973. echo $this->getAttribute($context["postrow"], "U_QUOTE", array());
  974. echo "\" title=\"";
  975. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("REPLY_WITH_QUOTE");
  976. echo "\" class=\"button button-icon-only\">
  977. \t\t\t\t\t\t\t\t<i class=\"icon fa-quote-left fa-fw\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  978. // line 272
  979. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("QUOTE");
  980. echo "</span>
  981. \t\t\t\t\t\t\t</a>
  982. \t\t\t\t\t\t</li>
  983. \t\t\t\t\t";
  984. }
  985. // line 276
  986. echo "\t\t\t\t\t";
  987. // line 277
  988. echo "\t\t\t\t</ul>
  989. \t\t\t";
  990. }
  991. // line 279
  992. echo "\t\t";
  993. }
  994. // line 280
  995. echo "\t\t";
  996. // line 281
  997. echo "
  998. \t\t\t";
  999. // line 282
  1000. // line 283
  1001. echo "\t\t\t<p class=\"author\">
  1002. \t\t\t\t";
  1003. // line 284
  1004. if ((isset($context["S_IS_BOT"]) ? $context["S_IS_BOT"] : null)) {
  1005. // line 285
  1006. echo "\t\t\t\t\t<span><i class=\"icon fa-file fa-fw ";
  1007. if ($this->getAttribute($context["postrow"], "S_UNREAD_POST", array())) {
  1008. echo "icon-red";
  1009. } else {
  1010. echo "icon-lightgray";
  1011. }
  1012. echo " icon-md\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  1013. echo $this->getAttribute($context["postrow"], "MINI_POST", array());
  1014. echo "</span></span>
  1015. \t\t\t\t";
  1016. } else {
  1017. // line 287
  1018. echo "\t\t\t\t\t<a class=\"unread\" href=\"";
  1019. echo $this->getAttribute($context["postrow"], "U_MINI_POST", array());
  1020. echo "\" title=\"";
  1021. echo $this->getAttribute($context["postrow"], "MINI_POST", array());
  1022. echo "\">
  1023. \t\t\t\t\t\t<i class=\"icon fa-file fa-fw ";
  1024. // line 288
  1025. if ($this->getAttribute($context["postrow"], "S_UNREAD_POST", array())) {
  1026. echo "icon-red";
  1027. } else {
  1028. echo "icon-lightgray";
  1029. }
  1030. echo " icon-md\" aria-hidden=\"true\"></i><span class=\"sr-only\">";
  1031. echo $this->getAttribute($context["postrow"], "MINI_POST", array());
  1032. echo "</span>
  1033. \t\t\t\t\t</a>
  1034. \t\t\t\t";
  1035. }
  1036. // line 291
  1037. echo "\t\t\t\t<span class=\"responsive-hide\">";
  1038. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_BY_AUTHOR");
  1039. echo " <strong>";
  1040. echo $this->getAttribute($context["postrow"], "POST_AUTHOR_FULL", array());
  1041. echo "</strong> &raquo; </span>";
  1042. echo $this->getAttribute($context["postrow"], "POST_DATE", array());
  1043. echo "
  1044. \t\t\t</p>
  1045. \t\t\t";
  1046. // line 293
  1047. // line 294
  1048. echo "
  1049. \t\t\t";
  1050. // line 295
  1051. if ($this->getAttribute($context["postrow"], "S_POST_UNAPPROVED", array())) {
  1052. // line 296
  1053. echo "\t\t\t<form method=\"post\" class=\"mcp_approve\" action=\"";
  1054. echo $this->getAttribute($context["postrow"], "U_APPROVE_ACTION", array());
  1055. echo "\">
  1056. \t\t\t\t<p class=\"post-notice unapproved\">
  1057. \t\t\t\t\t<span><i class=\"icon fa-question icon-red fa-fw\" aria-hidden=\"true\"></i></span>
  1058. \t\t\t\t\t<strong>";
  1059. // line 299
  1060. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_UNAPPROVED_ACTION");
  1061. echo "</strong>
  1062. \t\t\t\t\t<input class=\"button2\" type=\"submit\" value=\"";
  1063. // line 300
  1064. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("DISAPPROVE");
  1065. echo "\" name=\"action[disapprove]\" />
  1066. \t\t\t\t\t<input class=\"button1\" type=\"submit\" value=\"";
  1067. // line 301
  1068. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("APPROVE");
  1069. echo "\" name=\"action[approve]\" />
  1070. \t\t\t\t\t<input type=\"hidden\" name=\"post_id_list[]\" value=\"";
  1071. // line 302
  1072. echo $this->getAttribute($context["postrow"], "POST_ID", array());
  1073. echo "\" />
  1074. \t\t\t\t\t";
  1075. // line 303
  1076. echo (isset($context["S_FORM_TOKEN"]) ? $context["S_FORM_TOKEN"] : null);
  1077. echo "
  1078. \t\t\t\t</p>
  1079. \t\t\t</form>
  1080. \t\t\t";
  1081. } elseif ($this->getAttribute( // line 306
  1082. $context["postrow"], "S_POST_DELETED", array())) {
  1083. // line 307
  1084. echo "\t\t\t<form method=\"post\" class=\"mcp_approve\" action=\"";
  1085. echo $this->getAttribute($context["postrow"], "U_APPROVE_ACTION", array());
  1086. echo "\">
  1087. \t\t\t\t<p class=\"post-notice deleted\">
  1088. \t\t\t\t\t<strong>";
  1089. // line 309
  1090. echo $this->env->getExtension('phpbb\template\twig\extension')->lang("POST_DELETED_ACTION");
  1091. echo

Large files files are truncated, but you can click here to view the full file