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

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <wurst.christoph@gmail.com>2016-02-11 19:18:18 +0300
committerChristoph Wurst <wurst.christoph@gmail.com>2016-02-11 19:18:18 +0300
commit7f5c2c585be3631f8c3a0b0899e38fa6ffc6ead8 (patch)
tree0ac5189aee9dec4a152f14bbfa857ecdaecd9c92 /templates
parent7f4c336d1f5ecf507d100d94df5cdeebefcdf9e4 (diff)
fix templates
Diffstat (limited to 'templates')
-rw-r--r--templates/error.php3
-rw-r--r--templates/redirect.php4
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/error.php b/templates/error.php
index 984471c81..ec3fb4a2e 100644
--- a/templates/error.php
+++ b/templates/error.php
@@ -19,6 +19,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
+?>
+<?php /** @var array $_ */?>
+<?php /** @var \OCP\IL10N $l */?>
<div class="error">
<legend><strong><?php p($l->t('Error loading message'));?></strong></legend>
<p><?php p($_['message']); ?></p>
diff --git a/templates/redirect.php b/templates/redirect.php
index 840e25758..2b2488aae 100644
--- a/templates/redirect.php
+++ b/templates/redirect.php
@@ -20,6 +20,10 @@
* 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;">
<img src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif'));?>"
style="margin: 0 auto;" />