diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-22 00:12:17 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-22 00:12:17 +0000 |
commit | 00ea6e1ddd446c61c6ccd956989b4b9a1cd60119 (patch) | |
tree | 4d3d546d88326fd976a8f75c0b4d4dac9b54ef1b /views/default/admin/components/invalid_plugin.php | |
parent | 8439fcf13d794780c89925896b8aaca521c14e30 (diff) | |
download | elgg-00ea6e1ddd446c61c6ccd956989b4b9a1cd60119.tar.gz elgg-00ea6e1ddd446c61c6ccd956989b4b9a1cd60119.tar.bz2 |
Refs #2950: Cleanup of plugin-related view structure
git-svn-id: http://code.elgg.org/elgg/trunk@8394 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin/components/invalid_plugin.php')
-rw-r--r-- | views/default/admin/components/invalid_plugin.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/views/default/admin/components/invalid_plugin.php b/views/default/admin/components/invalid_plugin.php deleted file mode 100644 index 97c1bacf4..000000000 --- a/views/default/admin/components/invalid_plugin.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php -/** - * Displays an invalid plugin on the admin screen. - * - * An invalid plugin is a plugin whose isValid() method returns false. - * This usually means there are required files missing, unreadable or in the - * wrong format. - * - * @package Elgg.Core - * @subpackage Plugins - */ - -$plugin = elgg_extract('plugin', $vars); -$id = $plugin->getID(); -$path = htmlspecialchars($plugin->getPath()); -$message = elgg_echo('admin:plugins:warning:invalid', array($id)); - -?> - -<div class="elgg-plugin elgg-state-inactive elgg-state-error"> - <p><?php echo $message; ?></p> - <p><?php echo elgg_echo('admin:plugins:label:location') . ": " . $path; ?></p> -</div> |