aboutsummaryrefslogtreecommitdiff
path: root/views/default/usersettings
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-18 12:14:55 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-18 12:14:55 +0000
commita50a1937ca193ca10553e93c609351a396fe4942 (patch)
tree8e363053afa6d94e12caa2dd0283067b7ed97788 /views/default/usersettings
parent961fc5a437c8d458884560485864d057aa807a25 (diff)
downloadelgg-a50a1937ca193ca10553e93c609351a396fe4942.tar.gz
elgg-a50a1937ca193ca10553e93c609351a396fe4942.tar.bz2
Added the autop function, replaced any references to nl2br
git-svn-id: https://code.elgg.org/elgg/trunk@1468 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/usersettings')
-rw-r--r--views/default/usersettings/main.php2
-rw-r--r--views/default/usersettings/plugins.php2
-rw-r--r--views/default/usersettings/statistics.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/views/default/usersettings/main.php b/views/default/usersettings/main.php
index 1b0ed11e8..22bbc8e8f 100644
--- a/views/default/usersettings/main.php
+++ b/views/default/usersettings/main.php
@@ -12,5 +12,5 @@
*/
// Description of what's going on
- echo "<p>" . nl2br(elgg_echo("usersettings:description")) . "</p>";
+ echo "<p>" . autop(elgg_echo("usersettings:description")) . "</p>";
?> \ No newline at end of file
diff --git a/views/default/usersettings/plugins.php b/views/default/usersettings/plugins.php
index 730950178..70dfc5e14 100644
--- a/views/default/usersettings/plugins.php
+++ b/views/default/usersettings/plugins.php
@@ -11,7 +11,7 @@
*/
// Description of what's going on
- echo "<p>" . nl2br(elgg_echo("usersettings:plugins:description")) . "</p>";
+ echo "<p>" . autop(elgg_echo("usersettings:plugins:description")) . "</p>";
$limit = get_input('limit', 10);
$offset = get_input('offset', 0);
diff --git a/views/default/usersettings/statistics.php b/views/default/usersettings/statistics.php
index f01e48bc8..8ab6712c6 100644
--- a/views/default/usersettings/statistics.php
+++ b/views/default/usersettings/statistics.php
@@ -12,5 +12,5 @@
global $CONFIG;
- echo "<p>" . nl2br(elgg_echo("usersettings:statistics:description")) . "</p>";
+ echo "<p>" . autop(elgg_echo("usersettings:statistics:description")) . "</p>";
?> \ No newline at end of file