• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • Examples
  • File List

system/admin/logs.php

00001 <?php
00002 namespace Habari;
00003 if ( !defined( 'HABARI_PATH' ) ) { die('No direct access'); }
00004 ?>
00005 <?php include_once( 'header.php' ); ?>
00006 
00007 <div class="container transparent item controls">
00008 
00009 <?php include( 'navigator.php' ); ?>
00010 
00011 <?php echo $form; ?>
00012 
00013 </div>
00014 
00015 <table class="container main" id="log_data">
00016 
00017   <thead>
00018     <tr>
00019       <th class="checkbox">&nbsp;</th>
00020       <th class="time"><?php _e('Date &amp; Time'); ?></th>
00021       <th class="user"><?php _e('User'); ?></th>
00022       <th class="ip"><?php _e('IP'); ?></th>
00023       <th class="module"><?php _e('Module'); ?></th>
00024       <th class="type"><?php _e('Type'); ?></th>
00025       <th class="severity"><?php _e('Severity'); ?></th>
00026       <th class="message"><?php _e('Message'); ?></th>
00027     </tr>
00028     <!-- tr>
00029       <th>&nbsp;</th>
00030       <th><?php echo Utils::html_select('date', $dates, $date, array( 'class'=>'')); ?></th>
00031       <th><?php echo Utils::html_select('user', $users, $user, array( 'class'=>'')); ?></th>
00032       <th><?php echo Utils::html_select('address', $addresses, $address, array( 'class'=>'')); ?></th>
00033       <th><?php echo Utils::html_select('module', $modules, $module, array( 'class'=>'')); ?></th>
00034       <th><?php echo Utils::html_select('type', $types, $type, array( 'class'=>'')); ?></th>
00035       <th><?php echo Utils::html_select('severity', $severities, $severity, array( 'class'=>'')); ?></th>
00036       <th><input type="submit" name="filter" value="<?php _e('Filter'); ?>"></th>
00037     </tr -->
00038   </thead>
00039 
00040   <?php if (isset($years)) { ?>
00041   <tbody class="manage logs">
00042 
00043     <?php $theme->display('logs_items'); ?>
00044 
00045   </tbody>
00046 
00047   <?php } else { ?>
00048 
00049   <tbody><tr><td colspan="9">
00050 
00051     <?php _e('There are no logs to be displayed at this time.'); ?>
00052 
00053   </td></tr></tbody>
00054   <?php } ?>
00055 
00056 </table>
00057 
00058 <div class="container transparent item controls">
00059 
00060 <?php echo $form->dupe(); ?>
00061 </div>
00062 
00063 <script type="text/javascript">
00064 
00065 itemManage.updateURL = habari.url.ajaxLogDelete;
00066 itemManage.fetchURL = "<?php echo URL::get('admin_ajax', array('context' => 'logs')) ?>";
00067 itemManage.fetchReplace = $('.logs');
00068 
00069 </script>
00070 
00071 <?php include('footer.php'); ?>

Generated on Sun Aug 4 2013 12:51:43 for Habari by  doxygen 1.7.1