File: D:/web/matomo.vdk/tmp/templates_c/e7/e721ce18e7cdb97eeb06fbdd5e75c0d6.php
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @Marketplace/_updateCommunicationEmail.twig */
class __TwigTemplate_1885c90106fbefc027b0fa2983466857 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<p>";
yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("ScheduledReports_EmailHello"), "html", null, true);
yield "</p>
<p>";
// line 2
yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("CoreUpdater_ThereIsNewPluginVersionAvailableForUpdate"), "html", null, true);
yield "</p>
<ul>
";
// line 5
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["pluginsToBeNotified"]) || array_key_exists("pluginsToBeNotified", $context) ? $context["pluginsToBeNotified"] : (function () { throw new RuntimeError('Variable "pluginsToBeNotified" does not exist.', 5, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["plugin"]) {
// line 6
yield "<li>";
yield \Piwik\piwik_escape_filter($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["plugin"], "name", [], "any", false, false, false, 6), "html", null, true);
yield " ";
yield \Piwik\piwik_escape_filter($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["plugin"], "latestVersion", [], "any", false, false, false, 6), "html", null, true);
yield "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['plugin'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 8
yield "</ul>
";
// line 10
if ((isset($context["hasThemeUpdate"]) || array_key_exists("hasThemeUpdate", $context) ? $context["hasThemeUpdate"] : (function () { throw new RuntimeError('Variable "hasThemeUpdate" does not exist.', 10, $this->source); })())) {
// line 11
yield "<p>
";
// line 12
yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("CoreUpdater_NotificationClickToUpdateThemes"), "html", null, true);
yield "<br/>
<a href=\"";
// line 13
yield \Piwik\piwik_escape_filter($this->env, (isset($context["host"]) || array_key_exists("host", $context) ? $context["host"] : (function () { throw new RuntimeError('Variable "host" does not exist.', 13, $this->source); })()), "html_attr");
yield "index.php?module=CorePluginsAdmin&action=themes\">";
yield \Piwik\piwik_escape_filter($this->env, (isset($context["host"]) || array_key_exists("host", $context) ? $context["host"] : (function () { throw new RuntimeError('Variable "host" does not exist.', 13, $this->source); })()), "html", null, true);
yield "index.php?module=CorePluginsAdmin&action=themes</a>
</p>
";
}
// line 16
yield "
";
// line 17
if ((isset($context["hasPluginUpdate"]) || array_key_exists("hasPluginUpdate", $context) ? $context["hasPluginUpdate"] : (function () { throw new RuntimeError('Variable "hasPluginUpdate" does not exist.', 17, $this->source); })())) {
// line 18
yield "<p>
";
// line 19
yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("CoreUpdater_NotificationClickToUpdatePlugins"), "html", null, true);
yield "<br/>
<a href=\"";
// line 20
yield \Piwik\piwik_escape_filter($this->env, (isset($context["host"]) || array_key_exists("host", $context) ? $context["host"] : (function () { throw new RuntimeError('Variable "host" does not exist.', 20, $this->source); })()), "html_attr");
yield "index.php?module=CorePluginsAdmin&action=plugins\">";
yield \Piwik\piwik_escape_filter($this->env, (isset($context["host"]) || array_key_exists("host", $context) ? $context["host"] : (function () { throw new RuntimeError('Variable "host" does not exist.', 20, $this->source); })()), "html", null, true);
yield "index.php?module=CorePluginsAdmin&action=plugins</a>
</p>
";
}
// line 23
yield "
<p>
";
// line 25
yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("Installation_HappyAnalysing"), "html", null, true);
yield "
</p>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@Marketplace/_updateCommunicationEmail.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 109 => 25, 105 => 23, 97 => 20, 93 => 19, 90 => 18, 88 => 17, 85 => 16, 77 => 13, 73 => 12, 70 => 11, 68 => 10, 64 => 8, 53 => 6, 49 => 5, 43 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("<p>{{ 'ScheduledReports_EmailHello'|translate }}</p>
<p>{{ 'CoreUpdater_ThereIsNewPluginVersionAvailableForUpdate'|translate }}</p>
<ul>
{% for plugin in pluginsToBeNotified %}
<li>{{ plugin.name }} {{ plugin.latestVersion }}</li>
{% endfor %}
</ul>
{% if hasThemeUpdate %}
<p>
{{ 'CoreUpdater_NotificationClickToUpdateThemes'|translate }}<br/>
<a href=\"{{ host|e('html_attr') }}index.php?module=CorePluginsAdmin&action=themes\">{{ host }}index.php?module=CorePluginsAdmin&action=themes</a>
</p>
{% endif %}
{% if hasPluginUpdate %}
<p>
{{ 'CoreUpdater_NotificationClickToUpdatePlugins'|translate }}<br/>
<a href=\"{{ host|e('html_attr') }}index.php?module=CorePluginsAdmin&action=plugins\">{{ host }}index.php?module=CorePluginsAdmin&action=plugins</a>
</p>
{% endif %}
<p>
{{ 'Installation_HappyAnalysing'|translate }}
</p>
", "@Marketplace/_updateCommunicationEmail.twig", "D:\\web\\matomo.vdk\\plugins\\Marketplace\\templates\\_updateCommunicationEmail.twig");
}
}