-
Notifications
You must be signed in to change notification settings - Fork 127
/
message.html.php
112 lines (109 loc) · 3.4 KB
/
message.html.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?php echo $this->status ?>
<div id="dimpLoading">
<?php echo _("Loading...") ?>
</div>
<div id="msgData" style="display:none">
<div class="horde-buttonbar">
<div class="iconImg headercloseimg closeImg" id="windowclose" title="X"></div>
<ul>
<li class="horde-icon">
<?php echo $this->actionButton(array('icon' => 'Reply', 'id' => 'reply_link', 'title' => _("Reply"))) ?>
</li>
<li class="horde-icon">
<?php echo $this->actionButton(array('icon' => 'Forward', 'id' => 'forward_link', 'title' => _("Forward"))) ?>
</li>
<?php if ($this->show_spam): ?>
<li class="horde-icon">
<?php echo $this->actionButton(array('icon' => 'Spam', 'id' => 'button_spam', 'title' => _("Spam"))) ?>
</li>
<?php endif; ?>
<?php if ($this->show_innocent): ?>
<li class="horde-icon">
<?php echo $this->actionButton(array('icon' => 'Innocent', 'id' => 'button_innocent', 'title' => _("Innocent"))) ?>
</li>
<?php endif; ?>
<?php if ($this->show_delete): ?>
<li class="horde-icon">
<?php echo $this->actionButton(array('icon' => 'Delete', 'id' => 'button_delete', 'title' => _("Delete"))) ?>
</li>
<?php endif; ?>
</ul>
</div>
<div class="msgfullread">
<div class="msgHeaders">
<div id="msgHeaders">
<div class="dimpOptions">
<?php if ($this->show_view_source): ?>
<div>
<span id="msg_view_source">
<span class="iconImg"></span>
<a><?php echo _("View Source") ?></a>
</span>
</div>
<?php endif; ?>
<div>
<span>
<span class="iconImg saveAsImg"></span>
<a href="<?php echo $this->save_as ?>"><?php echo _("Save") ?></a>
</span>
</div>
<?php if ($this->show_view_all): ?>
<div>
<span id="msg_all_parts">
<span class="iconImg"></span>
<a><?php echo _("View All Parts") ?></a>
</span>
</div>
<?php endif; ?>
<?php if ($this->listinfo): ?>
<div>
<span id="msg_listinfo">
<span class="iconImg"></span>
<a href="#" onclick="<?php echo $this->listinfo ?>"><?php echo _("List Info") ?></a>
</span>
</div>
<?php endif; ?>
</div>
<div>
<div class="subject allowTextSelection"><?php echo $this->subject ?></div>
<table>
<thead>
<?php foreach ($this->hdrs as $val): ?>
<tr<?php if (!empty($val['id'])) echo ' id="' . $val['id'] . '"'; ?>>
<td class="label"><?php echo $val['label'] ?>:</td>
<td class="allowTextSelection"><?php echo $val['val'] ?></td>
</tr>
<?php endforeach; ?>
<tr id="msgHeaderAtc"<?php if (!isset($this->atc_label)) echo ' style="display:none"'; ?>>
<td class="label">
<?php echo _("Attachments") ?>:
<?php if (isset($this->atc_download)): ?>
<br />
<?php echo $this->atc_download ?>
<?php endif; ?>
</td>
<td>
<div id="partlist">
<table>
<?php foreach ($this->atc_list as $val): ?>
<tr>
<td><?php echo $val['icon'] ?></td>
<td><?php echo $val['description'] ?> (<?php echo $val['size'] ?>)</td>
<td><?php echo $val['download'] ?> <?php if (!empty($val['download_zip'])) { echo $val['download_zip']; } ?></td>
</tr>
<?php endforeach ?>
</table>
</div>
</td>
</tr>
</thead>
</table>
<ul id="msgloglist" style="display:none"></ul>
</div>
</div>
</div>
<div class="messageBody allowTextSelection">
<?php echo $this->msgtext ?>
</div>
</div>
</div>