FIX: Отображение даты инвайтов (админ-панель)
This commit is contained in:
parent
a4d47659c6
commit
f68460d4bb
3 changed files with 12 additions and 4 deletions
|
@ -79,6 +79,14 @@ class SendEmail
|
||||||
$mail->SMTPSecure = 'ssl'; // PHPMailer::ENCRYPTION_SMTPS; //Enable implicit TLS encryption
|
$mail->SMTPSecure = 'ssl'; // PHPMailer::ENCRYPTION_SMTPS; //Enable implicit TLS encryption
|
||||||
$mail->Port = config('integration.smtp_port'); //TCP port to connect to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS`
|
$mail->Port = config('integration.smtp_port'); //TCP port to connect to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS`
|
||||||
|
|
||||||
|
/* $mail->SMTPOptions = [
|
||||||
|
'ssl' => [
|
||||||
|
'verify_peer' => false,
|
||||||
|
'verify_peer_name' => false,
|
||||||
|
'allow_self_signed' => true
|
||||||
|
]
|
||||||
|
]; */
|
||||||
|
|
||||||
$mail->CharSet = 'utf-8';
|
$mail->CharSet = 'utf-8';
|
||||||
|
|
||||||
//Recipients
|
//Recipients
|
||||||
|
|
|
@ -16,7 +16,7 @@ class Post
|
||||||
'type' => 'article',
|
'type' => 'article',
|
||||||
'og' => true,
|
'og' => true,
|
||||||
'imgurl' => self::images($content),
|
'imgurl' => self::images($content),
|
||||||
'url' => post_slug($content['post_id'], $content['post_slug']),
|
'url' => post_slug((int)$content['post_id'], $content['post_slug']),
|
||||||
];
|
];
|
||||||
|
|
||||||
Request::getResources()->addBottomScript('/assets/js/share/goodshare.min.js');
|
Request::getResources()->addBottomScript('/assets/js/share/goodshare.min.js');
|
||||||
|
|
|
@ -22,11 +22,11 @@
|
||||||
<span class="lowercase gray-600 text-sm">
|
<span class="lowercase gray-600 text-sm">
|
||||||
<?= $inv['invitation_email']; ?>
|
<?= $inv['invitation_email']; ?>
|
||||||
<sup>id<?= $inv['active_uid']; ?></sup>
|
<sup>id<?= $inv['active_uid']; ?></sup>
|
||||||
— <?= Html::langDate($inv['active_time']); ?>
|
— <?= Html::langDate($inv['uid']['updated_at']); ?>
|
||||||
</span>
|
</span>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<span class="gray-600 lowercase text-sm">
|
<span class="gray-600 lowercase text-sm">1
|
||||||
<?= $inv['invitation_email']; ?> — <?= Html::langDate($inv['add_time']); ?>
|
<?= $inv['invitation_email']; ?> — <?= Html::langDate($inv['uid']['created_at']); ?>
|
||||||
</span>
|
</span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue