gui fixes

This commit is contained in:
SJ 2013-11-16 20:23:15 +01:00
parent 04ab9c7b38
commit 01357374ba
4 changed files with 10 additions and 9 deletions

View File

@ -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]

View File

@ -1,6 +1,6 @@
<?php <?php
define('BUILD', '2013-11-09 848'); define('BUILD', '2013-11-16 851');
$config = array(); $config = array();

View File

@ -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);

View File

@ -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 { ?>&nbsp;<?php } ?> <?php } else { ?>&nbsp;<?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 } ?>