mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:37:02 +02:00
auditors may see the relevant part of the sphinx query
This commit is contained in:
@ -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>
|
||||
|
@ -101,6 +101,10 @@
|
||||
<?php if($next_page <= $total_pages){ ?><a href="#" onclick="Piler.navigation(<?php print $next_page; ?>);">> </a> <?php } else { ?><span class="navlink">> </span><?php } ?>
|
||||
<?php if($page < $total_pages) { ?> <a href="#" onclick="Piler.navigation(<?php print $total_pages; ?>);"> >> </a><?php } else { ?> <span class="navlink"> >></span><?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 } ?>
|
||||
|
||||
</span>
|
||||
|
||||
<?php } else { ?> <?php } ?>
|
||||
|
Reference in New Issue
Block a user