petite correction d'affichage de msgs

This commit is contained in:
quenenni 2017-08-21 17:50:57 +02:00
parent f92f92d34e
commit 7dce491b10
2 changed files with 4 additions and 5 deletions

View File

@ -59,7 +59,7 @@ if ($domain=$dom->get_domain_byid($domain_id)) {
echo '<h3>'._("Manage Catch-all")."</h3>"; echo '<h3>'._("Manage Catch-all")."</h3>";
} }
echo $msg->msg_html_all(); echo $msg->msg_html_all("<li>", true, true);
?> ?>
</td> </td>
</tr> </tr>
@ -85,9 +85,8 @@ echo $msg->msg_html_all();
<h3><?php printf(_("Email addresses of the domain %s"),$domain); ?> : </h3> <h3><?php printf(_("Email addresses of the domain %s"),$domain); ?> : </h3>
<?php <?php
if (empty($allmails_list) && empty($search)) { if (empty($allmails_list) && empty($search)) {
echo "<p><i>"; $msg->raise('Error', 'mail', _("No mails for this domain."));
__("No mails for this domain."); echo $msg->msg_html_all();
echo "</i></p><br/>";
} else { } else {
?> ?>

View File

@ -465,7 +465,7 @@ ORDER BY
* OR when the DOMAIN class tells us we don't host the emails of this domain anymore. * OR when the DOMAIN class tells us we don't host the emails of this domain anymore.
* @param $dom the ID of the domain to delete * @param $dom the ID of the domain to delete
* @return boolean if the email has been properly deleted * @return boolean if the email has been properly deleted
* or false if an error occured ($err is filled accordingly) * or false if an error occured ($msg is filled accordingly)
*/ */
function hook_dom_del_mx_domain($dom_id) { function hook_dom_del_mx_domain($dom_id) {
global $db; global $db;