From ded0451e9582df33cae6099a2fb72b4ea25076cf Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 15 Jul 2003 13:30:43 +0000 Subject: reverting to vendor branch rt 3.0.4, hopefully --- rt/webrt/Admin/Groups/Modify.html | 83 --------------------------------------- 1 file changed, 83 deletions(-) delete mode 100644 rt/webrt/Admin/Groups/Modify.html (limited to 'rt/webrt/Admin/Groups/Modify.html') diff --git a/rt/webrt/Admin/Groups/Modify.html b/rt/webrt/Admin/Groups/Modify.html deleted file mode 100644 index 7104a6937..000000000 --- a/rt/webrt/Admin/Groups/Modify.html +++ /dev/null @@ -1,83 +0,0 @@ -<& /Admin/Elements/Header, Title => $title &> - -<& /Admin/Elements/GroupTabs, GroupObj => $Group &> -<& /Elements/ListActions, actions => \@results &> - - -<& /Elements/TitleBoxStart, title => $title &> - -
- -%unless ($Group->Id) { - -% } else { - -% } - - - - - -
-Name: -
-Description:
-<& /Elements/TitleBoxEnd &> - -<& /Elements/Submit &> -
-<%INIT> - -my ($title); -my (@results); - -my $Group = new RT::Group($session{'CurrentUser'}); - -if ($Create) { - $title = "Create a new group"; -} - -else { - - if ($id eq 'new' ) { - - $Group->Create(Name => "$Name") || Abort ("Group could not be created."); - $id = $Group->Id; - } - else { - $Group->Load($id) || Abort('Could not load group'); - } - - - if ($id) { - $title = "Modify the group ". $Group->Name; - - } - - # If the create failed - else { - $title = "Create a new group"; - $Create = 1; - } - -} - -if ($id) { - - my @fields = qw(Description Name ); - my @fieldresults = UpdateRecordObject ( AttributesRef => \@fields, - Object => $Group, - ARGSRef => \%ARGS ); - push (@results,@fieldresults); -} - - - - - -<%ARGS> -$Create => undef -$Name => undef -$Description => undef -$id => undef - -- cgit v1.2.1