bulk restore fix

This commit is contained in:
SJ
2014-06-25 13:56:24 +02:00
parent 105c7a6698
commit bc344594a9
3 changed files with 3 additions and 2 deletions

View File

@ -147,7 +147,7 @@
<span class="add-on"><?php print $text_with_selected; ?>:&nbsp;</span>
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { ?>
<a href="#" class="btn btn-custom btn-inverse<?php if(Registry::get('auditor_user') == 1) { ?> confirm-delete<?php } ?>" onclick="Piler.bulk_restore_messages('<?php print $text_restored; ?>', '');" title="<?php print $text_bulk_restore_selected_emails; ?>"><i class="icon-share-alt"></i></a>
<a href="#" class="btn btn-custom btn-inverse<?php if(Registry::get('auditor_user') == 1) { ?> confirm-delete"><?php } else { ?>" onclick="Piler.bulk_restore_messages('<?php print $text_restored; ?>', '');" title="<?php print $text_bulk_restore_selected_emails; ?>"><?php } ?><i class="icon-share-alt"></i></a>
<?php } ?>
<a href="#" class="btn btn-custom btn-inverse" onclick="Piler.download_messages();" title="<?php print $text_bulk_download; ?>"><i class="icon-download-alt"></i></a>
<input type="text" id="tag_value" name="tag_value" class="tagtext" />

View File

@ -112,7 +112,7 @@
<?php } ?>
<?php if(SMARTHOST || ENABLE_IMAP_AUTH == 1) { ?>
<button class="btn piler-right-margin<?php if(Registry::get('auditor_user') == 1) { ?> confirm-delete<?php } ?>" onclick="Piler.bulk_restore_messages('<?php print $text_restored; ?>', ''); return false;"><?php print $text_bulk_restore_selected_emails; ?></button>
<button class="btn piler-right-margin<?php if(Registry::get('auditor_user') == 1) { ?> confirm-delete"><?php } else { ?>" onclick="Piler.bulk_restore_messages('<?php print $text_restored; ?>', ''); return false;"><?php } ?><?php print $text_bulk_restore_selected_emails; ?></button>
<?php } ?>
<input type="text" id="tag_value" name="tag_value" class="input-xlarge" placeholder="<?php print $text_tag_selected_messages; ?>" />