mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Merge branch '2435-Botones-superpuestos-mensajeria-interna-pandora' into 'develop'
fixed visual bug: buttons in message edit bad positioned See merge request artica/pandorafms!1601
This commit is contained in:
commit
01d5c2fce9
@ -103,23 +103,23 @@ if ($read_message) {
|
|||||||
//Start the message much like an e-mail reply
|
//Start the message much like an e-mail reply
|
||||||
$new_msg = "\n\n\nOn ".date ($config["date_format"], $message["timestamp"]).' '.$user_name.' '.__('wrote').":\n\n".$message["mensaje"];
|
$new_msg = "\n\n\nOn ".date ($config["date_format"], $message["timestamp"]).' '.$user_name.' '.__('wrote').":\n\n".$message["mensaje"];
|
||||||
|
|
||||||
echo '<form method="post" action="index.php?sec=message_list&sec2=operation/messages/message_list&show_sent=1&delete_message=1&id='.$message_id.'">';
|
echo '<form id="delete_message" method="post" action="index.php?sec=message_list&sec2=operation/messages/message_list&show_sent=1&delete_message=1&id='.$message_id.'">';
|
||||||
html_print_table($table);
|
html_print_table($table);
|
||||||
echo "<div style=' text-align: right; width:" . $table->width . "'>";
|
|
||||||
html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"');
|
|
||||||
echo "</div>";
|
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
||||||
echo '<form method="post" action="index.php?sec=message_list&sec2=operation/messages/message_edit&new_msg=1&reply=1">';
|
echo '<form id="reply_message" method="post" action="index.php?sec=message_list&sec2=operation/messages/message_edit&new_msg=1&reply=1">';
|
||||||
html_print_input_hidden ("dst_user", $message["id_usuario_origen"]);
|
html_print_input_hidden ("dst_user", $message["id_usuario_origen"]);
|
||||||
html_print_input_hidden ("subject", $new_subj);
|
html_print_input_hidden ("subject", $new_subj);
|
||||||
html_print_input_hidden ("message", $new_msg);
|
html_print_input_hidden ("message", $new_msg);
|
||||||
html_print_input_hidden ("orig_user", $message["id_usuario_destino"]);
|
html_print_input_hidden ("orig_user", $message["id_usuario_destino"]);
|
||||||
echo "<div style='text-align: right; width:" . $table->width . "'>";
|
|
||||||
html_print_submit_button (__('Reply'), 'reply', false, 'class="sub next"');
|
|
||||||
echo '</div>';
|
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
|
|
||||||
|
echo "<div class= 'action-buttons' style=' width:" . $table->width . "'>";
|
||||||
|
html_print_submit_button(__('Delete'), 'delete_btn', false, 'form="delete_message" class="sub delete"');
|
||||||
|
echo " ";
|
||||||
|
html_print_submit_button (__('Reply'), 'reply', false, 'form="reply_message" class="sub next"');
|
||||||
|
echo "</div>";
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user