noalyss-commit
[Top][All Lists]
Advanced

[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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]