mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 02:08:57 +00:00
Replace nntmux_ functions with nzb_ in Charisma/Omicron themes
This commit is contained in:
@@ -24,23 +24,23 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_download btn btn-sm btn-success"
|
||||
class="nzb_multi_operations_download btn btn-sm btn-success"
|
||||
value="Download NZBs"/>
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_cart btn btn-sm btn-info"
|
||||
class="nzb_multi_operations_cart btn btn-sm btn-info"
|
||||
value="Send to my Download Basket"/>
|
||||
{if isset($sabintegrated) && $sabintegrated !=""}
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_sab btn btn-sm btn-primary"
|
||||
class="nzb_multi_operations_sab btn btn-sm btn-primary"
|
||||
value="Send to Queue"/>
|
||||
{/if}
|
||||
{if isset($isadmin)}
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_delete btn btn-sm btn-danger"
|
||||
class="nzb_multi_operations_delete btn btn-sm btn-danger"
|
||||
value="Delete"/>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -168,23 +168,23 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_download btn btn-sm btn-success"
|
||||
class="nzb_multi_operations_download btn btn-sm btn-success"
|
||||
value="Download NZBs"/>
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_cart btn btn-sm btn-info"
|
||||
class="nzb_multi_operations_cart btn btn-sm btn-info"
|
||||
value="Send to my Download Basket"/>
|
||||
{if isset($sabintegrated) && $sabintegrated !=""}
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_sab btn btn-sm btn-primary"
|
||||
class="nzb_multi_operations_sab btn btn-sm btn-primary"
|
||||
value="Send to Queue"/>
|
||||
{/if}
|
||||
{if isset($isadmin)}
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_delete btn btn-sm btn-danger"
|
||||
class="nzb_multi_operations_delete btn btn-sm btn-danger"
|
||||
value="Delete"/>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
@@ -175,7 +175,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
@@ -196,7 +196,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
@@ -304,7 +304,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
@@ -168,7 +168,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
|
||||
@@ -62,9 +62,9 @@
|
||||
{/if}
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button" class="nntmux_multi_operations_download btn btn-sm btn-success"
|
||||
<input type="button" class="nzb_multi_operations_download btn btn-sm btn-success"
|
||||
value="Download NZBs"/>
|
||||
<input type="button" class="nntmux_multi_operations_cart btn btn-sm btn-info"
|
||||
<input type="button" class="nzb_multi_operations_cart btn btn-sm btn-info"
|
||||
value="Send to my Download Basket"/>
|
||||
{if isset($sabintegrated) && $sabintegrated !=""}
|
||||
<input type="button" class="nzb_multi_operations_sab btn btn-sm btn-primary"
|
||||
@@ -75,9 +75,9 @@
|
||||
<div class="pull-right">
|
||||
Admin:
|
||||
<div class="btn-group">
|
||||
<input type="button" class="nntmux_multi_operations_edit btn btn-sm btn-warning"
|
||||
<input type="button" class="nzb_multi_operations_edit btn btn-sm btn-warning"
|
||||
value="Edit"/>
|
||||
<input type="button" class="nntmux_multi_operations_delete btn btn-sm btn-danger"
|
||||
<input type="button" class="nzb_multi_operations_delete btn btn-sm btn-danger"
|
||||
value="Delete"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -92,7 +92,7 @@
|
||||
class="data table table-condensed table-striped table-responsive table-hover">
|
||||
<tr>
|
||||
<th>
|
||||
<input id="chkSelectAll" type="checkbox" class="nntmux_check_all"/>
|
||||
<input id="chkSelectAll" type="checkbox" class="nzb_check_all"/>
|
||||
<label for="chkSelectAll" style="display:none;">Select All</label>
|
||||
</th>
|
||||
<th>Name<br/>
|
||||
|
||||
@@ -56,9 +56,9 @@
|
||||
{/if}
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button" class="nntmux_multi_operations_download btn btn-sm btn-success"
|
||||
<input type="button" class="nzb_multi_operations_download btn btn-sm btn-success"
|
||||
value="Download NZBs"/>
|
||||
<input type="button" class="nntmux_multi_operations_cart btn btn-sm btn-info"
|
||||
<input type="button" class="nzb_multi_operations_cart btn btn-sm btn-info"
|
||||
value="Send to my Download Basket"/>
|
||||
{if isset($sabintegrated) && $sabintegrated !=""}
|
||||
<input type="button" class="nzb_multi_operations_sab btn btn-sm btn-primary"
|
||||
@@ -69,9 +69,9 @@
|
||||
<div class="pull-right">
|
||||
Admin:
|
||||
<div class="btn-group">
|
||||
<input type="button" class="nntmux_multi_operations_edit btn btn-sm btn-warning"
|
||||
<input type="button" class="nzb_multi_operations_edit btn btn-sm btn-warning"
|
||||
value="Edit"/>
|
||||
<input type="button" class="nntmux_multi_operations_delete btn btn-sm btn-danger"
|
||||
<input type="button" class="nzb_multi_operations_delete btn btn-sm btn-danger"
|
||||
value="Delete"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -86,7 +86,7 @@
|
||||
class="data table table-condensed table-striped table-responsive table-hover">
|
||||
<tr>
|
||||
<th>
|
||||
<input id="chkSelectAll" type="checkbox" class="nntmux_check_all"/>
|
||||
<input id="chkSelectAll" type="checkbox" class="nzb_check_all"/>
|
||||
<label for="chkSelectAll" style="display:none;">Select All</label>
|
||||
</th>
|
||||
<th>Name<br/>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
@@ -372,7 +372,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
|
||||
@@ -24,23 +24,23 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_download btn btn-sm btn-success"
|
||||
class="nzb_multi_operations_download btn btn-sm btn-success"
|
||||
value="Download NZBs"/>
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_cart btn btn-sm btn-info"
|
||||
class="nzb_multi_operations_cart btn btn-sm btn-info"
|
||||
value="Send to my Download Basket"/>
|
||||
{if isset($sabintegrated) && $sabintegrated !=""}
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_sab btn btn-sm btn-primary"
|
||||
class="nzb_multi_operations_sab btn btn-sm btn-primary"
|
||||
value="Send to Queue"/>
|
||||
{/if}
|
||||
{if isset($isadmin)}
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_delete btn btn-sm btn-danger"
|
||||
class="nzb_multi_operations_delete btn btn-sm btn-danger"
|
||||
value="Delete"/>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -168,23 +168,23 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_download btn btn-sm btn-success"
|
||||
class="nzb_multi_operations_download btn btn-sm btn-success"
|
||||
value="Download NZBs"/>
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_cart btn btn-sm btn-info"
|
||||
class="nzb_multi_operations_cart btn btn-sm btn-info"
|
||||
value="Send to my Download Basket"/>
|
||||
{if isset($sabintegrated) && $sabintegrated !=""}
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_sab btn btn-sm btn-primary"
|
||||
class="nzb_multi_operations_sab btn btn-sm btn-primary"
|
||||
value="Send to Queue"/>
|
||||
{/if}
|
||||
{if isset($isadmin)}
|
||||
<input type="button"
|
||||
class="nntmux_multi_operations_delete btn btn-sm btn-danger"
|
||||
class="nzb_multi_operations_delete btn btn-sm btn-danger"
|
||||
value="Delete"/>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
@@ -175,7 +175,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
@@ -197,7 +197,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
@@ -304,7 +304,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
@@ -168,7 +168,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
|
||||
@@ -62,9 +62,9 @@
|
||||
{/if}
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button" class="nntmux_multi_operations_download btn btn-sm btn-success"
|
||||
<input type="button" class="nzb_multi_operations_download btn btn-sm btn-success"
|
||||
value="Download NZBs"/>
|
||||
<input type="button" class="nntmux_multi_operations_cart btn btn-sm btn-info"
|
||||
<input type="button" class="nzb_multi_operations_cart btn btn-sm btn-info"
|
||||
value="Send to my Download Basket"/>
|
||||
{if isset($sabintegrated) && $sabintegrated !=""}
|
||||
<input type="button" class="nzb_multi_operations_sab btn btn-sm btn-primary"
|
||||
@@ -75,9 +75,9 @@
|
||||
<div class="pull-right">
|
||||
Admin:
|
||||
<div class="btn-group">
|
||||
<input type="button" class="nntmux_multi_operations_edit btn btn-sm btn-warning"
|
||||
<input type="button" class="nzb_multi_operations_edit btn btn-sm btn-warning"
|
||||
value="Edit"/>
|
||||
<input type="button" class="nntmux_multi_operations_delete btn btn-sm btn-danger"
|
||||
<input type="button" class="nzb_multi_operations_delete btn btn-sm btn-danger"
|
||||
value="Delete"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -92,7 +92,7 @@
|
||||
class="data table table-condensed table-striped table-responsive table-hover">
|
||||
<tr>
|
||||
<th>
|
||||
<input id="chkSelectAll" type="checkbox" class="nntmux_check_all"/>
|
||||
<input id="chkSelectAll" type="checkbox" class="nzb_check_all"/>
|
||||
<label for="chkSelectAll" style="display:none;">Select All</label>
|
||||
</th>
|
||||
<th>Name<br/>
|
||||
|
||||
@@ -56,9 +56,9 @@
|
||||
{/if}
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button" class="nntmux_multi_operations_download btn btn-sm btn-success"
|
||||
<input type="button" class="nzb_multi_operations_download btn btn-sm btn-success"
|
||||
value="Download NZBs"/>
|
||||
<input type="button" class="nntmux_multi_operations_cart btn btn-sm btn-info"
|
||||
<input type="button" class="nzb_multi_operations_cart btn btn-sm btn-info"
|
||||
value="Send to my Download Basket"/>
|
||||
{if isset($sabintegrated) && $sabintegrated !=""}
|
||||
<input type="button" class="nzb_multi_operations_sab btn btn-sm btn-primary"
|
||||
@@ -69,9 +69,9 @@
|
||||
<div class="pull-right">
|
||||
Admin:
|
||||
<div class="btn-group">
|
||||
<input type="button" class="nntmux_multi_operations_edit btn btn-sm btn-warning"
|
||||
<input type="button" class="nzb_multi_operations_edit btn btn-sm btn-warning"
|
||||
value="Edit"/>
|
||||
<input type="button" class="nntmux_multi_operations_delete btn btn-sm btn-danger"
|
||||
<input type="button" class="nzb_multi_operations_delete btn btn-sm btn-danger"
|
||||
value="Delete"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -86,7 +86,7 @@
|
||||
class="data table table-condensed table-striped table-responsive table-hover">
|
||||
<tr>
|
||||
<th>
|
||||
<input id="chkSelectAll" type="checkbox" class="nntmux_check_all"/>
|
||||
<input id="chkSelectAll" type="checkbox" class="nzb_check_all"/>
|
||||
<label for="chkSelectAll" style="display:none;">Select All</label>
|
||||
</th>
|
||||
<th>Name<br/>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
@@ -372,7 +372,7 @@
|
||||
<div class="nzb_multi_operations">
|
||||
View: <strong>Covers</strong> | <a
|
||||
href="{$smarty.const.WWW_TOP}/browse?t={$category}">List</a><br/>
|
||||
Check all: <input type="checkbox" class="nntmux_check_all"/> <br/>
|
||||
Check all: <input type="checkbox" class="nzb_check_all"/> <br/>
|
||||
With Selected:
|
||||
<div class="btn-group">
|
||||
<input type="button"
|
||||
|
||||
@@ -161,15 +161,6 @@ jQuery(function($){
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.nntmux_check_all').change(function(){
|
||||
if($(this).attr('checked'))
|
||||
{
|
||||
$(".nzb_check").attr('checked',$(this).attr('checked'));
|
||||
} else {
|
||||
$(".nzb_check").removeAttr('checked');
|
||||
}
|
||||
});
|
||||
|
||||
$('.report_check_all').change(function(){
|
||||
if($(this).attr('checked'))
|
||||
{
|
||||
@@ -180,172 +171,6 @@ jQuery(function($){
|
||||
}
|
||||
});
|
||||
|
||||
$('input.nntmux_multi_operations_download').click(function(){
|
||||
var newFormName = 'nzbmulti' + Math.round(+new Date()/1000);
|
||||
var newForm = $("<form />", {'action': SERVERROOT + 'getnzb?zip=1', 'method':'post', 'target': '_top', 'id':newFormName});
|
||||
$("INPUT[type='checkbox']:checked").each( function(i, row) {
|
||||
if ($(row).val()!="on")
|
||||
$("<input />", {'name':'id[]', 'value':$(row).val(), 'type':'hidden'}).appendTo(newForm);
|
||||
});
|
||||
newForm.appendTo($('body'));
|
||||
console.log(newForm)
|
||||
$('#'+newFormName).submit();
|
||||
});
|
||||
|
||||
$('input.nntmux_multi_operations_cart').click(function(){
|
||||
var guids = new Array();
|
||||
$("INPUT[type='checkbox']:checked").each( function(i, row) {
|
||||
var guid = $(row).val();
|
||||
var $cartIcon = $(row).parent().parent().children('td.icons').children('.icon_cart');
|
||||
if (guid && !$cartIcon.hasClass('icon_cart_clicked')){
|
||||
$cartIcon.addClass('icon_cart_clicked').attr('title','Added to Cart'); // consider doing this only upon success
|
||||
guids.push(guid);
|
||||
PNotify.prototype.options.styling = "fontawesome";
|
||||
PNotify.desktop.permission();
|
||||
(new PNotify({
|
||||
title: 'Release added to your Download Basket!',
|
||||
type: 'success',
|
||||
icon: 'fa fa-info fa-3x',
|
||||
animate: {
|
||||
animate: true,
|
||||
in_class: 'bounceInLeft',
|
||||
out_class: 'bounceOutRight'
|
||||
},
|
||||
desktop: {
|
||||
desktop: true
|
||||
}})
|
||||
);
|
||||
}
|
||||
$(this).attr('checked', false);
|
||||
});
|
||||
$.post( SERVERROOT + "cart?add", { 'add': guids });
|
||||
});
|
||||
|
||||
$('input.nntmux_multi_operations_sab').click(function(){
|
||||
$("INPUT[type='checkbox']:checked").each( function(i, row) {
|
||||
var $sabIcon = $(row).parent().parent().children('td.icons').children('.icon_sab');
|
||||
var guid = $(row).val();
|
||||
if (guid && !$sabIcon.hasClass('icon_sab_clicked')) {
|
||||
var nzburl = SERVERROOT + "sendtoqueue/" + guid;
|
||||
$.post( nzburl, function(resp){
|
||||
$sabIcon.addClass('icon_sab_clicked').attr('title','Added to Queue');
|
||||
PNotify.prototype.options.styling = "fontawesome";
|
||||
PNotify.desktop.permission();
|
||||
(new PNotify({
|
||||
title: 'Release added to your download queue!',
|
||||
type: 'success',
|
||||
icon: 'fa fa-info fa-3x',
|
||||
animate: {
|
||||
animate: true,
|
||||
in_class: 'bounceInLeft',
|
||||
out_class: 'bounceOutRight'
|
||||
},
|
||||
desktop: {
|
||||
desktop: true
|
||||
}})
|
||||
);
|
||||
});
|
||||
}
|
||||
$(this).attr('checked', false);
|
||||
});
|
||||
});
|
||||
|
||||
$('input.nntmux_multi_operations_nzbget').click(function(){
|
||||
$("INPUT[type='checkbox']:checked").each( function(i, row) {
|
||||
var $nzbgetIcon = $(row).parent().parent().children('td.icons').children('.icon_nzbget');
|
||||
var guid = $(row).val();
|
||||
if (guid && !$nzbgetIcon.hasClass('icon_nzbget_clicked')) {
|
||||
var nzburl = SERVERROOT + "sendtoqueue/" + guid;
|
||||
$.post( nzburl, function(resp){
|
||||
$nzbgetIcon.addClass('icon_nzbget_clicked').attr('title','Added to Queue');
|
||||
PNotify.prototype.options.styling = "fontawesome";
|
||||
PNotify.desktop.permission();
|
||||
(new PNotify({
|
||||
title: 'Release added to your download queue!',
|
||||
type: 'success',
|
||||
icon: 'fa fa-info fa-3x',
|
||||
animate: {
|
||||
animate: true,
|
||||
in_class: 'bounceInLeft',
|
||||
out_class: 'bounceOutRight'
|
||||
},
|
||||
desktop: {
|
||||
desktop: true
|
||||
}})
|
||||
);
|
||||
});
|
||||
}
|
||||
$(this).attr('checked', false);
|
||||
});
|
||||
});
|
||||
|
||||
$('input.nntmux_multi_operations_delete').click(function(){
|
||||
var ids = "";
|
||||
$("INPUT[type='checkbox']:checked").each( function(i, row) {
|
||||
if ($(row).val()!="on")
|
||||
ids += '&id[]='+$(row).val();
|
||||
});
|
||||
if (ids)
|
||||
{
|
||||
PNotify.prototype.options.styling = "fontawesome";
|
||||
(new PNotify({
|
||||
title: 'Confirmation Needed',
|
||||
text: 'Are you sure you want to delete the selected releases?',
|
||||
icon: 'glyphicon glyphicon-question-sign',
|
||||
hide: false,
|
||||
confirm: {
|
||||
confirm: true
|
||||
},
|
||||
buttons: {
|
||||
closer: false,
|
||||
sticker: false
|
||||
},
|
||||
history: {
|
||||
history: false
|
||||
}
|
||||
})).get().on('pnotify.confirm', function() {
|
||||
$.post( SERVERROOT + "ajax_release-admin?action=dodelete"+ids, function(resp){
|
||||
location.reload(true);
|
||||
});
|
||||
}).on('pnotify.cancel', function() {
|
||||
alert('Cancelled');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$('input.nntmux_multi_operations_deletereport').click(function(){
|
||||
var ids = "";
|
||||
//var rids = "";
|
||||
$("INPUT[type='checkbox']:checked").each( function(i, row) {
|
||||
if ($(row).val()!="on")
|
||||
ids += '&id[]='+$(row).val();
|
||||
// rids += '&id[]='+$(row).attr("id");
|
||||
});
|
||||
if (ids)
|
||||
if (confirm('Are you sure you want to delete the selected releases?')) {
|
||||
$.post(SERVERROOT + "ajax_release-admin?action=dodelete"+ids, function(resp){
|
||||
});
|
||||
$.post(SERVERROOT + "ajax_report-admin?action=dodelete"+ids, function(resp){
|
||||
// location.reload(true);
|
||||
});
|
||||
location.reload(true);
|
||||
}
|
||||
});
|
||||
|
||||
$('input.nntmux_multi_operations_rebuild').click(function(){
|
||||
var ids = "";
|
||||
$("INPUT[type='checkbox']:checked").each( function(i, row) {
|
||||
if ($(row).val()!="on")
|
||||
ids += '&id[]='+$(row).val();
|
||||
});
|
||||
if (ids)
|
||||
if (confirm('Are you sure you want to rebuild the selected releases?')) {
|
||||
$.post(SERVERROOT + "ajax_release-admin?action=dorebuild"+ids, function(resp){
|
||||
location.reload(true);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
var vortexStates = new Array();
|
||||
vortexStates[0] = 'Waiting';
|
||||
vortexStates[1] = 'Downloading';
|
||||
|
||||
Reference in New Issue
Block a user