aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-06-23 20:11:30 -0400
committerSteve Clay <steve@mrclay.org>2012-06-23 20:11:30 -0400
commit034a9490d5e8fd2f0b664c3c5e06873c915fdc3b (patch)
treec9ded01487aa43725c0eef30136a939c8f4a5441 /views
parentd71309056037adc869319566f9ec53313eb192d8 (diff)
downloadelgg-034a9490d5e8fd2f0b664c3c5e06873c915fdc3b.tar.gz
elgg-034a9490d5e8fd2f0b664c3c5e06873c915fdc3b.tar.bz2
Fixes #2893: More visible invalid plugin errors
Diffstat (limited to 'views')
-rw-r--r--views/default/object/plugin/invalid.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/views/default/object/plugin/invalid.php b/views/default/object/plugin/invalid.php
index f24e1836c..828bceaba 100644
--- a/views/default/object/plugin/invalid.php
+++ b/views/default/object/plugin/invalid.php
@@ -14,8 +14,7 @@ $plugin = $vars['entity'];
$id = $plugin->getID();
$path = htmlspecialchars($plugin->getPath());
-$message = elgg_echo('admin:plugins:warning:invalid', array($id));
-$error = $plugin->getError();
+$message = elgg_echo('admin:plugins:warning:invalid', array($plugin->getError()));
$css_id = preg_replace('/[^a-z0-9-]/i', '-', $plugin->getID());
?>
@@ -23,7 +22,8 @@ $css_id = preg_replace('/[^a-z0-9-]/i', '-', $plugin->getID());
<div class="elgg-state-draggable elgg-plugin elgg-state-inactive elgg-state-error" id="elgg-plugin-<?php echo $plugin->guid; ?>">
<div class="elgg-head"><h3><?php echo $id; ?></h3></div>
<div class="elgg-body">
- <p><?php echo $message; ?></p>
+ <p class="elgg-state-error"><?php echo $message; ?></p>
+ <p><?php echo elgg_echo('admin:plugins:warning:invalid:check_docs'); ?></p>
<div class="pts">
<?php
@@ -37,7 +37,6 @@ $css_id = preg_replace('/[^a-z0-9-]/i', '-', $plugin->getID());
<div class="hidden elgg-plugin-more" id="elgg-plugin-manifest-<?php echo $css_id; ?>">
<p><?php echo elgg_echo('admin:plugins:label:location') . ": " . $path; ?></p>
- <p><?php echo $error; ?></p>
</div>
</div>
</div> \ No newline at end of file