aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-27 11:19:34 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-27 11:19:34 +0000
commitac8586eaf23d338ac65f3cafda6ed6a2f6b0b881 (patch)
treeb3b78f1e9e5c40a2606c636e7afcebb3bb92c6e1 /views
parentea6c0125943cae4cdb2ca307afd84b74dc305eb8 (diff)
downloadelgg-ac8586eaf23d338ac65f3cafda6ed6a2f6b0b881.tar.gz
elgg-ac8586eaf23d338ac65f3cafda6ed6a2f6b0b881.tar.bz2
Plugin descriptions are now displayed on the tool menu, for better ease of use.
git-svn-id: https://code.elgg.org/elgg/trunk@2974 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/admin/plugins_opt/plugin.php38
1 files changed, 24 insertions, 14 deletions
diff --git a/views/default/admin/plugins_opt/plugin.php b/views/default/admin/plugins_opt/plugin.php
index b6e793637..fd0a7ec9a 100644
--- a/views/default/admin/plugins_opt/plugin.php
+++ b/views/default/admin/plugins_opt/plugin.php
@@ -64,25 +64,35 @@
<?php echo elgg_view("object/plugin", array('plugin' => $plugin, 'entity' => find_plugin_settings($plugin))) ?>
</div>
</div>
- <?php } ?>
-
- <?php if ((!$version_check_valid) || (!isset($manifest['elgg_version']))) { ?>
- <div id="version_check">
- <?php
- if (!isset($manifest['elgg_version']))
- echo elgg_echo('admin:plugins:warning:elggversionunknown');
- else
- echo elgg_echo('admin:plugins:warning:elggtoolow');
- ?>
- </div>
<?php } ?>
+
+ <?php
+
+ if ($manifest) {
+
+ ?>
+ <div class="plugin_description"><?php echo elgg_view('output/longtext',array('value' => $manifest['description'])); ?></div>
+ <?php
+
+ }
+
+ ?>
- <p><a class="manifest_details"><?php echo elgg_echo("admin:plugins:label:moreinfo"); ?></a></p>
+ <p><a class="manifest_details"><?php echo elgg_echo("admin:plugins:label:moreinfo"); ?></a></p>
<div class="manifest_file">
- <?php if ($manifest) { ?>
- <div><?php echo $manifest['description'] ?></div>
+ <?php if ($manifest) { ?>
+ <?php if ((!$version_check_valid) || (!isset($manifest['elgg_version']))) { ?>
+ <div id="version_check">
+ <?php
+ if (!isset($manifest['elgg_version']))
+ echo elgg_echo('admin:plugins:warning:elggversionunknown');
+ else
+ echo elgg_echo('admin:plugins:warning:elggtoolow');
+ ?>
+ </div>
+ <?php } ?>
<div><?php echo elgg_echo('admin:plugins:label:version') . ": ". $manifest['version'] ?></div>
<div><?php echo elgg_echo('admin:plugins:label:author') . ": ". $manifest['author'] ?></div>
<div><?php echo elgg_echo('admin:plugins:label:copyright') . ": ". $manifest['copyright'] ?></div>