auditors may see the relevant part of the sphinx query

This commit is contained in:
SJ
2015-08-13 15:44:22 +02:00
parent 75b552e5e0
commit aa0d5e35c8
3 changed files with 19 additions and 0 deletions

View File

@ -136,6 +136,10 @@
<?php if(ENABLE_DELETE == 1) { ?><i class="icon-exclamation-sign" title="<?php print $text_compliance_warning; ?>"></i><?php } ?>
<?php if(Registry::get('auditor_user') == 1 && $session->get("sphx_query")) { ?>
<span style="margin-left: 30px;"><a href="#" onclick="Piler.show_message('messagebox1', '<?php print $session->get("sphx_query"); ?>', 5);">sphinx</a></span>
<?php } ?>
<?php } else { print $text_none_found; } ?>
</div>
</div>