aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/admin/plugins_opt/plugin.php2
-rw-r--r--views/default/usersettings/plugins_opt/plugin.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/admin/plugins_opt/plugin.php b/views/default/admin/plugins_opt/plugin.php
index 9b799c27c..2b4c4c2bb 100644
--- a/views/default/admin/plugins_opt/plugin.php
+++ b/views/default/admin/plugins_opt/plugin.php
@@ -50,7 +50,7 @@
<?php } ?>
</div>
- <h3><?php echo $plugin; ?></h3>
+ <h3><?php echo elgg_echo($plugin); ?></h3>
<p><a class="manifest_details"><?php echo elgg_echo("admin:plugins:label:moreinfo"); ?></a></p>
<div class="manifest_file">
diff --git a/views/default/usersettings/plugins_opt/plugin.php b/views/default/usersettings/plugins_opt/plugin.php
index 566f2bf55..2ac5d9d89 100644
--- a/views/default/usersettings/plugins_opt/plugin.php
+++ b/views/default/usersettings/plugins_opt/plugin.php
@@ -26,7 +26,7 @@
if (elgg_view("usersettings/{$plugin}/edit")) {
?>
<div id="user_plugin_details">
- <div><h2><?php echo $plugin; ?></h2></div>
+ <div><h2><?php echo elgg_echo($plugin); ?></h2></div>
<div id="<?php echo $plugin; ?>_settings">
<?php echo elgg_view("object/plugin", array('plugin' => $plugin, 'entity' => find_plugin_usersettings($plugin, $user_guid), 'prefix' => 'user')) ?>