mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:30:12 +01:00
gui fixes
This commit is contained in:
parent
04ab9c7b38
commit
01357374ba
@ -8,6 +8,7 @@ RewriteRule ^search-helper.php /index.php?route=search/helper [L]
|
|||||||
RewriteRule ^audit-helper.php /index.php?route=audit/helper [L]
|
RewriteRule ^audit-helper.php /index.php?route=audit/helper [L]
|
||||||
RewriteRule ^message.php /index.php?route=message/view [L]
|
RewriteRule ^message.php /index.php?route=message/view [L]
|
||||||
RewriteRule ^bulkrestore.php /index.php?route=message/bulkrestore [L]
|
RewriteRule ^bulkrestore.php /index.php?route=message/bulkrestore [L]
|
||||||
|
RewriteRule ^bulkpdf.php /index.php?route=message/bulkpdf [L]
|
||||||
RewriteRule ^folders.php /index.php?route=folder/list& [QSA,L]
|
RewriteRule ^folders.php /index.php?route=folder/list& [QSA,L]
|
||||||
RewriteRule ^settings.php /index.php?route=user/settings [L]
|
RewriteRule ^settings.php /index.php?route=user/settings [L]
|
||||||
RewriteRule ^login.php /index.php?route=login/login [L]
|
RewriteRule ^login.php /index.php?route=login/login [L]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('BUILD', '2013-11-09 848');
|
define('BUILD', '2013-11-16 851');
|
||||||
|
|
||||||
$config = array();
|
$config = array();
|
||||||
|
|
||||||
|
@ -825,18 +825,16 @@ var Piler =
|
|||||||
|
|
||||||
download_all_search_hits:function()
|
download_all_search_hits:function()
|
||||||
{
|
{
|
||||||
var url;
|
Piler.log("[download_all_search_hits]");
|
||||||
|
|
||||||
url = '/index.php?route=message/dl';
|
jQuery.ajax('/index.php?route=message/dl', {
|
||||||
|
|
||||||
jQuery.ajax( url, {
|
|
||||||
type: "POST"
|
type: "POST"
|
||||||
})
|
})
|
||||||
.done( function( a )// data, textStatus, jqXHR
|
.done( function( a )
|
||||||
{
|
{
|
||||||
Piler.download_messages_real(a, Piler.bulkrestore_url);
|
Piler.download_messages_real(a, Piler.bulkrestore_url);
|
||||||
})
|
})
|
||||||
.fail(function( a, b )// jqXHR, textStatus, errorThrown
|
.fail(function( a, b )
|
||||||
{
|
{
|
||||||
alert("Problem retrieving XML data:" + b)
|
alert("Problem retrieving XML data:" + b)
|
||||||
});
|
});
|
||||||
@ -846,6 +844,8 @@ var Piler =
|
|||||||
|
|
||||||
download_selected_as_pdf:function()
|
download_selected_as_pdf:function()
|
||||||
{
|
{
|
||||||
|
Piler.log("[download_selected_as_pdf]");
|
||||||
|
|
||||||
var idlist = Piler.get_selected_messages_list();
|
var idlist = Piler.get_selected_messages_list();
|
||||||
if(idlist) {
|
if(idlist) {
|
||||||
Piler.download_messages_real(idlist, Piler.bulkpdf_url);
|
Piler.download_messages_real(idlist, Piler.bulkpdf_url);
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="boxfooter">
|
<div class="boxfooter">
|
||||||
<form class="form-inline sleek" name="tagging">
|
<form class="form-inline sleek" name="tagging" onsubmit="return false;">
|
||||||
|
|
||||||
<?php if($n >= $page_len){ ?>
|
<?php if($n >= $page_len){ ?>
|
||||||
<span class="piler-right-margin">
|
<span class="piler-right-margin">
|
||||||
@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
<?php } else { ?> <?php } ?>
|
<?php } else { ?> <?php } ?>
|
||||||
<?php if(ENABLE_DOWNLOADING_ALL_SEARCH_HITS == 1) { ?>
|
<?php if(ENABLE_DOWNLOADING_ALL_SEARCH_HITS == 1) { ?>
|
||||||
<button id="download_all_search_hits" name="download_all_search_hits" class="btn btn-custom btn-inverse" onclick="Piler.download_all_search_hits();"><?php print $text_download_all_hits_as_eml; ?></button>
|
<button id="download_all_search_hits_as_eml" name="download_all_search_hits_as_eml" class="btn btn-custom btn-inverse" onclick="Piler.download_all_search_hits();"><?php print $text_download_all_hits_as_eml; ?></button>
|
||||||
<button id="download_all_search_hits_as_pdf" name="download_all_search_hits_as_pdf" class="btn btn-custom btn-warning" onclick="Piler.download_selected_as_pdf(); return false;"><?php print $text_download_selected_hits_as_pdf; ?></button>
|
<button id="download_all_search_hits_as_pdf" name="download_all_search_hits_as_pdf" class="btn btn-custom btn-warning" onclick="Piler.download_selected_as_pdf(); return false;"><?php print $text_download_selected_hits_as_pdf; ?></button>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user