trafficmonitor init...1
This commit is contained in:
parent
6dd87e09d4
commit
014e600d69
@ -29,7 +29,10 @@ $template = "templates" . DIRECTORY_SEPARATOR . "{$viewDatas['layout']}";
|
||||
<tbody>
|
||||
<?php $cnt = 0 ?>
|
||||
<?php foreach ($viewDatas['entities'] as $entity): ?>
|
||||
<?php $num = $viewDatas['index_totalcount'] - (($viewDatas['page'] - 1) * $viewDatas['perpage'] + $cnt); ?>
|
||||
<?php
|
||||
$viewDatas['entity'] = $entity;
|
||||
$num = $viewDatas['index_totalcount'] - (($viewDatas['page'] - 1) * $viewDatas['perpage'] + $cnt);
|
||||
?>
|
||||
<tr>
|
||||
<td nowrap><?= $viewDatas['helper']->getListButton('modify', $num, $viewDatas) ?></td>
|
||||
<?php foreach ($viewDatas['formFields'] as $field => $label): ?><td><?= $viewDatas['helper']->getFieldView($field, $entity->$field, $viewDatas) ?></td><?php endforeach ?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user