85 lines
5.7 KiB
PHP
85 lines
5.7 KiB
PHP
<?php
|
||
|
||
if (!defined('ABSPATH')) exit;
|
||
|
||
|
||
use MailPoetVendor\Twig\Environment;
|
||
use MailPoetVendor\Twig\Error\LoaderError;
|
||
use MailPoetVendor\Twig\Error\RuntimeError;
|
||
use MailPoetVendor\Twig\Extension\CoreExtension;
|
||
use MailPoetVendor\Twig\Extension\SandboxExtension;
|
||
use MailPoetVendor\Twig\Markup;
|
||
use MailPoetVendor\Twig\Sandbox\SecurityError;
|
||
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
|
||
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
|
||
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||
use MailPoetVendor\Twig\Source;
|
||
use MailPoetVendor\Twig\Template;
|
||
|
||
/* newsletters/campaign_stats.html */
|
||
class __TwigTemplate_b77976aef2feca8ceab2df60e7196a3e56f2ff35d586f4231e42fab83c264bef 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 "<script type=\"text/javascript\">
|
||
var mailpoet_shortcode_links = ";
|
||
// line 2
|
||
yield json_encode(($context["shortcode_links"] ?? null));
|
||
yield ";
|
||
</script>
|
||
|
||
";
|
||
// line 5
|
||
yield $this->extensions['MailPoet\Twig\I18n']->localize(["revenueStatsTooltip" => $this->extensions['MailPoet\Twig\I18n']->translate("Revenues generated by customers who made a purchase within two weeks after they clicked on this email. This is the sum of the order totals including shipping and taxes."), "revenuesStats" => $this->extensions['MailPoet\Twig\I18n']->translateWithContext("%1s from %2s orders", "For example: \"£451 from 3 orders\""), "productsSold" => $this->extensions['MailPoet\Twig\I18n']->translate("Products Sold"), "noProducts1" => $this->extensions['MailPoet\Twig\I18n']->translate("Unfortunately, no products were sold as a result of this email!"), "noProducts2" => $this->extensions['MailPoet\Twig\I18n']->translate("For best practice tips, check out our [link]guide to WooCommerce follow up emails[/link]."), "noProducts3" => $this->extensions['MailPoet\Twig\I18n']->translate("Or, if you haven’t tried out the products widget yet, [link]here’s how to get started[/link]."), "nProductsSold" => $this->extensions['MailPoet\Twig\I18n']->translateWithContext("%1s products sold", "For example: \"5 products sold\""), "totalNetRevenue" => $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Total net revenue %1s", "For example: \"Total net revenue £25.32\""), "noClickedLinksFound" => $this->extensions['MailPoet\Twig\I18n']->translate("No clicked links found"), "linkColumn" => $this->extensions['MailPoet\Twig\I18n']->translate("Link"), "uniqueClicksColumn" => $this->extensions['MailPoet\Twig\I18n']->translate("Unique clicks"), "loadingEngagementItems" => $this->extensions['MailPoet\Twig\I18n']->translate("Loading data..."), "noEngagementItemsFound" => $this->extensions['MailPoet\Twig\I18n']->translate("No engagement data found"), "noBouncesItemsFound" => $this->extensions['MailPoet\Twig\I18n']->translateWithContext("No bounces found", "A notice, when no bounces (w.wiki/45Qc) exist for an email."), "subscriberColumn" => $this->extensions['MailPoet\Twig\I18n']->translate("Subscriber"), "statusColumn" => $this->extensions['MailPoet\Twig\I18n']->translate("Status"), "dateAndTimeColumn" => $this->extensions['MailPoet\Twig\I18n']->translate("Date and time"), "opened" => $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Opened", "Subscriber engagement status - subscriber opened a newsletter"), "machine-opened" => $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Machine-opened", "Subscriber engagement status - machine opened a newsletter"), "clicked" => $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Clicked", "Subscriber engagement status - subscriber clicked a newsletter link"), "unsubscribed" => $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Unsubscribed", "Subscriber engagement status - subscriber unsubscribed from a newsletter"), "bounced" => $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Bounced", "Subscriber status - subscriber bounced (w.wiki/45Qc) from a newsletter"), "unopened" => $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Unopened", "Subscriber engagement status - subscriber did not open a newsletter"), "createSegment" => $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Create Segment", "Button label on Subscriber engagement page"), "savingSegment" => $this->extensions['MailPoet\Twig\I18n']->translate("Saving..."), "successMessage" => $this->extensions['MailPoet\Twig\I18n']->translate("Segment \"%s\" created. [link]Create and send an email to it.[/link]"), "segmentExists" => $this->extensions['MailPoet\Twig\I18n']->translate("Segment already exists."), "deletedSubscriber" => $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Deleted subscriber", "A fallback for an email of a deleted subscriber")]);
|
||
// line 34
|
||
yield "
|
||
";
|
||
return; yield '';
|
||
}
|
||
|
||
/**
|
||
* @codeCoverageIgnore
|
||
*/
|
||
public function getTemplateName()
|
||
{
|
||
return "newsletters/campaign_stats.html";
|
||
}
|
||
|
||
/**
|
||
* @codeCoverageIgnore
|
||
*/
|
||
public function isTraitable()
|
||
{
|
||
return false;
|
||
}
|
||
|
||
/**
|
||
* @codeCoverageIgnore
|
||
*/
|
||
public function getDebugInfo()
|
||
{
|
||
return array ( 49 => 34, 47 => 5, 41 => 2, 38 => 1,);
|
||
}
|
||
|
||
public function getSourceContext()
|
||
{
|
||
return new Source("", "newsletters/campaign_stats.html", "/home/circleci/mailpoet/mailpoet-premium/views/newsletters/campaign_stats.html");
|
||
}
|
||
}
|