Skip to content
Snippets Groups Projects
Unverified Commit 5db35a40 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Replace unecessary unescaped prints with print


There's no need to have those unescaped from what I can see.

Signed-off-by: default avatarLukas Reschke <lukas@statuscode.ch>
parent 3185788d
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<a href="<?php p($_['downloadLink']); ?>" class="button<?php if ($_['updaterEnabled']) { p(' hidden'); } ?>"><?php p($l->t('Download now')) ?></a> <a href="<?php p($_['downloadLink']); ?>" class="button<?php if ($_['updaterEnabled']) { p(' hidden'); } ?>"><?php p($l->t('Download now')) ?></a>
<?php } ?> <?php } ?>
<?php } else { ?> <?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> <span class="icon-info svg" title="<?php p($l->t('Checked on %s', [$lastCheckedDate])) ?>"></span>
<?php } ?> <?php } ?>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<li class='error'> <li class='error'>
<?php p($error['error']) ?><br> <?php p($error['error']) ?><br>
<?php if(isset($error['hint']) && $error['hint']): ?> <?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;?> <?php endif;?>
</li> </li>
<?php endforeach ?> <?php endforeach ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment