aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-07 15:08:45 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-07 15:08:45 +0000
commit5a3546a65d86636b0bfb7033aaede7ecf693f1f9 (patch)
treeaec104e962bae10d2dd2e40cc1260218fba5d096 /views/default/admin
parent5fe44a6d6e4f6bc5113f4e13df517f66be890a74 (diff)
downloadelgg-5a3546a65d86636b0bfb7033aaede7ecf693f1f9.tar.gz
elgg-5a3546a65d86636b0bfb7033aaede7ecf693f1f9.tar.bz2
Fixed broken interface on updated plugin list
git-svn-id: http://code.elgg.org/elgg/trunk@5647 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin')
-rw-r--r--views/default/admin/plugins_opt/plugin.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/views/default/admin/plugins_opt/plugin.php b/views/default/admin/plugins_opt/plugin.php
index 7a7b10f63..61a197043 100644
--- a/views/default/admin/plugins_opt/plugin.php
+++ b/views/default/admin/plugins_opt/plugin.php
@@ -94,24 +94,24 @@ if ($manifest['screenshot']) {
<div class="plugin_details <?php echo $active_class ?>">
<div class="admin_plugin_reorder">
<?php echo "$top_link $up_link $down_link $bottom_link"; ?>
- </div>
-
- <h3><?php echo "$plugin_pretty_name $settings_link"; ?></h3>
+ </div><div class="clearfloat"></div>
- <div class="clearfloat"></div>
<div class="admin_plugin_enable_disable"><?php echo $enable_disable; ?></div>
<?php
if (elgg_view_exists("settings/{$plugin}/edit")) {
- ?>
- <a class="plugin_settings small link">['<?php echo elgg_echo('settings'); ?>']</a>';
- <div class="pluginsettings hidden">
- <div id="$plugin_settings">
- <?php echo elgg_view("object/plugin", array('plugin' => $plugin, 'entity' => find_plugin_settings($plugin))); ?>
- </div>
- </div>
- <?php
+
+ $settings_link = "<a class='plugin_settings small link'>[". elgg_echo('settings') ."]</a>";
+
+ $settings_panel = "<div class='pluginsettings hidden'>";
+ $settings_panel .= elgg_view("object/plugin", array('plugin' => $plugin, 'entity' => find_plugin_settings($plugin)));
+ $settings_panel .= "</div>";
}
+ ?>
+ <h3><?php echo "$plugin_pretty_name $settings_link"; ?></h3>
+ <?php
+ echo $settings_panel;
+
if ($manifest) {
?>
<div class="plugin_description"><?php echo elgg_view('output/longtext',array('value' => $manifest['description'])); ?></div>