]> source.dussan.org Git - nextcloud-server.git/commitdiff
Replace unecessary unescaped prints with print 4130/head
authorLukas Reschke <lukas@statuscode.ch>
Tue, 28 Mar 2017 22:42:22 +0000 (00:42 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Tue, 28 Mar 2017 22:43:44 +0000 (00:43 +0200)
There's no need to have those unescaped from what I can see.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
apps/updatenotification/templates/admin.php
core/templates/error.php

index 78337eb313bcd7b81f830a7a38f871694b79a155..28a47992410815204d1cd5ddf8b3e07483dbc285 100644 (file)
@@ -23,7 +23,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 } ?>
 
index 6e044b72414d85bac3e1a5b34394c77e074ea421..b5e8c8eab3f1bc52cfa1ca8cb8b883340845a252 100644 (file)
@@ -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 ?>