aboutsummaryrefslogtreecommitdiff
path: root/views/failsafe/messages/sanitisation
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/failsafe/messages/sanitisation
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/failsafe/messages/sanitisation')
-rw-r--r--views/failsafe/messages/sanitisation/htaccess.php2
-rw-r--r--views/failsafe/messages/sanitisation/settings.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/failsafe/messages/sanitisation/htaccess.php b/views/failsafe/messages/sanitisation/htaccess.php
index 99bfe4159..bca1b3243 100644
--- a/views/failsafe/messages/sanitisation/htaccess.php
+++ b/views/failsafe/messages/sanitisation/htaccess.php
@@ -12,6 +12,6 @@
* @link http://elgg.org/
*/
- echo nl2br(elgg_echo('installation:error:htaccess'));
+ echo autop(elgg_echo('installation:error:htaccess'));
?>
<textarea cols="120" rows="30"><?php echo $vars['.htaccess']; ?></textarea> \ No newline at end of file
diff --git a/views/failsafe/messages/sanitisation/settings.php b/views/failsafe/messages/sanitisation/settings.php
index 798bfbd91..e4ea720a8 100644
--- a/views/failsafe/messages/sanitisation/settings.php
+++ b/views/failsafe/messages/sanitisation/settings.php
@@ -24,7 +24,7 @@
else
{
- echo nl2br(elgg_echo('installation:error:settings'));
+ echo autop(elgg_echo('installation:error:settings'));
?>
<div>
<h2><?php echo elgg_echo('installation:settings:dbwizard:prompt'); ?></h2>