2013-07-23 12:18:27 +02:00

11 lines
367 B
PHTML

<?php
$commandParts = preg_split('|!|', $object->check_command);
$commandName = array_shift($commandParts);
?>
<?= $this->expandable(
'<b>Command:</b> '. $commandName,
$this->commandArguments($object->check_command),
// TODO: no JS handler right now, should be collapsed
array('collapsed' => ! (bool) strpos($object->check_command, '!'))
) ?>