Version 5.0.0 beta 4
This commit is contained in:
1 parent
e86153356a
commit
2f24f9de48
276 files changed
+8614
-6044
No files matched your search
@@ -1,5 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<emails><template><template_app>core</template_app><template_name>notification_new_private_message</template_name><template_content_html><![CDATA[{$email->language->addToStack("messenger_notify_title", FALSE, array( 'sprintf' => array( $message->author()->name ) ) )}
|
||||
<emails><template><template_app>core</template_app><template_name>notification_report_outcome</template_name><template_content_html><![CDATA[{{if ! empty( $userReport['guest_name'] )}}
|
||||
<strong>{$userReport['guest_name']}</strong>
|
||||
<br><br>
|
||||
{{endif}}
|
||||
{{$date = \IPS\DateTime::ts( $userReport['date_reported'] )->localeDate();}}
|
||||
{$email->language->addToStack("report_outcome_email_blurb", FALSE, array( 'sprintf' => array( $date, $reportIndex->mapped('title'), $reportType->_title ) ) )}
|
||||
|
||||
<br><br>
|
||||
{$email->language->addToStack("report_outcome_email_prelude")}
|
||||
<br><br>
|
||||
{$reportIndex->getReportOutcomeBlurb( $userReport['id'] )}
|
||||
|
||||
|
||||
<br /><br />
|
||||
<em style='color: #8c8c8c'>— {setting="board_name"}</em>
|
||||
]]></template_content_html><template_data>$reportIndex, $reportType, $userReport, $email</template_data><template_content_plaintext><![CDATA[{{$date = \IPS\DateTime::ts( $userReport['date_reported'] )->localeDate();}}
|
||||
{$email->language->addToStack("report_outcome_email_blurb", FALSE, array( 'sprintf' => array( $date, $reportIndex->mapped('title'), $reportType->_title ) ) )}
|
||||
|
||||
{$email->language->addToStack("report_outcome_email_prelude")}
|
||||
|
||||
{$reportIndex->getReportOutcomeBlurb( $userReport['id'] )}
|
||||
|
||||
]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>core</template_app><template_name>notification_new_private_message</template_name><template_content_html><![CDATA[{$email->language->addToStack("messenger_notify_title", FALSE, array( 'sprintf' => array( $message->author()->name ) ) )}
|
||||
<br /><br />
|
||||
|
||||
<a href='{$message->url()}' 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;">{$email->language->addToStack("messenger_inline_button", FALSE)}</a>
|
||||
@@ -609,7 +631,12 @@
|
||||
{$email->language->addToStack("email_go_to_x_profile", FALSE, array( 'htmlsprintf' => array( $member->name ) ) )}: {$member->url()}
|
||||
=====
|
||||
|
||||
-- {setting="board_name"}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>core</template_app><template_name>notification_automatic_moderation</template_name><template_content_html><![CDATA[{{$item = $reportedContent instanceof \IPS\Content\Item ? $reportedContent : $reportedContent->item();}}
|
||||
-- {setting="board_name"}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>core</template_app><template_name>notification_report_content_author</template_name><template_content_html><![CDATA[{{$text=nl2br($templateContent);}}
|
||||
{$text|raw}
|
||||
<br /><br />
|
||||
<em style='color: #8c8c8c'>— {setting="board_name"}</em>
|
||||
]]></template_content_html><template_data>$reportIndex, $content, $templateContent, $email</template_data><template_content_plaintext>{$templateContent}
|
||||
</template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>core</template_app><template_name>notification_automatic_moderation</template_name><template_content_html><![CDATA[{{$item = $reportedContent instanceof \IPS\Content\Item ? $reportedContent : $reportedContent->item();}}
|
||||
{$email->language->addToStack("email_content_automatic_moderation", FALSE, array( 'sprintf' => array( $reportedContent->indefiniteArticle( $email->language ), $reportedContent->url(), $item->mapped('title') ) ) )}
|
||||
|
||||
<br />
|
||||
@@ -990,7 +1017,7 @@
|
||||
{{endif}}
|
||||
<tr>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; line-height: 1.5; font-size: 14px;">
|
||||
<strong>{$content->mapped('title')}</strong>
|
||||
<strong>{expression="(string) $content->mapped('title')"}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{$emailContent = $email->parseTextForEmail( $content->content(), $email->language, ( \IPS\Settings::i()->email_truncate ? 150 : NULL ) );}}
|
||||
|
||||
Reference in new issue
Block a user