From 00b933ad3454b77a70c755a8a8d37583d4ed7976 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 12 Apr 2021 04:28:53 +0000 Subject: [PATCH] Allow plugins to add non-link text for attachments git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14913 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default/read_attachments.tpl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/default/read_attachments.tpl b/templates/default/read_attachments.tpl index 65fb4e6d..3cb06520 100644 --- a/templates/default/read_attachments.tpl +++ b/templates/default/read_attachments.tpl @@ -81,10 +81,11 @@ if (count($attachments)==0) { } foreach ($attachment['OtherLinks'] as $link) { - ?> -  |  - > - ' . $link['Text'] . ''; + else + echo '' . $link['Text'] . ''; } ?> -- 2.25.1