getPackage()->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 elgg-dependency-$type"; } elseif ($dep['type'] == 'suggests') { $class = "elgg-state-warning elgg-dependency elgg-dependency-$type"; } else { $class = "elgg-state-error elgg-dependency elgg-dependency-$type"; } echo ""; foreach ($columns as $column) { echo ""; } echo ''; $row = ($row == 'odd') ? 'even' : 'odd'; } echo '
$column
{$fields[$column]}
';