aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/longtext.php
blob: b35234350dff94b81fb011c0cb0937ae648f08ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

	/**
	 * Elgg display long text
	 * Displays a large amount of text, with new lines converted to line breaks
	 * 
	 * @package Elgg
	 * @subpackage Core
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider Ltd
	 * @copyright Curverider Ltd 2008-2009
	 * @link http://elgg.org/
	 * 
	 * @uses $vars['text'] The text to display
	 * 
	 */

	global $CONFIG;

    echo autop(filter_tags($vars['value'], $CONFIG->allowedtags, $CONFIG->allowedprotocols));
?>