summaryrefslogtreecommitdiffstats
path: root/settings/templates/help.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-27 22:55:39 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-02-27 22:55:39 +0100
commit229c907a57a4a64730e7b58f59cb8f7f627bfaf3 (patch)
tree560c7cdae8b7a43898832b0989b7fb3b780501a8 /settings/templates/help.php
parent40e51d13d2fd028fa13902b12814532d1de15f5a (diff)
downloadnextcloud-server-229c907a57a4a64730e7b58f59cb8f7f627bfaf3.tar.gz
nextcloud-server-229c907a57a4a64730e7b58f59cb8f7f627bfaf3.zip
[core] From echo to p
Diffstat (limited to 'settings/templates/help.php')
-rw-r--r--settings/templates/help.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/settings/templates/help.php b/settings/templates/help.php
index 7b2a3321c29..3d227817e63 100644
--- a/settings/templates/help.php
+++ b/settings/templates/help.php
@@ -1,21 +1,21 @@
<div id="controls">
<?php if($_['admin']) { ?>
- <a class="button newquestion <?php echo($_['style1']); ?>"
- href="<?php echo($_['url1']); ?>"><?php echo $l->t( 'User Documentation' ); ?></a>
- <a class="button newquestion <?php echo($_['style2']); ?>"
- href="<?php echo($_['url2']); ?>"><?php echo $l->t( 'Administrator Documentation' ); ?></a>
+ <a class="button newquestion <?php p($_['style1']); ?>"
+ href="<?php print_unescaped($_['url1']); ?>"><?php p($l->t( 'User Documentation' )); ?></a>
+ <a class="button newquestion <?php p($_['style2']); ?>"
+ href="<?php print_unescaped($_['url2']); ?>"><?php p($l->t( 'Administrator Documentation' )); ?></a>
<?php } ?>
<a class="button newquestion" href="http://owncloud.org/support" target="_blank"><?php
- echo $l->t( 'Online Documentation' ); ?></a>
+ p($l->t( 'Online Documentation' )); ?></a>
<a class="button newquestion" href="http://forum.owncloud.org" target="_blank"><?php
- echo $l->t( 'Forum' ); ?></a>
+ p($l->t( 'Forum' )); ?></a>
<?php if($_['admin']) { ?>
<a class="button newquestion" href="https://github.com/owncloud/core/issues" target="_blank"><?php
- echo $l->t( 'Bugtracker' ); ?></a>
+ p($l->t( 'Bugtracker' )); ?></a>
<?php } ?>
<a class="button newquestion" href="http://owncloud.com" target="_blank"><?php
- echo $l->t( 'Commercial Support' ); ?></a>
+ p($l->t( 'Commercial Support' )); ?></a>
</div>
<div class="help-includes">
- <iframe src="<?php echo($_['url']); ?>" class="help-iframe">abc</iframe>
+ <iframe src="<?php print_unescaped($_['url']); ?>" class="help-iframe">abc</iframe>
</div>