From c5cc2821311012a8a4385a304a043c4b41f2afbb Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 31 Aug 2009 19:05:21 +0000 Subject: All line endings are now Unix-style. git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/failsafe/messages/errors/error.php | 34 ++++---- views/failsafe/messages/errors/list.php | 94 ++++++++++---------- views/failsafe/messages/list.php | 44 +++++----- views/failsafe/messages/messages/list.php | 100 +++++++++++----------- views/failsafe/messages/messages/message.php | 34 ++++---- views/failsafe/messages/sanitisation/htaccess.php | 22 ++--- 6 files changed, 164 insertions(+), 164 deletions(-) (limited to 'views/failsafe/messages') diff --git a/views/failsafe/messages/errors/error.php b/views/failsafe/messages/errors/error.php index ea43f1c37..e3eb065e7 100644 --- a/views/failsafe/messages/errors/error.php +++ b/views/failsafe/messages/errors/error.php @@ -1,20 +1,20 @@ - - -

- + * @author Curverider Ltd + + * @link http://elgg.org/ + * + * @uses $vars['object'] An error message (string) + */ +?> + +

+

\ No newline at end of file diff --git a/views/failsafe/messages/errors/list.php b/views/failsafe/messages/errors/list.php index fd90a8d1f..8a4b26056 100644 --- a/views/failsafe/messages/errors/list.php +++ b/views/failsafe/messages/errors/list.php @@ -1,48 +1,48 @@ - - -
-
- - $error)); - //echo "
"; - } -?> -
-
- + +
+
+ + $error)); + //echo "
"; + } +?> +
+
+ \ No newline at end of file diff --git a/views/failsafe/messages/list.php b/views/failsafe/messages/list.php index d454841d8..dd02fdac5 100644 --- a/views/failsafe/messages/list.php +++ b/views/failsafe/messages/list.php @@ -1,25 +1,25 @@ - 0) { - - foreach($vars['object'] as $register => $list ) { - echo elgg_view("messages/{$register}/list", array('object' => $list)); - } - - } - + * @author Curverider Ltd + + * @link http://elgg.org/ + * + * @uses $vars['object'] The array of message registers + */ + + if (!empty($vars['object']) && is_array($vars['object']) && sizeof($vars['object']) > 0) { + + foreach($vars['object'] as $register => $list ) { + echo elgg_view("messages/{$register}/list", array('object' => $list)); + } + + } + ?> \ No newline at end of file diff --git a/views/failsafe/messages/messages/list.php b/views/failsafe/messages/messages/list.php index d103060b2..2cb94b4e1 100644 --- a/views/failsafe/messages/messages/list.php +++ b/views/failsafe/messages/messages/list.php @@ -1,51 +1,51 @@ - - - - -
- - $message)); - } - -?> - -
- - + + + +
+ + $message)); + } + +?> + +
+ + \ No newline at end of file diff --git a/views/failsafe/messages/messages/message.php b/views/failsafe/messages/messages/message.php index b3286e469..c63c27498 100644 --- a/views/failsafe/messages/messages/message.php +++ b/views/failsafe/messages/messages/message.php @@ -1,20 +1,20 @@ - - -

- + * @author Curverider Ltd + + * @link http://elgg.org/ + * + * @uses $vars['object'] A system message (string) + */ +?> + +

+

\ No newline at end of file diff --git a/views/failsafe/messages/sanitisation/htaccess.php b/views/failsafe/messages/sanitisation/htaccess.php index 5bfbb38f8..b8800c9be 100644 --- a/views/failsafe/messages/sanitisation/htaccess.php +++ b/views/failsafe/messages/sanitisation/htaccess.php @@ -1,17 +1,17 @@ - \ No newline at end of file -- cgit v1.2.3