aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/plugins/advanced.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-05 21:10:35 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-05 21:10:35 +0000
commit577eb6f725449fea5738ca122eedb5e4b2c8ff56 (patch)
tree384fecf7a7af92114d36c007f44bfc1ca1f135df /views/default/admin/plugins/advanced.php
parent0a66126e35dea809bf079ee2d61d138ffb9076e3 (diff)
downloadelgg-577eb6f725449fea5738ca122eedb5e4b2c8ff56.tar.gz
elgg-577eb6f725449fea5738ca122eedb5e4b2c8ff56.tar.bz2
The screenshot desc is now used. Small css changes.
git-svn-id: http://code.elgg.org/elgg/trunk@8037 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin/plugins/advanced.php')
-rw-r--r--views/default/admin/plugins/advanced.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/views/default/admin/plugins/advanced.php b/views/default/admin/plugins/advanced.php
index 2e05ae7ee..b83bee87f 100644
--- a/views/default/admin/plugins/advanced.php
+++ b/views/default/admin/plugins/advanced.php
@@ -117,8 +117,14 @@ foreach ($installed_plugins as $plugin) {
});
}
- var img = '<img class="pas" src="' + $(this).attr('href') + '">';
- lb.html(img);
+ var html = '<img class="pas" src="' + $(this).attr('href') + '">';
+ var desc = $(this).find('img').attr('alt');
+
+ if (desc) {
+ html = '<h2 class="pam">' + desc + '</h2>' + html;
+ }
+
+ lb.html(html);
top_pos = $(window).scrollTop() + 10 + 'px';
left_pos = $(window).scrollLeft() + 5 + 'px';