piler/webui/view/theme/default/templates/message/view.tpl

34 lines
1.3 KiB
Smarty
Raw Normal View History

2012-02-08 23:14:28 +01:00
<html>
<head>
2012-02-10 14:06:00 +01:00
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/style-<?php print THEME; ?>.css" />
2012-02-08 23:14:28 +01:00
</head>
<body style="background: white;">
<div id="messagepopup">
<p>
<a class="messagelink" href="/index.php?route=message/download&amp;id=<?php print $id; ?>"><?php print $text_download_message; ?></a> |
<a class="messagelink" href="/index.php?route=message/restore&amp;id=<?php print $id; ?>"><?php print $text_restore_to_mailbox; ?></a> |
<a class="messagelink" href="/index.php?route=message/headers&amp;id=<?php print $id; ?>"><?php print $text_view_headers; ?></a>
</p>
<strong><?php if($message['subject'] == "" || $message['subject'] == "Subject:") { print "&lt;" . $text_no_subject . "&gt;"; } else { print $message['subject']; } ?></strong><br />
<strong><?php print $message['from']; ?></strong><br />
<strong><?php print $message['to']; ?></strong><br />
<strong><?php print $message['date']; ?></strong><br />
<form action="/index.php?route=message/view" method="post" name="tag">
<input type="hidden" name="id" value="<?php print $id; ?>" />
<p><?php print $text_tags; ?>: <input type="text" name="tag" id="tag" value="<?php print $message['tag']; ?>" size="50" /> <input type="submit" value="<?php print $text_submit; ?>" /></p>
</form>
<hr />
<?php print $message['message']; ?><br />
</div>
</body>
</html>