aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/plugins.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/admin/plugins.php')
-rw-r--r--views/default/admin/plugins.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/views/default/admin/plugins.php b/views/default/admin/plugins.php
index d92c837f6..5a5d37f8c 100644
--- a/views/default/admin/plugins.php
+++ b/views/default/admin/plugins.php
@@ -70,3 +70,16 @@ foreach ($installed_plugins as $plugin => $data) {
echo elgg_view("admin/plugins_opt/plugin", array('plugin' => $plugin, 'details' => $data, 'maxorder' => $max, 'order' => array_search($plugin, $plugin_list)));
$n++;
}
+
+?>
+
+<script type="text/javascript">
+$(document).ready(function() {
+ $('a.plugin_settings.link').click(function() {
+ elgg_slide_toggle($(this), '.plugin_details', '.pluginsettings');
+ });
+ $('a.manifest_details.link').click(function() {
+ elgg_slide_toggle($(this), '.plugin_details', '.manifest_file');
+ });
+});
+</script>