aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/components/plugin.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-05 20:55:45 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-05 20:55:45 +0000
commit0a66126e35dea809bf079ee2d61d138ffb9076e3 (patch)
tree788db632a500df43459180ea902bb9b508d72ac3 /views/default/admin/components/plugin.php
parent42ae90cd1e0245645208b9f54b75097a91295bbe (diff)
downloadelgg-0a66126e35dea809bf079ee2d61d138ffb9076e3.tar.gz
elgg-0a66126e35dea809bf079ee2d61d138ffb9076e3.tar.bz2
Better displaying of full screenshots in plugins admin.
git-svn-id: http://code.elgg.org/elgg/trunk@8036 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin/components/plugin.php')
-rw-r--r--views/default/admin/components/plugin.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/views/default/admin/components/plugin.php b/views/default/admin/components/plugin.php
index 0185ba0ff..5a3bdad8a 100644
--- a/views/default/admin/components/plugin.php
+++ b/views/default/admin/components/plugin.php
@@ -122,8 +122,6 @@ if ($categories) {
$categories_html = implode(', ', $categories_arr);
}
-// @todo We need to make a page handler to read these files in.
-// this is broken.
$screenshots_html = '';
$screenshots = $plugin->manifest->getScreenshots();
if ($screenshots) {
@@ -188,22 +186,23 @@ if (elgg_view_exists($settings_view)) {
<div class="manifest_file hidden">
- <div><?php echo elgg_echo('admin:plugins:label:location') . ": " . htmlspecialchars($plugin->getPath()) ?></div>
<?php
- if ($categories_html) {
+ if ($screenshots_html) {
?>
- <div><?php echo elgg_echo('admin:plugins:label:categories') . ": " . $categories_html; ?></div>
+ <div><ul><?php echo $screenshots_html; ?></ul></div>
<?php
}
- if ($screenshots_html) {
+ if ($categories_html) {
?>
- <div><ul><?php echo $screenshots_html; ?></ul></div>
+ <div><?php echo elgg_echo('admin:plugins:label:categories') . ": " . $categories_html; ?></div>
<?php
}
+
?>
<div><?php echo elgg_echo('admin:plugins:label:copyright') . ": " . $copyright; ?></div>
<div><?php echo elgg_echo('admin:plugins:label:licence') . ": " . $license; ?></div>
+ <div><?php echo elgg_echo('admin:plugins:label:location') . ": " . htmlspecialchars($plugin->getPath()) ?></div>
<div><?php echo elgg_echo('admin:plugins:label:dependencies'); ?>:
<?php