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

redirect.php « templates - github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0f2b58d560e0276b425b369564732deda153cd81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php /** @var array $_ */?>
<?php if (isset($_['authorizedRedirect']) && ($_['authorizedRedirect'])): ?>
	<?php script('mail', 'autoredirect'); ?>
	<div class="error" style="text-align: center;">
		<img src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif'));?>"
			style="margin: 0 auto;" />
		<p>
			<a href="<?php p($_['url']) ?>" rel="noreferrer" id="redirectLink"
				style="color: #fff !important;">
				<?php p($l->t('Forwarding you to %s - click here if you are not automatically redirected within the next few seconds.', array($_['urlHost'])));?>
			</a>
		</p>
	</div>
<?php else: ?>
	<div class="error">
		<legend><strong><?php p($l->t('Redirect warning'));?></strong></legend>
		<p><?php p($l->t('The previous page is sending you to %s', array($_['urlHost']))); ?></p>
		<p><?php print_unescaped($l->t('If you do not want to visit that page, you can return to <a href="%s">the mail app</a>.', array($_['mailURL']))); ?></p>

		<br/>
		<a href="<?php p($_['url']) ?>" class="button" rel="noreferrer" id="redirectLink"><?php p($l->t('Continue to %s', array($_['urlHost']))); ?></a>
	</div>
<?php endif; ?>