Файл: forsoc.ru/cache/twig/db/db59717e48bad75e7203180a0acce209f3bf16a647ce76a38858d0a74bdbf74e.php
Строк: 57
<?php
/* @paybas_recenttopics/event/overall_header_head_append.html */
class __TwigTemplate_b761a8d5e438c6465aedda98ca8e439ba5485a5aa7bb5d2e1569097069262ef5 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
if ((isset($context["RECENT_TOPICS_DISPLAY"]) ? $context["RECENT_TOPICS_DISPLAY"] : null)) {
// line 2
echo "t";
$asset_file = "@paybas_recenttopics/recenttopics.js";
$asset = new phpbbtemplateasset($asset_file, $this->getEnvironment()->get_path_helper());
if (substr($asset_file, 0, 2) !== './' && $asset->is_relative()) {
$asset_path = $asset->get_path(); $local_file = $this->getEnvironment()->get_phpbb_root_path() . $asset_path;
if (!file_exists($local_file)) {
$local_file = $this->getEnvironment()->findTemplate($asset_path);
$asset->set_path($local_file, true);
$asset->add_assets_version('159');
$asset_file = $asset->get_url();
}
}
$context['definition']->append('SCRIPTS', '<script type="text/javascript" src="' . $asset_file. '"></script>
');
}
}
public function getTemplateName()
{
return "@paybas_recenttopics/event/overall_header_head_append.html";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 21 => 2, 19 => 1,);
}
}
/* <!-- IF RECENT_TOPICS_DISPLAY -->*/
/* <!-- INCLUDEJS @paybas_recenttopics/recenttopics.js -->*/
/* <!-- ENDIF -->*/
/* */