diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/admin/components/plugin_dependencies.php | 11 | ||||
-rw-r--r-- | views/default/css/admin.php | 3 |
2 files changed, 10 insertions, 4 deletions
diff --git a/views/default/admin/components/plugin_dependencies.php b/views/default/admin/components/plugin_dependencies.php index 9e0e284f1..cd38e98b0 100644 --- a/views/default/admin/components/plugin_dependencies.php +++ b/views/default/admin/components/plugin_dependencies.php @@ -11,7 +11,7 @@ $plugin = elgg_get_array_value('plugin', $vars, false); $deps = $plugin->package->checkDependencies(true); -$columns = array('type', 'name', 'value', 'local_value', 'comment'); +$columns = array('type', 'name', 'expected_value', 'local_value', 'comment'); echo '<table class="elgg-plugins-dependencies styled"> <tr> @@ -19,11 +19,12 @@ echo '<table class="elgg-plugins-dependencies styled"> foreach ($columns as $column) { $column = elgg_echo("admin:plugins:dependencies:$column"); - echo "<th>$column</th>"; + echo "<th class=\"pas\">$column</th>"; } echo '<tr/>'; +$row = 'odd'; foreach ($deps as $dep) { $fields = elgg_get_plugin_dependency_strings($dep); @@ -33,13 +34,15 @@ foreach ($deps as $dep) { $class = 'elgg-unsatisfied-dependency'; } - echo "<tr class=\"$class\">"; + echo "<tr class=\"$row\">"; foreach ($columns as $column) { - echo "<td class=\"pam \">{$fields[$column]}</td>"; + echo "<td class=\"pas $class\">{$fields[$column]}</td>"; } echo '</tr>'; + + $row = ($row == 'odd') ? 'even' : 'odd'; } echo '</table>';
\ No newline at end of file diff --git a/views/default/css/admin.php b/views/default/css/admin.php index f8806ff35..4376ca41a 100644 --- a/views/default/css/admin.php +++ b/views/default/css/admin.php @@ -957,6 +957,9 @@ ul.admin_plugins { .plugin_settings { font-weight: normal; } +.elgg-unsatisfied-dependency { + font-weight: bold; +} .active { border:1px solid #999999; background:white; |