Fixed attachment icons

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2020-03-15 11:17:15 +01:00
parent 51a3ee72d7
commit 181f662c3d
2 changed files with 3 additions and 2 deletions

View File

@ -14,3 +14,4 @@
.danger{color:red;} .danger{color:red;}
.message_highlight{background:lightblue;} .message_highlight{background:lightblue;}
#restorebox{display:none;} #restorebox{display:none;}
i.attachment{color:#2e8bcc;}

View File

@ -79,8 +79,8 @@
<?php if(strlen($message['cc']) > 6) { ?><strong><?php print $message['cc']; ?></strong><br /><?php } ?> <?php if(strlen($message['cc']) > 6) { ?><strong><?php print $message['cc']; ?></strong><br /><?php } ?>
<strong><?php print $message['date']; ?></strong><br /> <strong><?php print $message['date']; ?></strong><br />
<?php foreach($attachments as $a) { ?> <?php foreach($attachments as $a) { ?>
<span><i class="attachment icon-paper-clip icon-large" title="Message Attachment"></i>&nbsp;<a href="index.php?route=message/attachment&id=<?php print $a['id']; ?>"><?php print $a['name']; ?></a></span> <span><i class="attachment glyphicon glyphicon-paperclip" title="Message Attachment"></i>&nbsp;<a href="index.php?route=message/attachment&id=<?php print $a['id']; ?>"><?php print $a['name']; ?></a></span>
<?php } ?><?php if(count($attachments) > 1) { ?>| <a href="index.php?route=message/attachments&id=<?php print $id; ?>"><i class="icon-briefcase"></i></a><?php } ?><br/> <?php } ?><?php if(count($attachments) > 1) { ?>| <a href="index.php?route=message/attachments&id=<?php print $id; ?>"><i class="glyphicon glyphicon-briefcase"></i></a><?php } ?><br/>
</div> </div>
<div class="messagecontents"> <div class="messagecontents">
<?php print $message['message']; ?> <?php print $message['message']; ?>