From 465e3d31929f6002146367e1950e3d2b70190846 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 17 Apr 2009 07:03:02 +0000 Subject: hide service search unless user has "View customer services" ACL, RT#3478 --- httemplate/elements/header.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'httemplate/elements/header.html') diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 8e902f038..058756745 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -202,11 +202,13 @@ input.fsblackbuttonselected { +% if ( $curuser->access_right('View customer services') ) {

Advanced
+% } -- cgit v1.2.1 From 70569273833d91085c6c562865a78a08ddde49a1 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 8 Jul 2009 11:12:46 +0000 Subject: borg RT menus, RT#1169 --- httemplate/elements/header.html | 70 +++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 42 deletions(-) (limited to 'httemplate/elements/header.html') diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 058756745..0bbd4fd8c 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -48,49 +48,16 @@ <% $etc |n %> STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0"> - - + - - - -
freeside + freeside <% $company_name || 'ExampleCo' %> Logged in as <% getotaker %> 
Preferences 
-
- - - - -% if ( $conf->config('ticket_system') eq 'RT_Internal' ) { -% eval "use RT;"; - - - -% } - - - -
- - <% include('/elements/popup_link.html', - 'action' => $fsurl.'docs/about.html', - 'label' => 'Freeside', - 'actionlabel' => 'About', - 'width' => 300, - 'height' => 360, - 'color' => '#7e0079', - 'scrolling' => 'no', - ) |n - %> v<% $FS::VERSION %>
- " TARGET="_blank">Documentation
-
-
- - RT v<% $RT::VERSION %>
-
Documentation
-
-
- +
Logged in as <% getotaker %> 
Preferences +% if ( $conf->config("ticket_system") +% && FS::TicketSystem->access_right(\%session, 'ModifySelf') ) { + | Ticketing preferences +% } +
@@ -136,12 +103,22 @@ input.fsblackbuttonselected { - + + + + + + + + +
<% include('/elements/about_freeside.html') |n %><% include('/elements/about_rt.html') |n %>
+ + @@ -250,6 +227,15 @@ input.fsblackbuttonselected {
+ + + + + + + +
<% include('/elements/about_freeside.html') %>
<% include('/elements/about_rt.html') %>
+ -- cgit v1.2.1 From a404926bbec025159de0611ce95783488a8bd241 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 12 Jul 2009 23:22:06 +0000 Subject: resolve style weirdness (fallout from RT integration), especially non-fixed-width comment boxes, menu/searchbar differences, RT#1169 --- httemplate/elements/header.html | 89 +++++++++++++++++++++++++++-------------- 1 file changed, 59 insertions(+), 30 deletions(-) (limited to 'httemplate/elements/header.html') diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 0bbd4fd8c..9d062cf9a 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -10,6 +10,7 @@ <% include('menu.html', 'freeside_baseurl' => $fsurl, 'position' => $menu_position, + 'nocss' => $nocss, ) |n %> @@ -17,7 +18,7 @@