diff options
Diffstat (limited to 'rt/html/Admin/Global/GroupRights.html')
-rw-r--r-- | rt/html/Admin/Global/GroupRights.html | 62 |
1 files changed, 32 insertions, 30 deletions
diff --git a/rt/html/Admin/Global/GroupRights.html b/rt/html/Admin/Global/GroupRights.html index 8d71432e0..7c863d53a 100644 --- a/rt/html/Admin/Global/GroupRights.html +++ b/rt/html/Admin/Global/GroupRights.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC %# <jesse@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -22,7 +22,9 @@ %# %# You should have received a copy of the GNU General Public License %# along with this program; if not, write to the Free Software -%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +%# 02110-1301 or visit their web page on the internet at +%# http://www.gnu.org/copyleft/gpl.html. %# %# %# CONTRIBUTION SUBMISSION POLICY: @@ -49,63 +51,63 @@ Title => loc('Modify global group rights') &> <& /Elements/ListActions, actions => \@results &> - <FORM METHOD=POST ACTION="GroupRights.html"> + <form method="post" action="GroupRights.html"> -<& /Elements/TitleBoxStart, title => loc('Modify global group rights.')&> +<&| /Widgets/TitleBox, title => loc('Modify global group rights.')&> <h1><&|/l&>System groups</&></h1> -<TABLE> +<table> % $Groups = RT::Groups->new($session{'CurrentUser'}); % $Groups->LimitToSystemInternalGroups(); % while (my $Group = $Groups->Next()) { - <TR ALIGN=RIGHT> - <TD VALIGN=TOP> + <tr align="right"> + <td valign="top"> <% loc($Group->Type) %> - </TD> - <TD> + </td> + <td> <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId, Object =>$RT::System &> - </TD> - </TR> + </td> + </tr> % } -</TABLE> +</table> <h1><&|/l&>Roles</&></h1> -<TABLE> +<table> % $Groups = RT::Groups->new($session{'CurrentUser'}); % $Groups->LimitToRolesForSystem(); % while (my $Group = $Groups->Next()) { - <TR ALIGN=RIGHT> - <TD VALIGN=TOP> + <tr align="right"> + <td valign="top"> <% loc($Group->Type) %> - </TD> - <TD> + </td> + <td> <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId, Object => $RT::System &> - </TD> - </TR> + </td> + </tr> % } -</TABLE> +</table> <h1><&|/l&>User defined groups</&></h1> -<TABLE> +<table> % $Groups = RT::Groups->new($session{'CurrentUser'}); % $Groups->LimitToUserDefinedGroups(); % while (my $Group = $Groups->Next()) { - <TR ALIGN=RIGHT> - <TD VALIGN=TOP> + <tr align="right"> + <td valign="top"> <% $Group->Name %> - </TD> - <TD> + </td> + <td> <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId, Object => $RT::System &> - </TD> - </TR> + </td> + </tr> % } -</TABLE> +</table> - <& /Elements/TitleBoxEnd &> + </&> <& /Elements/Submit, Label => loc('Modify Group Rights'), Reset => 1 &> - </FORM> + </form> <%INIT> |