mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 03:37:02 +02:00
major rewrite of the web interface
This commit is contained in:
@ -9,8 +9,8 @@
|
||||
|
||||
<p>
|
||||
<a class="messagelink" href="/index.php?route=message/download&id=<?php print $id; ?>"><?php print $text_download_message; ?></a> |
|
||||
<a class="messagelink" href="/index.php?route=message/restore&id=<?php print $id; ?>"><?php print $text_restore_to_mailbox; ?></a> |
|
||||
<a class="messagelink" href="/message.php/<?php print $id; ?>"><?php print $text_view_message; ?></a>
|
||||
<a class="messagelink" href="#" onclick="script:load_url_with_get('<?php print SITE_URL; ?>index.php?route=message/restore&id=<?php print $id; ?>', 'mailpreviewframe'); return false;"><?php print $text_restore_to_mailbox; ?></a> |
|
||||
<a class="messagelink" href="#" onclick="script:load_url_with_get('<?php print SITE_URL; ?>message.php/<?php print $id; ?>', 'mailpreviewframe'); return false;"><?php print $text_view_message; ?></a>
|
||||
</p>
|
||||
|
||||
<pre><?php print $data; ?></pre>
|
||||
|
@ -9,8 +9,8 @@
|
||||
|
||||
<p>
|
||||
<a class="messagelink" href="/index.php?route=message/download&id=<?php print $id; ?>"><?php print $text_download_message; ?></a> |
|
||||
<a class="messagelink" href="/message.php/<?php print $id; ?>"><?php print $text_view_message; ?></a> |
|
||||
<a class="messagelink" href="/index.php?route=message/headers&id=<?php print $id; ?>"><?php print $text_view_headers; ?></a>
|
||||
<a class="messagelink" href="#" onclick="script:load_url_with_get('<?php print SITE_URL; ?>message.php/<?php print $id; ?>', 'mailpreviewframe'); return false;"><?php print $text_view_message; ?></a> |
|
||||
<a class="messagelink" href="#" onclick="script:load_url_with_get('<?php print SITE_URL; ?>/index.php?route=message/headers&id=<?php print $id; ?>', 'mailpreviewframe'); return false;"><?php print $text_view_headers; ?></a>
|
||||
</p>
|
||||
|
||||
<p><?php print $data; ?></p>
|
||||
|
@ -1,33 +1,14 @@
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/style-<?php print THEME; ?>.css" />
|
||||
</head>
|
||||
|
||||
<body style="background: white;">
|
||||
|
||||
<div id="messagepopup">
|
||||
|
||||
<p>
|
||||
<a class="messagelink" href="/index.php?route=message/download&id=<?php print $id; ?>"><?php print $text_download_message; ?></a> |
|
||||
<a class="messagelink" href="/index.php?route=message/restore&id=<?php print $id; ?>"><?php print $text_restore_to_mailbox; ?></a> |
|
||||
<a class="messagelink" href="/index.php?route=message/headers&id=<?php print $id; ?>"><?php print $text_view_headers; ?></a>
|
||||
<a class="messagelink" href="#" onclick="script:load_url_with_get('<?php print SITE_URL; ?>/index.php?route=message/restore&id=<?php print $id; ?>', 'mailpreviewframe'); return false;"><?php print $text_restore_to_mailbox; ?></a> |
|
||||
<a class="messagelink" href="#" onclick="script:load_url_with_get('<?php print SITE_URL; ?>/index.php?route=message/headers&id=<?php print $id; ?>', 'mailpreviewframe'); return false;"><?php print $text_view_headers; ?></a>
|
||||
</p>
|
||||
|
||||
<strong><?php if($message['subject'] == "" || $message['subject'] == "Subject:") { print "<" . $text_no_subject . ">"; } 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>
|
||||
<strong><?php print $message['date']; ?></strong> <?php print $text_notes; ?>: <input type="text" size="60" id="note" name="note" class="advtextgrey" style="width: 500px;margin: 0px; color: #000000; height:10px;" value="<?php print $message['note']; ?>" /> <input type="button" value="<?php print $text_save; ?>" style="vertical-align: middle; font: bold 11px Arial, sans-serif; height:16px;" onclick="javascript:var p = 'id=<?php print $id; ?>¬e=' + encodeURI(document.getElementById('note').value); send_ajax_post_request('<?php print MESSAGE_NOTE_URL; ?>', p); show_message('messagebox1', '<p>SAVED</p>', 0.85); " /><br />
|
||||
|
||||
<hr />
|
||||
|
||||
<?php print $message['message']; ?><br />
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user