diff options
author | Christoph Wurst <wurst.christoph@gmail.com> | 2016-02-11 19:18:18 +0300 |
---|---|---|
committer | Christoph Wurst <wurst.christoph@gmail.com> | 2016-02-11 19:18:18 +0300 |
commit | 7f5c2c585be3631f8c3a0b0899e38fa6ffc6ead8 (patch) | |
tree | 0ac5189aee9dec4a152f14bbfa857ecdaecd9c92 /templates | |
parent | 7f4c336d1f5ecf507d100d94df5cdeebefcdf9e4 (diff) |
fix templates
Diffstat (limited to 'templates')
-rw-r--r-- | templates/error.php | 3 | ||||
-rw-r--r-- | templates/redirect.php | 4 |
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;" /> |