From 09627b07545c1c3ef13ac24bf5c496cb69c86bb6 Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 7 Jan 2011 22:18:56 +0000 Subject: 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 --- install/css/install.css | 6 ++--- views/installation/messages/errors/error.php | 15 ------------- views/installation/messages/errors/list.php | 25 --------------------- views/installation/messages/list.php | 16 -------------- views/installation/messages/messages/list.php | 28 ------------------------ views/installation/messages/messages/message.php | 15 ------------- views/installation/page/elements/messages.php | 21 ++++++++++++++++++ views/installation/page/shells/default.php | 2 +- 8 files changed, 25 insertions(+), 103 deletions(-) delete mode 100644 views/installation/messages/errors/error.php delete mode 100644 views/installation/messages/errors/list.php delete mode 100644 views/installation/messages/list.php delete mode 100644 views/installation/messages/messages/list.php delete mode 100644 views/installation/messages/messages/message.php create mode 100644 views/installation/page/elements/messages.php diff --git a/install/css/install.css b/install/css/install.css index 8ce4dfb38..016437c14 100644 --- a/install/css/install.css +++ b/install/css/install.css @@ -229,17 +229,17 @@ select { cursor: default; } -#elgg-system-message { +.elgg-system-messages li { padding: 3px 10px 3px 10px; margin-bottom: 20px; } -.success { +.elgg-state-success { border: 1px solid #00cc00; background: #ccffcc; } -.error { +.elgg-state-error { border: 1px solid #D3322A; background: #F7DAD8; } 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 @@ - - -

- -

\ 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 @@ - - -
- - $error)); - } -?> -
- 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 @@ - - -
- - $message)); - } -?> - -
- - - -

- -

\ No newline at end of file diff --git a/views/installation/page/elements/messages.php b/views/installation/page/elements/messages.php new file mode 100644 index 000000000..2a06a7b1e --- /dev/null +++ b/views/installation/page/elements/messages.php @@ -0,0 +1,21 @@ + 0) { + + echo ''; +} diff --git a/views/installation/page/shells/default.php b/views/installation/page/shells/default.php index fbc5ccbf2..abee13dba 100644 --- a/views/installation/page/shells/default.php +++ b/views/installation/page/shells/default.php @@ -40,7 +40,7 @@ header('Expires: Fri, 05 Feb 1982 00:00:00 -0500', TRUE);

- $vars['sysmessages'])); ?> + $vars['sysmessages'])); ?>
-- cgit v1.2.3