2011-03-02 13:56:48 +03:00
|
|
|
<div class="controls">
|
2011-04-22 01:12:32 +04:00
|
|
|
<form id="logs_options" method='post'>
|
2011-03-02 13:56:48 +03:00
|
|
|
<p>
|
2011-06-19 20:53:02 +04:00
|
|
|
<span><?php echo $l->t( 'Filter:' ); ?></span>
|
2011-03-02 13:56:48 +03:00
|
|
|
|
2011-04-22 01:12:32 +04:00
|
|
|
<input type="checkbox" checked="" name="all" id="all" /> <label for="all">All</label>
|
2011-06-19 20:53:02 +04:00
|
|
|
<input type="checkbox" class='action' <?php echo $_['showActions']['login']?> name="login" id="logins" /> <label for="logins"><?php echo $l->t( 'Logins' ); ?></label>
|
|
|
|
<input type="checkbox" class='action' <?php echo $_['showActions']['logout']?> name="logout" id="logouts" /> <label for="logouts"><?php echo $l->t( 'Logouts' ); ?></label>
|
|
|
|
<input type="checkbox" class='action' <?php echo $_['showActions']['read']?> name="read" id="downloads" /> <label for="downloads"><?php echo $l->t( 'Downloads' ); ?></label>
|
|
|
|
<input type="checkbox" class='action' <?php echo $_['showActions']['write']?> name="write" id="uploads" /> <label for="uploads"><?php echo $l->t( 'Uploads' ); ?></label>
|
|
|
|
<input type="checkbox" class='action' <?php echo $_['showActions']['create']?> name="create" id="creations" /> <label for="creations"><?php echo $l->t( 'Creations' ); ?></label>
|
|
|
|
<input type="checkbox" class='action' <?php echo $_['showActions']['delete']?> name="delete" id="deletions" /> <label for="deletions"><?php echo $l->t( 'Deletions' ); ?></label>
|
2011-03-02 13:56:48 +03:00
|
|
|
</p>
|
|
|
|
<p>
|
2011-06-19 20:53:02 +04:00
|
|
|
<span><?php echo $l->t( 'Show:' ); ?></span>
|
|
|
|
<input type="text" maxlength="3" size="3" value="<?php echo $_['size']?>" name='size'/> <?php echo $l->t( 'entries per page.' ); ?>
|
2011-06-07 23:48:21 +04:00
|
|
|
<input class="prettybutton" type="submit" name="save" value="Save" />
|
2011-03-02 13:56:48 +03:00
|
|
|
|
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<table cellspacing="0">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2011-06-19 20:53:02 +04:00
|
|
|
<th><?php echo $l->t( 'What' ); ?></th>
|
|
|
|
<th><?php echo $l->t( 'When' ); ?></th>
|
2011-03-02 13:56:48 +03:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2011-03-09 23:57:00 +03:00
|
|
|
<?php foreach($_["logs"] as $entry): ?>
|
2011-03-02 13:56:48 +03:00
|
|
|
<tr>
|
2011-04-22 01:12:32 +04:00
|
|
|
<td class="<?php echo $entry["action"]; ?>"><em><?php echo $entry["action"]; ?> <?php echo $entry["user"]; ?></em> <?php echo $entry["info"]; ?></td>
|
2011-06-19 20:53:02 +04:00
|
|
|
<td class="date"><?php echo $l->l('datetime', $entry["date"] ); ?></td>
|
2011-03-02 13:56:48 +03:00
|
|
|
</tr>
|
2011-03-09 23:57:00 +03:00
|
|
|
<?php endforeach; ?>
|
2011-03-02 13:56:48 +03:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2011-06-07 23:59:53 +04:00
|
|
|
<?php echo $_['pager'];?>
|
|
|
|
|
2011-06-07 23:48:21 +04:00
|
|
|
<div class="controls">
|
|
|
|
<form id="logs_options" method='post'>
|
|
|
|
<p>
|
2011-06-19 20:53:02 +04:00
|
|
|
<span><?php echo $l->t( 'Clear log entries before' ); ?> </span>
|
2011-06-07 23:48:21 +04:00
|
|
|
<input type="date" id="removeBeforeDate" name="removeBeforeDate"/>
|
|
|
|
<input class="prettybutton nofloat" type="submit" name="clear" value="Clear" />
|
|
|
|
<input class="prettybutton" type="submit" name="clearall" value="Clear All" />
|
|
|
|
|
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
2011-06-07 23:59:53 +04:00
|
|
|
|