[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail:[14872] branches/SM-1_4-STABLE/squirrelmail/ functions/mime.php
From:       pdontthink--- via squirrelmail-cvs <squirrelmail-cvs () lists ! sourceforge ! net>
Date:       2020-11-03 19:49:34
Message-ID: 1604432974.619671.13414 () sfp-scm-4 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]

Revision: 14872
          http://sourceforge.net/p/squirrelmail/code/14872
Author:   pdontthink
Date:     2020-11-03 19:49:34 +0000 (Tue, 03 Nov 2020)
Log Message:
-----------
Allow plugins to add JavaScript or other anchor link attributes

Modified Paths:
--------------
    branches/SM-1_4-STABLE/squirrelmail/functions/mime.php

Modified: branches/SM-1_4-STABLE/squirrelmail/functions/mime.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/functions/mime.php	2020-07-11 07:52:44 UTC \
                (rev 14871)
+++ branches/SM-1_4-STABLE/squirrelmail/functions/mime.php	2020-11-03 19:49:34 UTC \
(rev 14872) @@ -567,7 +567,9 @@
             } else {
                 $attachments .= '&nbsp;&nbsp;|&nbsp;&nbsp;';
             }
-            $attachments .= '<a href="' . $val['href'] . '">' .  $val['text'] . \
'</a>'; +            $attachments .= '<a href="' . $val['href'] . '" '
+                         . (!empty($val['extra']) ? $val['extra'] : '')
+                         . '>' .  $val['text'] . '</a>';
         }
         unset($links);
         $attachments .= "</td></tr>\n";

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.



-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
                https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic