17 lines
377 B
PHTML
17 lines
377 B
PHTML
<?php
|
|
|
|
$parts = explode('!', $object->check_command);
|
|
$command = array_shift($parts);
|
|
|
|
?><tr class="newsection">
|
|
<th><?= $this->translate('Command') ?></th>
|
|
<td><?= $this->escape($command) ?>
|
|
</tr>
|
|
<?php
|
|
|
|
$row = "<tr>\n <th>%s</th>\n <td>%s</td>\n</tr>\n";
|
|
for ($i = 0; $i < count($parts); $i++) {
|
|
printf($row, '$ARG' . ($i + 1) . '$', $this->escape($parts[$i]));
|
|
}
|
|
|