diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-02-27 22:55:39 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-02-27 22:55:39 +0100 |
commit | 229c907a57a4a64730e7b58f59cb8f7f627bfaf3 (patch) | |
tree | 560c7cdae8b7a43898832b0989b7fb3b780501a8 /settings/templates/oauth-required-apps.php | |
parent | 40e51d13d2fd028fa13902b12814532d1de15f5a (diff) | |
download | nextcloud-server-229c907a57a4a64730e7b58f59cb8f7f627bfaf3.tar.gz nextcloud-server-229c907a57a4a64730e7b58f59cb8f7f627bfaf3.zip |
[core] From echo to p
Diffstat (limited to 'settings/templates/oauth-required-apps.php')
-rw-r--r-- | settings/templates/oauth-required-apps.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/templates/oauth-required-apps.php b/settings/templates/oauth-required-apps.php index d4fce54c59c..3660f423423 100644 --- a/settings/templates/oauth-required-apps.php +++ b/settings/templates/oauth-required-apps.php @@ -6,14 +6,14 @@ */ ?> <div id="oauth-request" class="guest-container"> - <p><strong><?php echo $_['consumer']['name'].'</strong> '.$_['message']; ?></p> + <p><strong><?php print_unescaped(OC_Util::sanitizeHTML($_['consumer']['name']).'</strong> '.OC_Util::sanitizeHTML($_['message'])); ?></p> <ul> <?php // Foreach requested scope foreach($_['requiredapps'] as $requiredapp){ - echo '<li>'.$requiredapp.'</li>'; + print_unescaped('<li>'.OC_Util::sanitizeHTML($requiredapp).'</li>'); } ?> </ul> - <a href="<?php echo OC::$WEBROOT; ?>" id="back-home" class="button">Back to ownCloud</a> + <a href="<?php print_unescaped(OC::$WEBROOT); ?>" id="back-home" class="button">Back to ownCloud</a> </div> |