aboutsummaryrefslogtreecommitdiff
path: root/views/installation/messages
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-07 22:18:56 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-07 22:18:56 +0000
commit09627b07545c1c3ef13ac24bf5c496cb69c86bb6 (patch)
treee1d3f95efc4b035cd2f1dbd0898629ed65104825 /views/installation/messages
parent101c850e6723d55759a6cf75965a2473ec2a55d5 (diff)
downloadelgg-09627b07545c1c3ef13ac24bf5c496cb69c86bb6.tar.gz
elgg-09627b07545c1c3ef13ac24bf5c496cb69c86bb6.tar.bz2
Fixes #2783 - updated installation message code to mirror default views
git-svn-id: http://code.elgg.org/elgg/trunk@7861 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/installation/messages')
-rw-r--r--views/installation/messages/errors/error.php15
-rw-r--r--views/installation/messages/errors/list.php25
-rw-r--r--views/installation/messages/list.php16
-rw-r--r--views/installation/messages/messages/list.php28
-rw-r--r--views/installation/messages/messages/message.php15
5 files changed, 0 insertions, 99 deletions
diff --git a/views/installation/messages/errors/error.php b/views/installation/messages/errors/error.php
deleted file mode 100644
index 296fb1a6e..000000000
--- a/views/installation/messages/errors/error.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-/**
- * Elgg error message
- * Displays a single error message
- *
- * @package Elgg
- * @subpackage Core
- *
- * @uses $vars['object'] An error message (string)
- */
-?>
-
-<p>
- <?php echo $vars['object']; ?>
-</p> \ No newline at end of file
diff --git a/views/installation/messages/errors/list.php b/views/installation/messages/errors/list.php
deleted file mode 100644
index 2f69213e9..000000000
--- a/views/installation/messages/errors/list.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-/**
- * Elgg list errors
- * Lists error messages
- *
- * @package Elgg
- * @subpackage Core
- *
- * @uses $vars['object'] An array of error messages
- */
-
-if (!empty($vars['object']) && is_array($vars['object'])) {
-
-?>
-
- <div class="messages error">
-
-<?php
- foreach ($vars['object'] as $error) {
- echo elgg_view('messages/errors/error', array('object' => $error));
- }
-?>
- </div>
-<?php
-} \ No newline at end of file
diff --git a/views/installation/messages/list.php b/views/installation/messages/list.php
deleted file mode 100644
index 2944ce5a6..000000000
--- a/views/installation/messages/list.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-/**
- * Elgg global system message list
- * Lists all system messages
- *
- * @package Elgg
- * @subpackage Core
- *
- * @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/installation/messages/messages/list.php b/views/installation/messages/messages/list.php
deleted file mode 100644
index bd996bef7..000000000
--- a/views/installation/messages/messages/list.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * Elgg list system messages
- * Lists system messages
- *
- * @package Elgg
- * @subpackage Core
- *
- * @uses $vars['object'] An array of system messages
- */
-
-if (!empty($vars['object']) && is_array($vars['object'])) {
-
-?>
-
- <div class="messages success">
-
-<?php
- foreach($vars['object'] as $message) {
- echo elgg_view('messages/messages/message',array('object' => $message));
- }
-?>
-
- </div>
-
-<?php
-
-} \ No newline at end of file
diff --git a/views/installation/messages/messages/message.php b/views/installation/messages/messages/message.php
deleted file mode 100644
index 94c9303cd..000000000
--- a/views/installation/messages/messages/message.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-/**
- * Elgg standard message
- * Displays a single Elgg system message
- *
- * @package Elgg
- * @subpackage Core
- *
- * @uses $vars['object'] A system message (string)
- */
-?>
-
-<p>
- <?php echo nl2br($vars['object']); ?>
-</p> \ No newline at end of file