Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/rainloop-nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Alain Bandinelli <pa@bandinelli.net>2020-06-03 08:50:42 +0300
committerGitHub <noreply@github.com>2020-06-03 08:50:42 +0300
commit81f7055acee4d4dee1482adf812a553cde6f6ead (patch)
tree7fc1dab3a6ee92c3c0d51db780fd6d393762eb1c /templates
parent6aa5ba3f90e7e2a00b3df7506a7487fe8372d9c1 (diff)
parent847ec5de44253661e3bdaf4ae2412c8f66003096 (diff)
Merge pull request #195 from Valdnet/patch-35
l10n: Change the display of links
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/personal_settings.php23
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')); ?>" />
&nbsp;&nbsp;<span class="rainloop-result-desc"></span>
</p>
</fieldset>