mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:50:11 +01:00
gui fixes
This commit is contained in:
parent
aaeedb7305
commit
0c7a366edf
@ -83,7 +83,7 @@ function isBinary($num = '') {
|
|||||||
function get_page_length() {
|
function get_page_length() {
|
||||||
$page_len = PAGE_LEN;
|
$page_len = PAGE_LEN;
|
||||||
|
|
||||||
if(isset($_SESSION['pagelen']) && is_numeric($_SESSION['pagelen']) && $_SESSION['pagelen'] >= 10 && $_SESSION['pagelen'] <= 50) {
|
if(isset($_SESSION['pagelen']) && is_numeric($_SESSION['pagelen']) && $_SESSION['pagelen'] >= 10 && $_SESSION['pagelen'] <= MAX_SEARCH_HITS) {
|
||||||
$page_len = $_SESSION['pagelen'];
|
$page_len = $_SESSION['pagelen'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,9 +144,9 @@
|
|||||||
.sleek { margin:0; padding:0; }
|
.sleek { margin:0; padding:0; }
|
||||||
.with20margin{ margin-left:20%; margin-right:20%; }
|
.with20margin{ margin-left:20%; margin-right:20%; }
|
||||||
|
|
||||||
#notesbox { position:absolute; top:8px; right:8px; }
|
#notesbox { position:absolute; top: 8px; right: 8px; }
|
||||||
|
.messageheader { margin-left: 5px; }
|
||||||
.messagecontents {background-color:#fff; padding:8px; font-size:14px; font-family: "Trebuchet MS", Arial, Verdana; }
|
.messagecontents { background-color:#fff; padding:8px; font-size:14px; font-family: "Trebuchet MS", Arial, Verdana; }
|
||||||
|
|
||||||
|
|
||||||
/* rc splitter stuff */
|
/* rc splitter stuff */
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
<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/download&id=<?php print $id; ?>"><i class="icon-download"></i> <?php print $text_download_message; ?></a> |
|
||||||
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
||||||
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><?php print $text_restore_to_mailbox; ?></a> |
|
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><?php print $text_restore_to_mailbox; ?></a> |
|
<a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
||||||
<?php } } ?>
|
<?php } } ?>
|
||||||
<a class="messagelink" href="#" onclick="Piler.view_message(<?php print $id; ?>);"><?php print $text_view_message; ?></a>
|
<a class="messagelink" href="#" onclick="Piler.view_message(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_message; ?></a>
|
||||||
<?php if($message['has_journal'] == 1 && Registry::get('auditor_user') == 1 && SHOW_ENVELOPE_JOURNAL == 1) { ?>
|
<?php if($message['has_journal'] == 1 && Registry::get('auditor_user') == 1 && SHOW_ENVELOPE_JOURNAL == 1) { ?>
|
||||||
| <a class="messagelink" href="#" onclick="Piler.view_journal(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_journal_envelope; ?></a>
|
| <a class="messagelink" href="#" onclick="Piler.view_journal(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_journal_envelope; ?></a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
@ -11,14 +11,14 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
<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/download&id=<?php print $id; ?>"><i class="icon-download"></i> <?php print $text_download_message; ?></a> |
|
||||||
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
||||||
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><?php print $text_restore_to_mailbox; ?></a> |
|
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><?php print $text_restore_to_mailbox; ?></a> |
|
<a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
||||||
<?php } } ?>
|
<?php } } ?>
|
||||||
<a class="messagelink" href="#" onclick="Piler.view_headers(<?php print $id; ?>);"><?php print $text_view_headers; ?></a> |
|
<a class="messagelink" href="#" onclick="Piler.view_headers(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_headers; ?></a> |
|
||||||
<a class="messagelink" href="#" onclick="Piler.view_message(<?php print $id; ?>);"><?php print $text_view_message; ?></a>
|
<a class="messagelink" href="#" onclick="Piler.view_message(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_message; ?></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre><?php print $data; ?></pre>
|
<pre><?php print $data; ?></pre>
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
<div id="messagepopup">
|
<div id="messagepopup">
|
||||||
|
|
||||||
<p>
|
<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/download&id=<?php print $id; ?>"><i class="icon-download"></i> <?php print $text_download_message; ?></a> |
|
||||||
<a class="messagelink" href="#" onclick="Piler.view_message(<?php print $id; ?>);"><?php print $text_view_message; ?></a> |
|
<a class="messagelink" href="#" onclick="Piler.view_message(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_message; ?></a> |
|
||||||
<a class="messagelink" href="#" onclick="Piler.view_headers(<?php print $id; ?>);"><?php print $text_view_headers; ?></a>
|
<a class="messagelink" href="#" onclick="Piler.view_headers(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_headers; ?></a>
|
||||||
<?php if($message['has_journal'] == 1 && Registry::get('auditor_user') == 1 && SHOW_ENVELOPE_JOURNAL == 1) { ?>
|
<?php if($message['has_journal'] == 1 && Registry::get('auditor_user') == 1 && SHOW_ENVELOPE_JOURNAL == 1) { ?>
|
||||||
| <a class="messagelink" href="#" onclick="Piler.view_journal(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_journal_envelope; ?></a>
|
| <a class="messagelink" href="#" onclick="Piler.view_journal(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_journal_envelope; ?></a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
@ -13,15 +13,15 @@
|
|||||||
<div class="messageheader">
|
<div class="messageheader">
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a class="messagelink" href="index.php?route=message/download&id=<?php print $id; ?>"><i class="icon-cloud-download"></i> <?php print $text_download_message; ?></a> |
|
<a class="messagelink" href="index.php?route=message/download&id=<?php print $id; ?>"><i class="icon-download"></i> <?php print $text_download_message; ?></a> |
|
||||||
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { if(Registry::get('auditor_user') == 1) { ?>
|
||||||
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-reply"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><i class="icon-reply"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
<a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><i class="icon-gift"></i> <?php print $text_restore_to_mailbox; ?></a> |
|
||||||
<?php } } ?>
|
<?php } } ?>
|
||||||
<a class="messagelink" href="#" onclick="Piler.view_headers(<?php print $id; ?>);"><i class="icon-envelope-alt"></i> <?php print $text_view_headers; ?></a>
|
<a class="messagelink" href="#" onclick="Piler.view_headers(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_headers; ?></a>
|
||||||
<?php if($message['has_journal'] == 1 && Registry::get('auditor_user') == 1 && SHOW_ENVELOPE_JOURNAL == 1) { ?>
|
<?php if($message['has_journal'] == 1 && Registry::get('auditor_user') == 1 && SHOW_ENVELOPE_JOURNAL == 1) { ?>
|
||||||
| <a class="messagelink" href="#" onclick="Piler.view_journal(<?php print $id; ?>);"><i class="icon-envelope-alt"></i> <?php print $text_view_journal_envelope; ?></a>
|
| <a class="messagelink" href="#" onclick="Piler.view_journal(<?php print $id; ?>);"><i class="icon-envelope"></i> <?php print $text_view_journal_envelope; ?></a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
| <a href="#" onclick="Piler.print_div('messageblock');"><i class="icon-print"></i> <?php print $text_print_message; ?></a>
|
| <a href="#" onclick="Piler.print_div('messageblock');"><i class="icon-print"></i> <?php print $text_print_message; ?></a>
|
||||||
|
|
||||||
@ -47,9 +47,10 @@
|
|||||||
<strong><?php print $message['to']; ?></strong><br />
|
<strong><?php print $message['to']; ?></strong><br />
|
||||||
<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> <a href="index.php?route=message/attachment&id=<?php print $a['id']; ?>"><?php print $a['name']; ?></a></span>
|
<span><img src="<?php print ICON_ATTACHMENT; ?>" /><a href="index.php?route=message/attachment&id=<?php print $a['id']; ?>"><?php print $a['name']; ?></a></span>
|
||||||
<?php } ?><br/>
|
<?php } ?><br/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="messagecontents">
|
<div class="messagecontents">
|
||||||
<?php print $message['message']; ?>
|
<?php print $message['message']; ?>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user