aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/text.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/output/text.php')
-rw-r--r--views/default/output/text.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/views/default/output/text.php b/views/default/output/text.php
new file mode 100644
index 000000000..5cbfc35b0
--- /dev/null
+++ b/views/default/output/text.php
@@ -0,0 +1,12 @@
+<?php
+/**
+ * Elgg text output
+ * Displays some text that was input using a standard text field
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ * @uses $vars['value'] The text to display
+ */
+
+echo htmlspecialchars($vars['value'], ENT_QUOTES, 'UTF-8', false); \ No newline at end of file