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