Version 4.7.13

This commit is contained in:
Neo committed 2025-12-19 16:14:56 -08:00
1 parent fd22d99e69
commit 7124a02564
954 files changed
+29277 -59308

No files matched your search

+5 -156
View File
@@ -471,43 +471,7 @@
{$email->language->get("email_expiring_soon")}:
{{foreach $summary['items'] as $k => $item}}{$item->quantity} x {$item->name} ({{if $item->tax AND \IPS\Settings::i()->nexus_show_tax}}{$item->grossLinePrice()->toString( $email->language)} {{if $email->language->checkKeyExists('nexus_tax_explain_val')}}{$email->language->get('nexus_tax_explain_val')}{{endif}}{{else}}{$item->linePrice()->toString( $email->language )}{{endif}}) - {$email->language->addToStack('ps_expire', FALSE)}: {expression="\IPS\nexus\Purchase::load( $item->id )->expire->localeDate( $invoice->member )" raw="true"}
{{endforeach}}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>monitoring_reset</template_name><template_content_html><![CDATA[
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'sprintf' => \IPS\Settings::i()->board_name ) )"}
<br />
<br />
<table width='100%' cellpadding='15' cellspacing='0' border='0' style='color: #556b45;'>
<tr>
<td dir='{dir}'>
<strong>{expression="$email->language->addToStack( 'monitor_email_reset_done', FALSE, array( 'sprintf' => array( $server->hostname, $by ) ) )"}</strong>
</td>
</tr>
</table>
<br /><br />
<em style='color: #8c8c8c'>&mdash; {setting="board_name"}</em>]]></template_content_html><template_data>$server, $encoded, $by, $email</template_data><template_content_plaintext><![CDATA[
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'htmlsprintf' => \IPS\Settings::i()->board_name ) )" raw="true"}
{expression="$email->language->addToStack( 'monitor_email_reset_done', FALSE, array( 'htmlsprintf' => array( $server->hostname, $by ) ) )" raw="true"}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>monitoring_eom</template_name><template_content_html><![CDATA[
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'sprintf' => \IPS\Settings::i()->board_name ) )"}
<br />
<br />
<table width='100%' cellpadding='15' cellspacing='0' border='0' style='color: #b52b38;'>
<tr>
<td dir='{dir}'>
<strong>{expression="$email->language->addToStack( 'monitor_email_eom', FALSE, array( 'sprintf' => array( $rule->url ) ) )"}</strong>
</td>
</tr>
</table>
<br />
<br /><br />
<em style='color: #8c8c8c'>&mdash; {setting="board_name"}</em>]]></template_content_html><template_data>$rule, $email</template_data><template_content_plaintext><![CDATA[
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'htmlsprintf' => \IPS\Settings::i()->board_name ) )" raw="true"}
{expression="$email->language->addToStack( 'monitor_email_eom', FALSE, array( 'htmlsprintf' => array( $rule->url ) ) )" raw="true"}
]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>invoiceMarkedPaid</template_name><template_content_html><![CDATA[
{{endforeach}}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>invoiceMarkedPaid</template_name><template_content_html><![CDATA[
{$email->language->get('email_invoice_paid')} {{if $invoice->hasPhysicalItems()}}{$email->language->get('email_invoice_shipping')}{{endif}}
<br /><br />
@@ -1721,32 +1685,7 @@
{{endif}}
-- {setting="board_name"}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>monitoring_panic</template_name><template_content_html><![CDATA[
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'sprintf' => \IPS\Settings::i()->board_name ) )"}
<br />
<br />
<table width='100%' cellpadding='15' cellspacing='0' border='0' style='color: #b52b38;'>
<tr>
<td dir='{dir}'>
<strong>{expression="$email->language->addToStack( 'monitor_email_offline_panic', FALSE, array( 'sprintf' => $server->hostname ) )"}</strong>
</td>
</tr>
</table>
<br />
<a href='{setting="base_url"}applications/nexus/interface/monitoring/respond.php?a=a&server={$server->id}&by={$encoded}' style="color: #ffffff; font-family: 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 12px; background: {setting="email_color"}; line-height: 32px; padding: 0 10px; display: inline-block; border-radius: 3px;">{expression="$email->language->addToStack( 'monitor_email_acknowledge', FALSE, array( 'sprintf' => \IPS\Settings::i()->board_name ) )"}</a>
<a href='{setting="base_url"}applications/nexus/interface/monitoring/respond.php?a=r&server={$server->id}&by={$encoded}' style="color: #ffffff; font-family: 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 12px; background: {setting="email_color"}; line-height: 32px; padding: 0 10px; display: inline-block; border-radius: 3px;">{expression="$email->language->addToStack( 'monitor_email_reset', FALSE, array( 'sprintf' => \IPS\Settings::i()->board_name ) )"}</a>
<br /><br />
<em style='color: #8c8c8c'>&mdash; {setting="board_name"}</em>]]></template_content_html><template_data>$server, $encoded, $email</template_data><template_content_plaintext><![CDATA[
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'htmlsprintf' => \IPS\Settings::i()->board_name ) )" raw="true"}
{expression="$email->language->addToStack( 'monitor_email_offline_panic', FALSE, array( 'htmlsprintf' => $server->hostname ) )" raw="true"}
{$email->language->addToStack('monitor_email_acknowledge', FALSE)}: {setting="base_url"}applications/nexus/interface/monitoring/respond.php?a=a&server={$server->id}&by={$encoded}
{$email->language->addToStack('monitor_email_reset', FALSE)}: {setting="base_url"}applications/nexus/interface/monitoring/respond.php?a=r&server={$server->id}&by={$encoded}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>staffNotifyReply</template_name><template_content_html><![CDATA[{{if $message->member or !$message->email}}
-- {setting="board_name"}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>staffNotifyReply</template_name><template_content_html><![CDATA[{{if $message->member or !$message->email}}
{$email->language->addToStack("staffnotify_reply_header", FALSE, array( 'sprintf' => array( $message->author()->name ) ) )}<br />
{{else}}
{$email->language->addToStack("staffnotify_reply_header", FALSE, array( 'sprintf' => array( $message->email ) ) )}<br />
@@ -2734,29 +2673,7 @@
---
{$email->language->get('total')}: {$invoiceSummary['total']->toString( $email->language )}
-- {setting="board_name"}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>monitoring_acknowledged</template_name><template_content_html><![CDATA[
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'sprintf' => \IPS\Settings::i()->board_name ) )"}
<br />
<br />
<table width='100%' cellpadding='15' cellspacing='0' border='0' style='color: #5e707d;'>
<tr>
<td dir='{dir}'>
<strong>{expression="$email->language->addToStack( 'monitor_email_acknowledged', FALSE, array( 'sprintf' => array( $server->hostname, $by ) ) )"}</strong>
</td>
</tr>
</table>
<br />
<a href='{setting="base_url"}applications/nexus/interface/monitoring/respond.php?a=r&server={$server->id}&by={$encoded}' style="color: #ffffff; font-family: 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 12px; background: {setting="email_color"}; line-height: 32px; padding: 0 10px; display: inline-block; border-radius: 3px;">{expression="$email->language->addToStack('monitor_email_reset', FALSE, array( 'sprintf' => \IPS\Settings::i()->board_name ) )"}</a>
<br /><br />
<em style='color: #8c8c8c'>&mdash; {setting="board_name"}</em>]]></template_content_html><template_data>$server, $encoded, $by, $email</template_data><template_content_plaintext><![CDATA[
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'htmlsprintf' => \IPS\Settings::i()->board_name ) )" raw="true"}
{expression="$email->language->addToStack( 'monitor_email_acknowledged', FALSE, array( 'htmlsprintf' => array( $server->hostname, $by ) ) )" raw="true"}
{$email->language->addToStack('monitor_email_reset', FALSE)}: {setting="base_url"}applications/nexus/interface/monitoring/respond.php?a=r&server={$server->id}&by={$encoded}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>staffReply</template_name><template_content_html><![CDATA[{$email->language->addToStack( $message->item()->replies == 1 ? "staffcreate_header" : "staffreply_header", FALSE, array( 'sprintf' => array( $message->author()->name ) ) )}<br />
-- {setting="board_name"}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>staffReply</template_name><template_content_html><![CDATA[{$email->language->addToStack( $message->item()->replies == 1 ? "staffcreate_header" : "staffreply_header", FALSE, array( 'sprintf' => array( $message->author()->name ) ) )}<br />
<br />
<table width='100%' cellpadding='15' cellspacing='0' border='0' style='background: #f5f5f5'>
@@ -3393,58 +3310,7 @@
{$email->language->addToStack("email_invoice_number", FALSE)}: {$invoice->id}
{$email->language->addToStack("email_purchase_date", FALSE)}: {$invoice->date->localeDate( $email->language )}
{$email->language->addToStack("email_order_total", FALSE)}: {$invoice->total->toString( $email->language )}
]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>acp_notification_HostingError</template_name><template_content_html><![CDATA[{expression="$email->language->addToStack( 'hosting_error_email_intro', FALSE )"}
<br />
<br />
<table width='100%' cellpadding='15' cellspacing='0' border='0' style='background: #b52b38; color: #fff;'>
<tr>
<td dir='{dir}'>
<strong>{$details['server']->hostname}</strong>
</td>
</tr>
<tr>
<td dir='{dir}'>
{{if $email->language->checkKeyExists( 'hosting_ex_' . $details['message'] )}}{$email->language->addToStack( 'hosting_ex_' . $details['message'], FALSE )}{{else}}{$details['message']}{{endif}}
</td>
</tr>
</table>
<br />
<a href='{url="app=nexus&module=hosting&controller=errors" base="admin"}' style="color: #ffffff; font-family: 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 12px; background: {setting="email_color"}; line-height: 32px; padding: 0 10px; display: inline-block; border-radius: 3px;">{expression="$email->language->addToStack( 'menu__nexus_hosting_errors', FALSE )"}</a>
<br /><br />
<em style='color: #8c8c8c'>&mdash; {setting="board_name"}</em>]]></template_content_html><template_data>$notification, $details, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack( 'hosting_error_email_intro', FALSE )}
{$details['server']->hostname}: {{if $email->language->checkKeyExists( 'hosting_ex_' . $details['message'] )}}{$email->language->addToStack( 'hosting_ex_' . $details['message'], FALSE )}{{else}}{$details['message']}{{endif}}
{$email->language->addToStack( 'menu__nexus_hosting_errors', FALSE )}: {url="app=nexus&module=hosting&controller=errors" base="admin" plain="true"}
-- {setting="board_name"}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>monitoring_offline</template_name><template_content_html><![CDATA[
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'sprintf' => \IPS\Settings::i()->board_name ) )"}
<br />
<br />
<table width='100%' cellpadding='15' cellspacing='0' border='0' style='color: #b52b38;'>
<tr>
<td dir='{dir}'>
<strong>{expression="$email->language->addToStack( 'monitor_email_offline', FALSE, array( 'sprintf' => $server->hostname ) )"}</strong>
</td>
</tr>
</table>
<br />
<a href='{setting="base_url"}applications/nexus/interface/monitoring/respond.php?a=a&server={$server->id}&by={$encoded}' style="color: #ffffff; font-family: 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 12px; background: {setting="email_color"}; line-height: 32px; padding: 0 10px; display: inline-block; border-radius: 3px;">{expression="$email->language->addToStack( 'monitor_email_acknowledge', FALSE, array( 'sprintf' => \IPS\Settings::i()->board_name ) )"}</a>
<a href='{setting="base_url"}applications/nexus/interface/monitoring/respond.php?a=r&server={$server->id}&by={$encoded}' style="color: #ffffff; font-family: 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 12px; background: {setting="email_color"}; line-height: 32px; padding: 0 10px; display: inline-block; border-radius: 3px;">{expression="$email->language->addToStack( 'monitor_email_reset', FALSE, array( 'sprintf' => \IPS\Settings::i()->board_name ) )"}</a>
<br /><br />
<em style='color: #8c8c8c'>&mdash; {setting="board_name"}</em>]]></template_content_html><template_data>$server, $encoded, $email</template_data><template_content_plaintext><![CDATA[
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'htmlsprintf' => \IPS\Settings::i()->board_name ) )" raw="true"}
{expression="$email->language->addToStack('monitor_email_offline', FALSE, array( 'htmlsprintf' => $server->hostname ) )" raw="true"}
{$email->language->addToStack('monitor_email_acknowledge', FALSE)}: {setting="base_url"}applications/nexus/interface/monitoring/respond.php?a=a&server={$server->id}&by={$encoded}
{$email->language->addToStack('monitor_email_reset', FALSE)}: {setting="base_url"}applications/nexus/interface/monitoring/respond.php?a=r&server={$server->id}&by={$encoded}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>giftVoucher</template_name><template_content_html><![CDATA[
]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>giftVoucher</template_name><template_content_html><![CDATA[
{$email->language->addToStack("youve_got_a_giftcard", FALSE)}
<br />
@@ -3569,24 +3435,7 @@
{$email->language->addToStack("email_redeem_blurb_plain", FALSE, array( 'htmlsprintf' => array( $amount ) ) )}
-- {setting="board_name"}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>monitoring_online</template_name><template_content_html><![CDATA[
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'sprintf' => \IPS\Settings::i()->board_name ) )"}
<br />
<br />
<table width='100%' cellpadding='15' cellspacing='0' border='0' style='color: #556b45;'>
<tr>
<td dir='{dir}'>
<strong>{expression="$email->language->addToStack( 'monitor_email_online', FALSE, array( 'sprintf' => $server->hostname ) )"}</strong>
</td>
</tr>
</table>
<br /><br />
<em style='color: #8c8c8c'>&mdash; {setting="board_name"}</em>]]></template_content_html><template_data>$server, $encoded, $email</template_data><template_content_plaintext><![CDATA[
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'htmlsprintf' => \IPS\Settings::i()->board_name ) )" raw="true"}
{expression="$email->language->addToStack( 'monitor_email_online', FALSE, array( 'htmlsprintf' => $server->hostname ) )" raw="true"}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>staffReplyNoChrome</template_name><template_content_html><![CDATA[{$email->parseTextForEmail( $message->content(), $email->language )|raw}
-- {setting="board_name"}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>staffReplyNoChrome</template_name><template_content_html><![CDATA[{$email->parseTextForEmail( $message->content(), $email->language )|raw}
<div style="font-size: 0px; line-height: 0px; color:#ffffff !important;">{$email->language->addToStack("support_reply_email_id", FALSE, array( 'sprintf' => array( '[SR' . $message->item()->id . '.' . $message->item()->email_key . ']' ) ) )}</div>]]></template_content_html><template_data>$message, $email</template_data><template_content_plaintext><![CDATA[{expression="\IPS\Email::buildPlaintextBody( $message->content() )" raw="true"}
-----