Browse Source

Adds JAV series and Anime/Game/Manga Circle to search listings and group pages.

This might work. This might do nothing. This might break eveything. Place your bets.
NSHkD 5 years ago
parent
commit
e0cf911003
2 changed files with 11 additions and 0 deletions
  1. 7
    0
      sections/torrents/browse.php
  2. 4
    0
      sections/torrents/details.php

+ 7
- 0
sections/torrents/browse.php View File

@@ -487,6 +487,7 @@ View::show_header('Browse Torrents', 'browse');
487 487
   $Artists = $GroupInfo['Artists'];
488 488
   $GroupCatalogueNumber = $GroupInfo['CatalogueNumber'];
489 489
   $GroupPages = $GroupInfo['Pages'];
490
+  $GroupSeries = $GroupInfo['Circle/Series']
490 491
   $GroupStudio = $GroupInfo['Studio'];
491 492
   $GroupDLsiteID = $GroupInfo['DLSiteID'];
492 493
   $GroupName = empty($GroupInfo['Name']) ? (empty($GroupInfo['NameRJ']) ? $GroupInfo['NameJP'] : $GroupInfo['NameRJ']) : $GroupInfo['Name'];
@@ -526,6 +527,9 @@ View::show_header('Browse Torrents', 'browse');
526 527
     if ($GroupYear) {
527 528
       $DisplayName .= " [$GroupYear]";
528 529
     }
530
+    if ($GroupSeries) {
531
+      $DisplayName .= " [$GroupSeries]";
532
+    }
529 533
     if ($GroupStudio) {
530 534
       $DisplayName .= " [$GroupStudio]";
531 535
     }
@@ -646,6 +650,9 @@ $ShowGroups = !(!empty($LoggedUser['TorrentGrouping']) && $LoggedUser['TorrentGr
646 650
       if ($GroupYear) {
647 651
         $DisplayName .= " [$GroupYear]";
648 652
       }
653
+      if ($GroupSeries) {
654
+        $DisplayName .= " [$GroupSeries]";
655
+      }
649 656
       if ($GroupStudio) {
650 657
         $DisplayName .= " [$GroupStudio]";
651 658
       }

+ 4
- 0
sections/torrents/details.php View File

@@ -63,6 +63,10 @@ if ($GroupYear > 0) {
63 63
   $Title .= " [$GroupYear]";
64 64
 }
65 65
 
66
+if ($GroupSeries) {
67
+  $DisplayName .= " [$GroupSeries]";
68
+}
69
+
66 70
 if ($GroupStudio) {
67 71
   $DisplayName .= " [$GroupStudio]";
68 72
 }

Loading…
Cancel
Save