[prev in list] [next in list] [prev in thread] [next in thread]
List: squirrelmail-cvs
Subject: [SM-CVS] SF.net SVN: squirrelmail:[14912] branches/SM-1_4-STABLE/squirrelmail/ functions/mime.php
From: pdontthink--- via squirrelmail-cvs <squirrelmail-cvs () lists ! sourceforge ! net>
Date: 2021-04-12 3:16:43
Message-ID: 1618197403.154326.20422 () sfp-scm-4 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]
Revision: 14912
http://sourceforge.net/p/squirrelmail/code/14912
Author: pdontthink
Date: 2021-04-12 03:16:42 +0000 (Mon, 12 Apr 2021)
Log Message:
-----------
Allow plugins to add non-link text for attachments
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 2021-03-31 05:20:39 UTC \
(rev 14911)
+++ branches/SM-1_4-STABLE/squirrelmail/functions/mime.php 2021-04-12 03:16:42 UTC \
(rev 14912) @@ -568,9 +568,14 @@
} else {
$attachments .= ' | ';
}
- $attachments .= '<a href="' . $val['href'] . '" '
- . (!empty($val['extra']) ? $val['extra'] : '')
- . '>' . $val['text'] . '</a>';
+ if (empty($val['href']))
+ $attachments .= '<span '
+ . (!empty($val['extra']) ? $val['extra'] : '')
+ . '>' . $val['text'] . '</span>';
+ else
+ $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