[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/07: Cosmetic email
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 04/07: Cosmetic email |
Date: |
Fri, 30 Sep 2022 09:35:56 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 9b6663aa9be05e7fae686f4c9089f68697ebd225
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Sep 19 17:02:49 2022 +0200
Cosmetic email
---
include/lib/ac_common.php | 1 +
include/template/contact-summary.php | 8 +-------
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/include/lib/ac_common.php b/include/lib/ac_common.php
index 3b6eb3237..a6955346d 100644
--- a/include/lib/ac_common.php
+++ b/include/lib/ac_common.php
@@ -1654,6 +1654,7 @@ function mailTo($p_email) {
$r.=sprintf('<a href="mailto:%s">%s</a> ',h($email),h($email));
} else {
$r.=sprintf("%s",h($email));
+ $r.=Icon_Action::warnbulle(83);
}
diff --git a/include/template/contact-summary.php
b/include/template/contact-summary.php
index b4ebb3fa6..317e7d1ec 100644
--- a/include/template/contact-summary.php
+++ b/include/template/contact-summary.php
@@ -72,13 +72,7 @@ $from=$http->request("ac","string","");
</td>
<td>
<?php
- $result=mailTo($contact['contact_email']);
- if ($result) {
- echo $result;
- } else {
- echo $contact['contact_email'];
- echo Icon_Action::warnbulle(83);
- }
+ echo mailTo($contact['contact_email']);
?>
</td>
<td>
- [Noalyss-commit] [noalyss] branch master updated (4e87d72e8 -> e133e0ca8), Dany De Bontridder, 2022/09/30
- [Noalyss-commit] [noalyss] 03/07: Cosmetic, Dany De Bontridder, 2022/09/30
- [Noalyss-commit] [noalyss] 01/07: Cosmetic Bug : empty is filled with the last value, Dany De Bontridder, 2022/09/30
- [Noalyss-commit] [noalyss] 02/07: Optional attribute for using quantity, Dany De Bontridder, 2022/09/30
- [Noalyss-commit] [noalyss] 04/07: Cosmetic email,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/07: Bug #0002197: Journaux désactivés encore partiellement visibles, Dany De Bontridder, 2022/09/30
- [Noalyss-commit] [noalyss] 06/07: Cosmetic Bug : card box too small, Dany De Bontridder, 2022/09/30
- [Noalyss-commit] [noalyss] 07/07: Improve DEBUG, Dany De Bontridder, 2022/09/30