38 lines
1.8 KiB
PHP
38 lines
1.8 KiB
PHP
<?php if (!defined('PICONTROL')) exit(); ?>
|
|
<div>
|
|
<div class="box">
|
|
<div class="inner-header">
|
|
<span><?php _e('Einstellungen zur Statistik'); ?></span>
|
|
<?php showGoBackIcon('?s=statistic'); ?>
|
|
</div>
|
|
<div class="inner">
|
|
<?php _e('Blende nicht benötigte Statistiken aus, um die Ladezeiten zu verbessern und um besser den Überblick zu behalten.'); ?>
|
|
</div>
|
|
<div class="inner-info">
|
|
<div><?php _e('Statistiken werden, unabhängig vom Anzeigestatus, aufgezeichnet.'); ?></div>
|
|
</div>
|
|
<form action="?s=settings&do=statistic" method="post">
|
|
<div class="inner-table">
|
|
<table class="table table-borderless">
|
|
<tr>
|
|
<th style="width: 5%;"></th>
|
|
<th style="width: 75%;"><?php _e('Name'); ?></th>
|
|
<th style="width: 10%;" class="table-center"><?php _e('Herunterladen'); ?></th>
|
|
<th style="width: 10%;"></th>
|
|
</tr>
|
|
<?php foreach ($data['statistics'] as $id => $statistic) { ?>
|
|
<tr>
|
|
<td align="center"><input type="checkbox" name="check[]" id="cb-<?php echo $id; ?>" value="<?php echo $id; ?>" <?php if ($statistic['visible'] == true) echo 'checked="checked"'; ?> /><label class="checkbox only-checkbox" for="cb-<?php echo $id; ?>"> </label></td>
|
|
<td><?php echo $statistic['array']['title'] ?></td>
|
|
<td class="table-center"><a href="?s=settings&do=statistic&download=<?php echo $id; ?>" class="text-decoration-none"><span class="button button-small">CSV</span></a></td>
|
|
<td class="table-right"><a href="?s=settings&do=statistic&reset=<?php echo $id; ?>" class="text-decoration-none"><span class="button button-small"><?php _e('Zurücksetzen'); ?></span></a></td>
|
|
</tr>
|
|
<?php } ?>
|
|
</table>
|
|
</div>
|
|
<div class="inner-end">
|
|
<input type="submit" name="submit" value="<?php _e('Speichern'); ?>" />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|