diff options
author | Othmar Gsenger <otti@wirdorange.org> | 2011-01-15 01:45:31 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@wirdorange.org> | 2011-01-15 01:45:31 +0000 |
commit | 47e6c70ef295d7480be741e8c80124e372b95418 (patch) | |
tree | 45637921ae011e381948a96b12ff73ec05bc37b5 /mydl.pl | |
parent | added cancel (diff) |
added remove
Diffstat (limited to 'mydl.pl')
-rwxr-xr-x | mydl.pl | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -23,8 +23,10 @@ if (param('only_me')) } foreach my $dl ( @downloads) { + my $dl_remove; + $dl_remove = a({href=>'/cgi-bin/nzbget/remove.pl?id='.$dl->download_id},"loeschen") if $dl->owner->owner_id == $user->get_id; print Tr(td([ - $dl->category->name,a({title=>$dl->description,href=>'/'.$dl->category->name.'/'.$dl->download_id},$dl->name),$dl->size.'MB' + $dl->category->name,a({title=>$dl->description,href=>'/'.$dl->category->name.'/'.$dl->download_id},$dl->name),$dl->size.'MB',$dl_remove ])); } |