package->checkDependencies(true); $columns = array('type', 'name', 'expected_value', 'local_value', 'comment'); echo ' '; foreach ($columns as $column) { $column = elgg_echo("admin:plugins:dependencies:$column"); echo ""; } echo ''; $row = 'odd'; foreach ($deps as $dep) { $fields = elgg_get_plugin_dependency_strings($dep); $type = $dep['type']; if ($dep['status']) { $class = "elgg-state-success elgg-dependency-$type"; } else { $class = "elgg-state-error elgg-dependency-$type"; } echo ""; foreach ($columns as $column) { echo ""; } echo ''; $row = ($row == 'odd') ? 'even' : 'odd'; } echo '
$column
{$fields[$column]}
';