1 <& elements/browse.html,
2 'title' => 'Upload targets',
3 'menubar' => [ 'Add a target' => $p.'edit/upload_target.html', ],
5 'query' => { 'table' => 'upload_target',
8 'count_query' => $count_query,
17 'fields' => [ 'targetnum',
20 $label{$target->protocol}
28 'links' => [ $link, $link, $link, $link, ],
32 <% include('/elements/footer.html') %>
36 my $count_query = 'SELECT COUNT(*) FROM upload_target';
46 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
48 my $link = [ $p.'edit/upload_target.html?', 'targetnum' ];