From f06d3233d2bc44ae81f06b4afe58c31da11fed53 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Mon, 20 Aug 2012 12:51:34 +0200 Subject: [PATCH] Should fix message UI see #5327 --- main/css/base.css | 6 +++--- main/messages/new_message.php | 15 ++++++++------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/main/css/base.css b/main/css/base.css index d3584e27d7..d7087862a9 100644 --- a/main/css/base.css +++ b/main/css/base.css @@ -4629,13 +4629,13 @@ i.size-32.icon-new-work{ background-image: url('../img/icons/32/new_work.png'); } - .skill_partition { cursor: pointer; stroke: #000000; stroke-width: 1.5; } -.skill_background { - background-image: -moz-linear-gradient(45deg, #555555 25%, transparent 25%, transparent), -moz-linear-gradient(-45deg, #555555 25%, transparent 25%, transparent), -moz-linear-gradient(45deg, transparent 75%, #555555 75%), -moz-linear-gradient(-45deg, transparent 75%, #555555 75%); +#filepaths input{ + margin-bottom:5px; + } \ No newline at end of file diff --git a/main/messages/new_message.php b/main/messages/new_message.php index 714abc9437..60d885ed17 100644 --- a/main/messages/new_message.php +++ b/main/messages/new_message.php @@ -109,7 +109,7 @@ function add_image_form() { filepaths.appendChild(elem1); id_elem1 = "filepath_"+counter_image; id_elem1 = "\'"+id_elem1+"\'"; - document.getElementById("filepath_"+counter_image).innerHTML = " "; + document.getElementById("filepath_"+counter_image).innerHTML = " 
'.get_lang('Description').'  

"; if (filepaths.childNodes.length == 6) { var link_attach = document.getElementById("link-more-attach"); if (link_attach) { @@ -205,13 +205,14 @@ function manage_form($default, $select_from_user_list = null, $sent_to = null) { $user_reply_info = UserManager::get_user_info_by_id($message_reply_info['user_sender_id']); $default['content'] = '
'.sprintf(get_lang('XWroteY'), api_get_person_name($user_reply_info['firstname'], $user_reply_info['lastname']), Security::filter_terms($message_reply_info['content'])); } - if (empty($group_id)) { - - + + if (empty($group_id)) { $form->addElement('advanced_settings', get_lang('FilesAttachment').' -
- -
'); +
+
+ '.get_lang('Description').'  

+
+ '); $form->addElement('advanced_settings',''.get_lang('AddOneMoreFile').' ('.sprintf(get_lang('MaximunFileSizeX'),format_file_size(api_get_setting('message_max_upload_filesize'))).')'); }