trafficmonitor init...1

This commit is contained in:
choi.jh 2025-11-13 11:03:19 +09:00
parent 6dd87e09d4
commit 014e600d69

View File

@ -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 ?>