From 1026deb7ef24677a2a0b48b4297911a4c2eceb6d Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 4 Feb 2011 21:04:34 +0000 Subject: Added new priority 'requires' for plugin dep system. You can now say that a plugin is required to be after / before another plugin in the system. git-svn-id: http://code.elgg.org/elgg/trunk@8016 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/components/plugin_dependencies.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'views/default/admin/components/plugin_dependencies.php') 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 ' @@ -19,11 +19,12 @@ echo '
foreach ($columns as $column) { $column = elgg_echo("admin:plugins:dependencies:$column"); - echo ""; + echo ""; } echo ''; +$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 ""; + echo ""; foreach ($columns as $column) { - echo ""; + echo ""; } echo ''; + + $row = ($row == 'odd') ? 'even' : 'odd'; } echo '
$column$column
{$fields[$column]}{$fields[$column]}
'; \ No newline at end of file -- cgit v1.2.3