diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-11 00:14:35 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-11 00:14:35 +0000 |
commit | e1abc1ed8ad8fe17285d75fc2b3d45c5b5f3ee4f (patch) | |
tree | 08513299434f8589e9fcf97a211772d64223bf69 /views/default | |
parent | 84dcdeb236487a52486e0bd9234b214f2b64dd3c (diff) | |
download | elgg-e1abc1ed8ad8fe17285d75fc2b3d45c5b5f3ee4f.tar.gz elgg-e1abc1ed8ad8fe17285d75fc2b3d45c5b5f3ee4f.tar.bz2 |
elgg-$state-dependency => elgg-state-(error|success)
git-svn-id: http://code.elgg.org/elgg/trunk@8104 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/admin/components/plugin.php | 4 | ||||
-rw-r--r-- | views/default/admin/components/plugin_dependencies.php | 4 | ||||
-rw-r--r-- | views/default/css/admin.php | 6 |
3 files changed, 8 insertions, 6 deletions
diff --git a/views/default/admin/components/plugin.php b/views/default/admin/components/plugin.php index 203181d5e..5cf4f169d 100644 --- a/views/default/admin/components/plugin.php +++ b/views/default/admin/components/plugin.php @@ -172,13 +172,13 @@ if (elgg_view_exists($settings_view)) { $reqs = $plugin->manifest->getRequires(); if (!$reqs) { $message = elgg_echo('admin:plugins:warning:elgg_version_unknown'); - echo "<p class=\"elgg-unsatisfied-dependency\">$message</p>"; + echo "<p class=\"elgg-state-error\">$message</p>"; } } if (!$can_activate) { $message = elgg_echo('admin:plugins:warning:unmet_dependencies'); - echo "<p class=\"elgg-unsatisfied-dependency\">$message</p>"; + echo "<p class=\"elgg-state-error\">$message</p>"; } ?> diff --git a/views/default/admin/components/plugin_dependencies.php b/views/default/admin/components/plugin_dependencies.php index bb0fa4eec..eea4cd287 100644 --- a/views/default/admin/components/plugin_dependencies.php +++ b/views/default/admin/components/plugin_dependencies.php @@ -30,9 +30,9 @@ foreach ($deps as $dep) { $type = $dep['type']; if ($dep['status']) { - $class = "elgg-satisfied-dependency elgg-dependency-$type"; + $class = "elgg-state-success elgg-dependency-$type"; } else { - $class = "elgg-unsatisfied-dependency elgg-dependency-$type"; + $class = "elgg-state-error elgg-dependency-$type"; } echo "<tr class=\"$row\">"; diff --git a/views/default/css/admin.php b/views/default/css/admin.php index ab4ad7dcc..e854616eb 100644 --- a/views/default/css/admin.php +++ b/views/default/css/admin.php @@ -1006,13 +1006,15 @@ ul.admin_plugins { .plugin_settings { font-weight: normal; } -.elgg-unsatisfied-dependency { + + +.elgg-state-error { font-weight: bold; } .elgg-dependency-suggests { font-weight: normal; } -p.elgg-unsatisfied-dependency { +p.elgg-state-error { padding: 5px 0; font-weight: bold; } |