projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 75817 - added new file to hold javascript for password validation
[freeside.git]
/
httemplate
/
browse
/
access_group.html
diff --git
a/httemplate/browse/access_group.html
b/httemplate/browse/access_group.html
index
dbce14d
..
2df0ba0
100644
(file)
--- a/
httemplate/browse/access_group.html
+++ b/
httemplate/browse/access_group.html
@@
-1,11
+1,11
@@
<% include( 'elements/browse.html',
'title' => 'Employee Groups',
<% include( 'elements/browse.html',
'title' => 'Employee Groups',
- 'menubar' => [ '
Internal user
s' => $p.'browse/access_user.html', ],
+ 'menubar' => [ '
View Employee
s' => $p.'browse/access_user.html', ],
'html_init' => $html_init,
'name' => 'employee groups',
'query' => { 'table' => 'access_group',
'hashref' => {},
'html_init' => $html_init,
'name' => 'employee groups',
'query' => { 'table' => 'access_group',
'hashref' => {},
- '
extra_sql
' => 'ORDER BY groupname', #??
+ '
order_by
' => 'ORDER BY groupname', #??
},
'count_query' => $count_query,
'header' => [ '#',
},
'count_query' => $count_query,
'header' => [ '#',
@@
-28,7
+28,7
@@
<%once>
my $html_init =
<%once>
my $html_init =
- "Employee groups control access to the back-office interface.<BR><BR>".
+ "Employee groups control access to the back-office interface.
Each employee can be assigned to one or more groups.
<BR><BR>".
qq!<A HREF="${p}edit/access_group.html"><I>Add an employee group</I></A><BR><BR>!;
#false laziness w/access_user.html & agent_type.cgi
qq!<A HREF="${p}edit/access_group.html"><I>Add an employee group</I></A><BR><BR>!;
#false laziness w/access_user.html & agent_type.cgi
@@
-81,9
+81,7
@@
my $rights_sub = sub {
'<TR><TH BGCOLOR="#dcdcdc">'. $_. '</TH></TR>'.
'<TR><TD>'.
'<TR><TH BGCOLOR="#dcdcdc">'. $_. '</TH></TR>'.
'<TR><TD>'.
- join('<BR>', grep { warn "$access_group->access_right($_): ".
- $access_group->access_right($_). "\n";
- $access_group->access_right($_); }
+ join('<BR>', grep { $access_group->access_right($_); }
map { ref($_) ? $_->{'rightname'} : $_; }
@{ $rights{$_} }
).
map { ref($_) ? $_->{'rightname'} : $_; }
@{ $rights{$_} }
).