summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/hook/global/header-start.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BMO/template/en/default/hook/global/header-start.html.tmpl')
-rw-r--r--extensions/BMO/template/en/default/hook/global/header-start.html.tmpl12
1 files changed, 11 insertions, 1 deletions
diff --git a/extensions/BMO/template/en/default/hook/global/header-start.html.tmpl b/extensions/BMO/template/en/default/hook/global/header-start.html.tmpl
index 3c2f90e19..9c96ebffa 100644
--- a/extensions/BMO/template/en/default/hook/global/header-start.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/global/header-start.html.tmpl
@@ -1,3 +1,13 @@
+[% IF !javascript_urls %]
+ [% javascript_urls = [] %]
+[% END %]
+
[% IF template.name == 'list/list.html.tmpl' %]
[% javascript_urls.push('extensions/BMO/web/js/sorttable.js') %]
-[% END %] \ No newline at end of file
+[% END %]
+
+[% IF user.in_group('editusers') || user.bless_groups.size > 0 %]
+ [% yui.push('container', 'menu') %]
+ [% style_urls.push('js/yui/assets/skins/sam/menu.css') %]
+ [% javascript_urls.push('extensions/BMO/web/js/edituser_menu.js') %]
+[% END %]