<& /RTFM/Article/Elements/Tabs, id => $id, Title => $title, current_subtab => 'RTFM/Article/Display.html?id='.$id &> <%$article->Summary%>


<& /Elements/TitleBoxStart, title => loc('Custom Fields'), title_class=> 'inverse', color => "#993333" &> <& Elements/ShowCustomFields, article => $article &> <& /Elements/TitleBoxEnd &>
<& /Elements/TitleBoxStart, title => loc('Links'), title_class=> 'inverse', titleright => '', color=> "#336633" &> <& Elements/ShowLinks, article => $article &> <& /Elements/TitleBoxEnd &> <%init> my $article = RT::FM::Article->new($session{'CurrentUser'}); $article->Load($id); unless ($article->Id) { $m->comp("/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); <%args> $id => undef