1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
%# BEGIN LICENSE BLOCK
%#
%# Copyright (c) 2002-2003 Jesse Vincent <jesse@bestpractical.com>
%#
%# This program is free software; you can redistribute it and/or modify
%# it under the terms of version 2 of the GNU General Public License
%# as published by the Free Software Foundation.
%#
%# A copy of that license should have arrived with this
%# software, but in any event can be snarfed from www.gnu.org.
%#
%# This program is distributed in the hope that it will be useful,
%# but WITHOUT ANY WARRANTY; without even the implied warranty of
%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
%# GNU General Public License for more details.
%#
%# END LICENSE BLOCK
<& /RTFM/Elements/Tabs, Title => loc('Extract article from ticket #[_1]',$Ticket) &>
Select a class to create a new article in:
<dl>
% my $Classes = RT::FM::ClassCollection->new($session{'CurrentUser'});
% $Classes->UnLimit;
% while (my $Class = $Classes->Next) {
<dt><a href="ExtractFromTicket.html?Ticket=<%$Ticket%>&Class=<%$Class->Id%>"><%$Class->Name%></a>
</dt>
<dd><%$Class->Description%></dd>
% }
</dl>
<%args>
$Ticket => undef
</%args>
|