diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-26 23:29:27 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-26 23:29:27 +0000 |
commit | aeee52fb2992b060b80ec58a4da5216bf426993e (patch) | |
tree | 696b08659f323e8ae35d550c5b07deb39d3dee79 /mod | |
parent | 1bf194e07738873220822383d634472e961cfa7f (diff) | |
download | elgg-aeee52fb2992b060b80ec58a4da5216bf426993e.tar.gz elgg-aeee52fb2992b060b80ec58a4da5216bf426993e.tar.bz2 |
forcing a min-height on inbox list in messages plugin
git-svn-id: http://code.elgg.org/elgg/trunk@8861 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/messages/languages/en.php | 2 | ||||
-rw-r--r-- | mod/messages/views/default/forms/messages/process.php | 9 | ||||
-rw-r--r-- | mod/messages/views/default/messages/css.php | 4 |
3 files changed, 12 insertions, 3 deletions
diff --git a/mod/messages/languages/en.php b/mod/messages/languages/en.php index 4ad6b7617..8e4cd015f 100644 --- a/mod/messages/languages/en.php +++ b/mod/messages/languages/en.php @@ -85,7 +85,7 @@ $english = array( 'messages:notfound' => "Sorry; we could not find the specified message.", 'messages:notdeleted' => "Sorry; we could not delete this message.", 'messages:nopermission' => "You do not have permission to alter that message.", - 'messages:nomessages' => "There are no messages to display.", + 'messages:nomessages' => "There are no messages.", 'messages:user:nonexist' => "We could not find the recipient in the user database.", 'messages:user:blank' => "You did not select someone to send this to.", ); diff --git a/mod/messages/views/default/forms/messages/process.php b/mod/messages/views/default/forms/messages/process.php index 8eab26297..01fe0f431 100644 --- a/mod/messages/views/default/forms/messages/process.php +++ b/mod/messages/views/default/forms/messages/process.php @@ -8,7 +8,14 @@ * */ -echo $vars['list']; +$messages = $vars['list']; +if (!$messages) { + $messages = elgg_echo('messages:nomessages'); +} + +echo '<div class="messages-container">'; +echo $messages; +echo '</div>'; echo '<div class="messages-buttonbank">'; echo elgg_view('input/submit', array( diff --git a/mod/messages/views/default/messages/css.php b/mod/messages/views/default/messages/css.php index 6f2e532e4..95f911451 100644 --- a/mod/messages/views/default/messages/css.php +++ b/mod/messages/views/default/messages/css.php @@ -6,7 +6,9 @@ */ ?> - +.messages-container { + min-height: 200px; +} .message.unread a { color: #d40005; } |