You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

52 lines
1.9 KiB

<h2>My Download Basket</h2>
<div class="alert-info">
<p>
Your download basket can be downloaded as an <a href="{$smarty.const.WWW_TOP}/rss?t=-2&amp;dl=1&amp;i={$userdata.id}&amp;r={$userdata.rsstoken}&amp;del=1">RSS Feed</a>.
</p>
</div>
{if $results|@count > 0}
<form id="nzb_multi_operations_form" action="get">
<div class="well well-sm">
<div class="nzb_multi_operations">
With Selected:
<div class="btn-group">
<input type="button" class="nzb_multi_operations_cartdelete btn btn-small btn-danger" value="Delete"/>
{if $sabintegrated}<input type="button" class="nzb_multi_operations_cartsab btn btn-small btn-primary" value="Send to queue"/>{/if}
<input type="button" class="nzb_multi_operations_download btn btn-small btn-success" value="Download">
</div>
</div>
</div>
<table style="width:100%;" class="data highlight table" id="browsetable">
<tr>
<th width="50"><input id="chkSelectAll" type="checkbox" class="nzb_check_all" /><label for="chkSelectAll" style="display:none;">Select All</label></th>
<th>name</th>
<th>added</th>
<th>options</th>
</tr>
{foreach $results as $result}
<tr class="{cycle values=",alt"}">
<td class="check">
<input id="chk{$result.guid|substr:0:7}" type="checkbox" class="nzb_check" value="{$result.guid}" />
</td>
<td>
<a title="View details" href="{$smarty.const.WWW_TOP}/details/{$result.guid}">{$result.searchname|escape:"htmlall"|wordwrap:75:"\n":true}</a>
</td>
<td class="less" title="Added on {$result.createddate}">{$result.createddate|date_format}</td>
<td><a class="btn btn-mini btn-danger" title="Delete from your Download Basket" href="?delete={$result.guid}">Delete</a></td>
</tr>
{/foreach}
</table>
</form>
{else}
<div class="alert">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<h4>Sorry!</h4>
There are no NZBs in your download basket.
</div>
{/if}