mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 10:56:26 +00:00
30 lines
1.2 KiB
PHP
30 lines
1.2 KiB
PHP
<?
|
|
/*
|
|
* This is the outline page for auto reports. It calls the AJAX functions
|
|
* that actually populate the page and shows the proper header and footer.
|
|
* The important function is AddMore().
|
|
*/
|
|
if (!check_perms('admin_reports')) {
|
|
error(403);
|
|
}
|
|
|
|
View::show_header('Reports V2!', 'reportsv2');
|
|
|
|
?>
|
|
<div class="header">
|
|
<h2>New reports, auto assigned!</h2>
|
|
<? include('header.php'); ?>
|
|
</div>
|
|
<div class="buttonbox thin center">
|
|
<input type="button" onclick="AddMore();" value="Add more" /> <input type="text" name="repop_amount" id="repop_amount" size="2" value="10" />
|
|
| <span title="Changes whether to automatically replace resolved ones with new ones"><input type="checkbox" checked="checked" id="dynamic" /> <label for="dynamic">Dynamic</label></span>
|
|
| <span title="Resolves *all* checked reports with their respective resolutions"><input type="button" onclick="MultiResolve();" value="Multi-resolve" /></span>
|
|
| <span title="Unclaim all of the reports currently displayed"><input type="button" onclick="GiveBack();" value="Unclaim all" /></span>
|
|
</div>
|
|
<br />
|
|
<div id="all_reports" style="width: 80%; margin-left: auto; margin-right: auto;">
|
|
</div>
|
|
<?
|
|
View::show_footer();
|
|
?>
|