& /NoAuth/RTFM/Elements/ArticleTabs, id => $id, Title => $title, current_toptab =>
'NoAuth/RTFM/index.html', current_tab => 'NoAuth/RTFM/Search.html', current_subtab => 'NoAuth/RTFM/Display.html?id='.$article->Id &>
<%$article->Summary%>
<& /Elements/TitleBoxStart, title => loc('Custom Fields'), title_class=> 'inverse', color => "#993333" &>
<& /RTFM/Article/Elements/ShowCustomFields, article => $article &>
<& /Elements/TitleBoxEnd &>
<& /Elements/TitleBoxStart, title => loc('Links'), title_class=> 'inverse', titleright => '', color=> "#336633" &>
<& /RTFM/Article/Elements/ShowLinks, article => $article &>
<& /Elements/TitleBoxEnd &>
<%init>
my $article = RT::FM::Article->new($session{'CurrentUser'});
$article->Load($id);
unless ($article->Id) {
$m->comp("/NoAuth/RTFM/Elements/Error", Why => loc("Article not found"));
}
unless ($session{'CurrentUser'}->HasRight( Object => $article->ClassObj,
Right => 'ShowArticle')) {
$m->comp("/RTFM/Elements/Error", Why => loc("Permission Denied"));
}
my $cfs = $article->ClassObj->CustomFields;
my $title = loc( "Article #[_1]: [_2]", $article->Id, $article->Name);
%init>
<%args>
$id => undef
%args>