blob: 73deed3d6b2ab8dc99567ff89deca76a2fb525ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<?php
/**
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Jan-Christoph Borchardt <hey@jancborchardt.net>
* @author Lukas Reschke <lukas@statuscode.ch>
* @author Thomas Müller <thomas.mueller@tmit.eu>
*
* ownCloud - Mail
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License, version 3,
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
?>
<?php /** @var array $_ */ ?>
<?php if (isset($_['authorizedRedirect']) && ($_['authorizedRedirect'])): ?>
<?php script('mail', 'autoredirect'); ?>
<div class="error" style="text-align: center;">
<div class="icon-loading-dark"
style="height: 60px;"></div>
<p>
<a href="<?php p($_['url']) ?>" rel="noreferrer" id="redirectLink"
style="font-weight: 300 !important">
<h2><?php p($l->t('Forwarding to %s', array($_['urlHost']))); ?></h2>
<?php p($l->t('Click here if you are not automatically redirected within the next few seconds.')); ?>
</a>
</p>
</div>
<?php else: ?>
<div class="error">
<h2><?php p($l->t('Redirect')); ?></h2>
<p><?php p($l->t('The link leads to %s', array($_['urlHost']))); ?></p>
<p><?php print_unescaped($l->t('If you don’t want to visit that page, you can return to <a href="%s">Mail</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; ?>
|