aboutsummaryrefslogtreecommitdiff
path: root/views/default/object
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object')
-rw-r--r--views/default/object/plugin/advanced.php10
-rw-r--r--views/default/object/widget/elements/controls.php4
2 files changed, 11 insertions, 3 deletions
diff --git a/views/default/object/plugin/advanced.php b/views/default/object/plugin/advanced.php
index d89506319..4ff2dffa8 100644
--- a/views/default/object/plugin/advanced.php
+++ b/views/default/object/plugin/advanced.php
@@ -191,7 +191,15 @@ if (elgg_view_exists($settings_view)) {
<div class="plugin_description"><?php echo $description; ?></div>
<p class="plugin_author"><?php echo $author . ' - ' . $website; ?></p>
- <div class="pts"><a class="elgg-toggler elgg-toggles-elgg-plugin-manifest-<?php echo $plugin->getID(); ?>"><?php echo elgg_echo("admin:plugins:label:moreinfo"); ?></a></div>
+ <div class="pts">
+ <?php
+ echo elgg_view('output/url', array(
+ 'href' => "#elgg-plugin-manifest-{$plugin->getID()}",
+ 'text' => elgg_echo("admin:plugins:label:moreinfo"),
+ 'class' => 'elgg-toggler',
+ ));
+ ?>
+ </div>
</div>
</div>
<div class="hidden manifest_file" id="elgg-plugin-manifest-<?php echo $plugin->getID(); ?>">
diff --git a/views/default/object/widget/elements/controls.php b/views/default/object/widget/elements/controls.php
index 39eba471a..ba30d2d4d 100644
--- a/views/default/object/widget/elements/controls.php
+++ b/views/default/object/widget/elements/controls.php
@@ -32,8 +32,8 @@ if ($widget->canEdit()) {
$params = array(
'text' => ' ',
'title' => elgg_echo('widget:edit'),
- 'href' => "#",
- 'class' => "elgg-widget-edit-button elgg-toggler elgg-toggles-widget-edit-$widget->guid",
+ 'href' => "#widget-edit-$widget->guid",
+ 'class' => "elgg-widget-edit-button elgg-toggler",
);
$edit_link = elgg_view('output/url', $params);
}