diff options
Diffstat (limited to 'templates/personal_settings.php')
-rwxr-xr-x | templates/personal_settings.php | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/templates/personal_settings.php b/templates/personal_settings.php index 07ece26..189d8be 100755 --- a/templates/personal_settings.php +++ b/templates/personal_settings.php @@ -1,4 +1,11 @@ -<?php script('rainloop', 'personal') ?>
+<?php script('rainloop', 'personal');
+
+$textLink1 = $l->t('may have some');
+$textLink2 = $l->t('security considerations');
+$links = [
+ "<a href=\"https://github.com/pierre-alain-b/rainloop-nextcloud/issues/87\" style=\"text-decoration:underline\" target=\"_blank\">{$textLink1}</a>",
+ "<a href=\"https://github.com/RainLoop/rainloop-webmail/issues/1082\" style=\"text-decoration:underline\" target=\"_blank\">{$textLink2}</a>"
+ ]; ?>
<div class="section">
<form id="mail-rainloop-personal-form" action="#" method="post">
@@ -6,22 +13,18 @@ <input type="hidden" name="appname" value="rainloop">
<fieldset class="personalblock">
- <h2><?php p($l->t('RainLoop Webmail')); ?></h2>
+ <h2><?php echo($l->t('RainLoop Webmail')); ?></h2>
<p>
- <?php p($l->t('Enter an email and password to auto-login to RainLoop.')); ?> <b><?php p($l->t('Please note')); ?></b> <?php p($l->t('that this feature')); ?>
- <a href="https://github.com/pierre-alain-b/rainloop-nextcloud/issues/87"
- style="text-decoration:underline" target="_blank"><?php p($l->t('may have some')); ?></a>
- <a href="https://github.com/RainLoop/rainloop-webmail/issues/1082"
- style="text-decoration:underline" target="_blank"><?php p($l->t('security considerations')); ?></a>.
+ <?php echo($l->t('Enter an email and password to auto-login to RainLoop. <b>Please note</b> that this feature %s %s.', $links)); ?>
</p>
<p>
<input type="text" id="rainloop-email" name="rainloop-email"
- value="<?php echo $_['rainloop-email']; ?>" placeholder="<?php p($l->t('Email')); ?>" />
+ value="<?php echo $_['rainloop-email']; ?>" placeholder="<?php echo($l->t('Email')); ?>" />
<input type="password" id="rainloop-password" name="rainloop-password"
- value="<?php echo $_['rainloop-password']; ?>" placeholder="<?php p($l->t('Password')); ?>" />
+ value="<?php echo $_['rainloop-password']; ?>" placeholder="<?php echo($l->t('Password')); ?>" />
- <input type="button" id="rainloop-save-button" name="rainloop-save-button" value="<?php p($l->t('Save')); ?>" />
+ <input type="button" id="rainloop-save-button" name="rainloop-save-button" value="<?php echo($l->t('Save')); ?>" />
<span class="rainloop-result-desc"></span>
</p>
</fieldset>
|