aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/admin/main.php2
-rw-r--r--views/default/admin/plugins.php2
-rw-r--r--views/default/admin/site.php2
-rw-r--r--views/default/admin/statistics.php2
-rw-r--r--views/default/admin/user.php2
-rw-r--r--views/default/messages/errors/error.php2
-rw-r--r--views/default/messages/exceptions/exception.php4
-rw-r--r--views/default/messages/messages/message.php2
-rw-r--r--views/default/output/longtext.php2
-rw-r--r--views/default/settings/install.php2
-rw-r--r--views/default/usersettings/main.php2
-rw-r--r--views/default/usersettings/plugins.php2
-rw-r--r--views/default/usersettings/statistics.php2
13 files changed, 14 insertions, 14 deletions
diff --git a/views/default/admin/main.php b/views/default/admin/main.php
index 84be45780..b6040a5c9 100644
--- a/views/default/admin/main.php
+++ b/views/default/admin/main.php
@@ -12,7 +12,7 @@
*/
// Description of what's going on
- echo "<p>" . nl2br(elgg_echo("admin:description")) . "</p>";
+ echo "<p>" . autop(elgg_echo("admin:description")) . "</p>";
diff --git a/views/default/admin/plugins.php b/views/default/admin/plugins.php
index b4339f83a..b680bc039 100644
--- a/views/default/admin/plugins.php
+++ b/views/default/admin/plugins.php
@@ -12,7 +12,7 @@
*/
// Description of what's going on
- echo "<p>" . nl2br(elgg_echo("admin:plugins:description")) . "</p>";
+ echo "<p>" . autop(elgg_echo("admin:plugins:description")) . "</p>";
$limit = get_input('limit', 10);
$offset = get_input('offset', 0);
diff --git a/views/default/admin/site.php b/views/default/admin/site.php
index 8792431c2..202f493d5 100644
--- a/views/default/admin/site.php
+++ b/views/default/admin/site.php
@@ -14,7 +14,7 @@
global $CONFIG;
// Description of what's going on
- echo "<p>" . nl2br(elgg_echo("admin:site:description")) . "</p>";
+ echo "<p>" . autop(elgg_echo("admin:site:description")) . "</p>";
echo elgg_view("settings/system",array("action" => $CONFIG->wwwroot."action/admin/site/update_basic")); // Always want to do this first.
?> \ No newline at end of file
diff --git a/views/default/admin/statistics.php b/views/default/admin/statistics.php
index 4c2035f0d..f79812b51 100644
--- a/views/default/admin/statistics.php
+++ b/views/default/admin/statistics.php
@@ -12,6 +12,6 @@
global $CONFIG;
- echo "<p>" . nl2br(elgg_echo("admin:statistics:description")) . "</p>";
+ echo "<p>" . autop(elgg_echo("admin:statistics:description")) . "</p>";
?> \ No newline at end of file
diff --git a/views/default/admin/user.php b/views/default/admin/user.php
index 2e5445628..d3d80e6f7 100644
--- a/views/default/admin/user.php
+++ b/views/default/admin/user.php
@@ -12,7 +12,7 @@
*/
// Description of what's going on
- echo "<p>" . nl2br(elgg_echo("admin:user:description")) . "</p>";
+ echo "<p>" . autop(elgg_echo("admin:user:description")) . "</p>";
echo elgg_view("admin/user_opt/adduser");
diff --git a/views/default/messages/errors/error.php b/views/default/messages/errors/error.php
index 078e25949..ddcd0009c 100644
--- a/views/default/messages/errors/error.php
+++ b/views/default/messages/errors/error.php
@@ -16,5 +16,5 @@
?>
<p>
- <?php echo nl2br($vars['object']); ?>
+ <?php echo autop($vars['object']); ?>
</p> \ No newline at end of file
diff --git a/views/default/messages/exceptions/exception.php b/views/default/messages/exceptions/exception.php
index 8df557b48..f56927123 100644
--- a/views/default/messages/exceptions/exception.php
+++ b/views/default/messages/exceptions/exception.php
@@ -21,7 +21,7 @@
<span title="<?php echo get_class($vars['object']); ?>">
<?php
- echo nl2br($vars['object']->getMessage());
+ echo autop($vars['object']->getMessage());
?>
</span>
@@ -32,7 +32,7 @@
<p class="messages-exception-detail">
<?php
- echo nl2br(htmlentities(print_r($vars['object'], true)));
+ echo autop(htmlentities(print_r($vars['object'], true)));
?>
</p>
diff --git a/views/default/messages/messages/message.php b/views/default/messages/messages/message.php
index 1622c29e8..355afeb15 100644
--- a/views/default/messages/messages/message.php
+++ b/views/default/messages/messages/message.php
@@ -16,5 +16,5 @@
?>
<p>
- <?php echo nl2br($vars['object']); ?>
+ <?php echo autop($vars['object']); ?>
</p> \ No newline at end of file
diff --git a/views/default/output/longtext.php b/views/default/output/longtext.php
index 88c8a925c..85ab99fd4 100644
--- a/views/default/output/longtext.php
+++ b/views/default/output/longtext.php
@@ -15,5 +15,5 @@
*
*/
- echo nl2br($vars['value']);
+ echo autop($vars['value']);
?> \ No newline at end of file
diff --git a/views/default/settings/install.php b/views/default/settings/install.php
index 8de795da4..17d263349 100644
--- a/views/default/settings/install.php
+++ b/views/default/settings/install.php
@@ -12,7 +12,7 @@
*
*/
- echo "<p>" . nl2br(elgg_echo("installation:settings:description")) . "</p>";
+ echo "<p>" . autop(elgg_echo("installation:settings:description")) . "</p>";
echo elgg_view("settings/system",array("action" => "action/systemsettings/install"));
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