mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:47:02 +02:00
added outlook support to the piler gui
This commit is contained in:
@ -16,7 +16,6 @@ var Piler =
|
||||
folders: '',
|
||||
extra_folders: '',
|
||||
|
||||
|
||||
/*
|
||||
* variables used at search listing
|
||||
*/
|
||||
@ -1047,7 +1046,7 @@ var Piler =
|
||||
|
||||
document.body.style.cursor = 'wait';
|
||||
|
||||
jQuery.ajax('qr.php?refresh=1', { cache: true })
|
||||
jQuery.ajax('qr.php?refresh=1', { cache: false })
|
||||
.done( function(a) {
|
||||
$('#QR').html(a);
|
||||
document.body.style.cursor = 'default';
|
||||
@ -1065,14 +1064,21 @@ var Piler =
|
||||
|
||||
Piler.log("[toggle GA]", ga);
|
||||
|
||||
jQuery.ajax('qr.php?toggle=' + ga, { cache: true })
|
||||
jQuery.ajax('qr.php?toggle=' + ga, { cache: false })
|
||||
.done( function(a) {
|
||||
})
|
||||
.fail(function(a, b) { alert("Problem retrieving XML data:" + b) });
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
fix_page: function()
|
||||
{
|
||||
<?php if(OUTLOOK == 1) { ?>
|
||||
$('#mainscreen').css('top', '60px');
|
||||
<?php } ?>
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -40,9 +40,11 @@
|
||||
|
||||
<div id="piler1" class="container">
|
||||
|
||||
<?php if(OUTLOOK == 0) { ?>
|
||||
<div id="menu">
|
||||
<?php print $menu; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div id="expertsearch">
|
||||
|
||||
@ -56,7 +58,9 @@
|
||||
|
||||
<input type="text" id="_search" name="_search" class="input-medium span6" value="" placeholder="<?php print $text_enter_search_terms; ?>" />
|
||||
|
||||
<?php if(OUTLOOK == 0) { ?>
|
||||
<a id="advsearch_caret" href="#" onclick="$('#searchpopup1').show();"><b class="caret"></b></a>
|
||||
<?php } ?>
|
||||
|
||||
<button id="button_search" class="btn btn-danger" onclick="Piler.expert(this); return false;"><?php print $text_search; ?></button>
|
||||
|
||||
@ -65,7 +69,7 @@
|
||||
<button class="btn btn-inverse" onclick="Piler.load_saved_search_terms(); return false;"><?php print $text_load; ?></button>
|
||||
</form>
|
||||
|
||||
<?php print $popup; ?>
|
||||
<?php if(OUTLOOK == 0) { print $popup; } ?>
|
||||
|
||||
<div id="sspinner">
|
||||
<div class="progress progress-striped active">
|
||||
@ -129,6 +133,7 @@
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
split.init();
|
||||
Piler.fix_page();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
@ -59,7 +59,7 @@
|
||||
<td class="center sleek"><?php print $message['date']; ?></td>
|
||||
<td><?php if($message['from'] != $message['shortfrom']) { ?><span title="<?php print $message['from']; ?>"><?php print $message['shortfrom']; ?></span><?php } else { print $message['from']; } ?></td>
|
||||
<td><?php if($message['to'] != $message['shortto']) { ?><span title="<?php print $message['to']; ?>"><?php print $message['shortto']; ?><i class="icon-user"></i></span><?php } else { print $message['to']; } ?></td>
|
||||
<td><a href="#" <?php if($message['spam'] == 1) { ?>class="spam"<?php } ?> <?php if($message['subject'] != $message['shortsubject']) { ?>title="<?php print $message['subject']; ?>"<?php } ?> onclick="Piler.view_message_by_pos(<?php print $i; ?>);"><?php if($message['subject'] != $message['shortsubject'] && MOBILE_DEVICE == 1) { print $message['shortsubject']; } else { print $message['subject']; } ?></a><?php if(ENABLE_REFERENCES == 1 && $message['reference']) { ?> <a href="#" title="<?php print $text_conversation_available; ?>" onclick="$('#ref').val('<?php print $message['reference']; ?>'); Piler.expert(this);">[+]</a><?php } ?></td>
|
||||
<td><a href="#" <?php if($message['spam'] == 1) { ?>class="spam"<?php } ?> <?php if($message['subject'] != $message['shortsubject']) { ?>title="<?php print $message['subject']; ?>"<?php } ?> onclick="Piler.view_message_by_pos(<?php print $i; ?>);"><?php if($message['subject'] != $message['shortsubject'] && (MOBILE_DEVICE == 1 || OUTLOOK == 1)) { print $message['shortsubject']; } else { print $message['subject']; } ?></a><?php if(ENABLE_REFERENCES == 1 && $message['reference']) { ?> <a href="#" title="<?php print $text_conversation_available; ?>" onclick="$('#ref').val('<?php print $message['reference']; ?>'); Piler.expert(this);">[+]</a><?php } ?></td>
|
||||
<td><?php print $message['size']; ?></td>
|
||||
<td><?php if($message['attachments'] > 0) { ?><i class="icon-file sleek"></i><?php } ?></td>
|
||||
<td><?php if($message['note']) { ?><i class="icon-bookmark sleek" title="<?php print $message['note']; ?>"></i><?php } ?></td>
|
||||
|
Reference in New Issue
Block a user