diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-04-06 05:43:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-06 05:43:02 +0300 |
commit | 1e40199bd3cc572f26014ab321832fa6aa50f49a (patch) | |
tree | cd307dc63e77ec702139c8e651125cf885290f1b | |
parent | 3185788daecfa023e59d7e1689b52590411dcdc0 (diff) | |
parent | 5db35a40e28f305244fc8cf81bd0179cd72f73d1 (diff) |
Merge pull request #4226 from nextcloud/stable9-error-messages
Replace unecessary unescaped prints with print
-rw-r--r-- | apps/updatenotification/templates/admin.php | 2 | ||||
-rw-r--r-- | core/templates/error.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/updatenotification/templates/admin.php b/apps/updatenotification/templates/admin.php index 4400dd277c8..7bf32bc2963 100644 --- a/apps/updatenotification/templates/admin.php +++ b/apps/updatenotification/templates/admin.php @@ -25,7 +25,7 @@ <a href="<?php p($_['downloadLink']); ?>" class="button<?php if ($_['updaterEnabled']) { p(' hidden'); } ?>"><?php p($l->t('Download now')) ?></a> <?php } ?> <?php } else { ?> - <strong><?php print_unescaped($l->t('Your version is up to date.')); ?></strong> + <strong><?php p($l->t('Your version is up to date.')); ?></strong> <span class="icon-info svg" title="<?php p($l->t('Checked on %s', [$lastCheckedDate])) ?>"></span> <?php } ?> diff --git a/core/templates/error.php b/core/templates/error.php index 6e044b72414..b5e8c8eab3f 100644 --- a/core/templates/error.php +++ b/core/templates/error.php @@ -3,7 +3,7 @@ <li class='error'> <?php p($error['error']) ?><br> <?php if(isset($error['hint']) && $error['hint']): ?> - <p class='hint'><?php print_unescaped($error['hint']) ?></p> + <p class='hint'><?php p($error['hint']) ?></p> <?php endif;?> </li> <?php endforeach ?> |