some small template fixes
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
94c7052482
commit
eab4d96c4c
|
@ -33,7 +33,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
|
|||
<div id="files-public-content">
|
||||
<?php if (isset($_['note']) && $_['note'] !== '') : ?>
|
||||
<div id="note">
|
||||
<?php p($l->t('Note: ')); p($_['note']); ?>
|
||||
<?php p($l->t('Note:')); p(' ' . $_['note']); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div id="preview">
|
||||
|
|
|
@ -519,8 +519,8 @@ class ShareByMailProvider implements IShareProvider {
|
|||
$initiatorDisplayName = ($initiatorUser instanceof IUser) ? $initiatorUser->getDisplayName() : $initiator;
|
||||
$initiatorEmailAddress = ($initiatorUser instanceof IUser) ? $initiatorUser->getEMailAddress() : null;
|
||||
|
||||
$plainHeading = $this->l->t('%1$s shared »%2$s« with you and want to add:', [$initiatorDisplayName, $filename]);
|
||||
$htmlHeading = $this->l->t('%1$s shared »%2$s« with you and want to add:', [$initiatorDisplayName, $filename]);
|
||||
$plainHeading = $this->l->t('%1$s shared »%2$s« with you and wants to add:', [$initiatorDisplayName, $filename]);
|
||||
$htmlHeading = $this->l->t('%1$s shared »%2$s« with you and wants to add', [$initiatorDisplayName, $filename]);
|
||||
|
||||
$message = $this->mailer->createMessage();
|
||||
|
||||
|
|
|
@ -1316,8 +1316,8 @@ class DefaultShareProvider implements IShareProvider {
|
|||
$initiatorUser = $this->userManager->get($initiator);
|
||||
$initiatorDisplayName = ($initiatorUser instanceof IUser) ? $initiatorUser->getDisplayName() : $initiator;
|
||||
$initiatorEmailAddress = ($initiatorUser instanceof IUser) ? $initiatorUser->getEMailAddress() : null;
|
||||
$plainHeading = $this->l->t('%1$s shared »%2$s« with you and want to add:', [$initiatorDisplayName, $filename]);
|
||||
$htmlHeading = $this->l->t('%1$s shared »%2$s« with you and want to add:', [$initiatorDisplayName, $filename]);
|
||||
$plainHeading = $this->l->t('%1$s shared »%2$s« with you and wants to add:', [$initiatorDisplayName, $filename]);
|
||||
$htmlHeading = $this->l->t('%1$s shared »%2$s« with you and wants to add', [$initiatorDisplayName, $filename]);
|
||||
$message = $this->mailer->createMessage();
|
||||
|
||||
$emailTemplate = $this->mailer->createEMailTemplate('defaultShareProvider.sendNote');
|
||||
|
|
Loading…
Reference in New Issue