From 8528e6ea2866b9057cda2a285e2e2edfc342f7d4 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Sat, 17 Feb 2024 22:36:15 +0100 Subject: [PATCH] Use JS again for download basket --- resources/views/themes/Gentele/books.tpl | 10 ++++++---- resources/views/themes/Gentele/browse.tpl | 12 +++++------ resources/views/themes/Gentele/console.tpl | 10 ++++++---- resources/views/themes/Gentele/games.tpl | 10 ++++++---- resources/views/themes/Gentele/movies.tpl | 20 +++++++++++-------- resources/views/themes/Gentele/search.tpl | 10 ++++++---- resources/views/themes/Gentele/viewanime.tpl | 13 ++++++------ .../views/themes/Gentele/viewmoviefull.tpl | 11 +++++----- resources/views/themes/Gentele/viewnzb.tpl | 9 ++++++--- resources/views/themes/Gentele/viewseries.tpl | 5 +++-- .../views/themes/Gentele/viewxxxfull.tpl | 10 ++++++---- resources/views/themes/Gentele/xxx.tpl | 10 ++++++---- 12 files changed, 75 insertions(+), 55 deletions(-) diff --git a/resources/views/themes/Gentele/books.tpl b/resources/views/themes/Gentele/books.tpl index dd317a576..932c70e28 100755 --- a/resources/views/themes/Gentele/books.tpl +++ b/resources/views/themes/Gentele/books.tpl @@ -140,10 +140,12 @@ class="fa fa-comment-o"> {$result->comments} Comment{if $result->comments != 1}s{/if} - guid}")}}" target="_blank"> + {if !empty($result->failed)} diff --git a/resources/views/themes/Gentele/browse.tpl b/resources/views/themes/Gentele/browse.tpl index eab682dd7..d1bbfba39 100755 --- a/resources/views/themes/Gentele/browse.tpl +++ b/resources/views/themes/Gentele/browse.tpl @@ -174,12 +174,12 @@ class="fa fa-comments-o text-muted" data-bs-toggle="tooltip" data-bs-placement="top" title data-original-title="Comments"> - guid}")}}" target="_blank"> + {/foreach} diff --git a/resources/views/themes/Gentele/console.tpl b/resources/views/themes/Gentele/console.tpl index 915e1696e..b291b12bf 100755 --- a/resources/views/themes/Gentele/console.tpl +++ b/resources/views/themes/Gentele/console.tpl @@ -157,10 +157,12 @@ class="fa fa-comment-o">{$result->comments} Comment{if $result->comments != 1}s{/if} - guid}")}}" target="_blank"> - + diff --git a/resources/views/themes/Gentele/games.tpl b/resources/views/themes/Gentele/games.tpl index 8ba9b8078..78676ee9d 100755 --- a/resources/views/themes/Gentele/games.tpl +++ b/resources/views/themes/Gentele/games.tpl @@ -170,10 +170,12 @@ class="fa fa-comment-o"> {$result->comments} Comment{if $result->comments != 1}s{/if} - guid}")}}" target="_blank"> - - + {if !empty($result->failed)} diff --git a/resources/views/themes/Gentele/movies.tpl b/resources/views/themes/Gentele/movies.tpl index dfc39de17..544219c52 100755 --- a/resources/views/themes/Gentele/movies.tpl +++ b/resources/views/themes/Gentele/movies.tpl @@ -159,10 +159,12 @@ class="fa fa-comment-o"> {$mcomments[$m@index]} Comment{if $mcomments[$m@index] != 1}s{/if} - + {if !empty($mfailed[$m@index])} @@ -285,10 +287,12 @@ class="fa fa-comment-o"> {$mcomments[$m@index]} Comment{if $mcomments[$m@index] != 1}s{/if} - + {if !empty($mfailed[$m@index])} diff --git a/resources/views/themes/Gentele/search.tpl b/resources/views/themes/Gentele/search.tpl index 4792a159e..358e0d78d 100755 --- a/resources/views/themes/Gentele/search.tpl +++ b/resources/views/themes/Gentele/search.tpl @@ -355,10 +355,12 @@ class="fa fa-comments-o text-muted" data-bs-toggle="tooltip" data-bs-placement="top" title data-original-title="Comments"> - guid}")}}" target="_blank"> + {/foreach} diff --git a/resources/views/themes/Gentele/viewanime.tpl b/resources/views/themes/Gentele/viewanime.tpl index d8959656d..ef301604c 100755 --- a/resources/views/themes/Gentele/viewanime.tpl +++ b/resources/views/themes/Gentele/viewanime.tpl @@ -140,13 +140,12 @@ class="fa fa-comments-o text-muted" data-bs-toggle="tooltip" data-bs-placement="top" title data-original-title="Comments"> - guid}")}}" target="_blank"> - - - + {/foreach} diff --git a/resources/views/themes/Gentele/viewmoviefull.tpl b/resources/views/themes/Gentele/viewmoviefull.tpl index a02700240..89a0705dd 100755 --- a/resources/views/themes/Gentele/viewmoviefull.tpl +++ b/resources/views/themes/Gentele/viewmoviefull.tpl @@ -156,11 +156,12 @@ class="fa fa-comments-o text-muted" data-bs-toggle="tooltip" data-bs-placement="top" title data-original-title="Comments"> - + {/foreach} diff --git a/resources/views/themes/Gentele/viewnzb.tpl b/resources/views/themes/Gentele/viewnzb.tpl index 2f86b9aad..46d5d7c76 100755 --- a/resources/views/themes/Gentele/viewnzb.tpl +++ b/resources/views/themes/Gentele/viewnzb.tpl @@ -239,9 +239,12 @@ Download - - Add to Cart +
diff --git a/resources/views/themes/Gentele/viewseries.tpl b/resources/views/themes/Gentele/viewseries.tpl index 15e56b59f..193bf1fd6 100755 --- a/resources/views/themes/Gentele/viewseries.tpl +++ b/resources/views/themes/Gentele/viewseries.tpl @@ -215,8 +215,9 @@ data-bs-toggle="tooltip" data-bs-placement="top" title data-original-title="Comments"> - guid}")}}" target="_blank"> diff --git a/resources/views/themes/Gentele/viewxxxfull.tpl b/resources/views/themes/Gentele/viewxxxfull.tpl index 6a0ceb905..f7eec9d24 100755 --- a/resources/views/themes/Gentele/viewxxxfull.tpl +++ b/resources/views/themes/Gentele/viewxxxfull.tpl @@ -143,10 +143,12 @@ class="fa fa-comments-o text-muted" data-bs-toggle="tooltip" data-bs-placement="top" title data-original-title="Comments"> - + {/foreach} diff --git a/resources/views/themes/Gentele/xxx.tpl b/resources/views/themes/Gentele/xxx.tpl index 8f84e44ee..01fc245c1 100755 --- a/resources/views/themes/Gentele/xxx.tpl +++ b/resources/views/themes/Gentele/xxx.tpl @@ -191,10 +191,12 @@ class="fa fa-comment-o"> {$mcomments[$m@index]} Comment{if $mcomments[$m@index] != 1}s{/if} - + {if !empty($mfailed[$m@index])}