1 <?php
defined('SYSPATH') OR die('No direct access allowed.'); ?
>
4 <?php
echo (isset($pagination)) ?
$pagination : ''; ?
>
7 <?php
if($header === false) { ?
>
8 <p
><?php
echo _(sprintf('Unknown data type %s',$type)); ?
></p
>
10 <table id
="config_table" class="padd-table">
13 <?php
$i = 0; foreach ($header as $item) {
15 echo '<th>'.$item.'</th>'."\n";
17 echo '<th>'.$item.'</th>'."\n";
26 foreach ($data as $row) {
28 echo '<tr class="'.($i%2
== 0 ?
'odd' : 'even').'">'."\n";
29 foreach($row as $column) {
30 echo '<td style="white-space: normal">'.$column.'</td>'."\n";
36 <td colspan
="<?php echo count($header);?>"><?php
echo _('No').' '.str_replace('_',' ',$type).' '._('configured'); ?
></td
>