Browse Source

Fix display of non-english titles and all artist names in collection manager

spaghetti 8 years ago
parent
commit
94a799ce74
1 changed files with 3 additions and 5 deletions
  1. 3
    5
      sections/collages/manage.php

+ 3
- 5
sections/collages/manage.php View File

@@ -96,13 +96,11 @@ View::show_header("Manage collection: $Name", 'jquery-ui,jquery.tablesorter,sort
96 96
       unset($ExtendedArtists[3]);
97 97
       $DisplayName .= Artists::display_artists($ExtendedArtists, true, false);
98 98
     } elseif (count($Artists) > 0) {
99
-      $DisplayName .= Artists::display_artists(array('1' => $Artists), true, false);
99
+      $DisplayName .= Artists::display_artists($Artists, true, false);
100 100
     }
101
-    $TorrentLink = "<a href=\"torrents.php?id=$GroupID\" class=\"tooltip\" title=\"View torrent group\">$GroupName</a>";
101
+    $GroupNameLang = $GroupName ? $GroupName : ($GroupNameRJ ? $GroupNameRJ : $GroupNameJP);
102
+    $TorrentLink = "<a href=\"torrents.php?id=$GroupID\" class=\"tooltip\" title=\"View torrent group\">$GroupNameLang</a>";
102 103
     $GroupYear = $GroupYear > 0 ? $GroupYear : '';
103
-    if ($GroupVanityHouse) {
104
-      $DisplayName .= ' [<abbr class="tooltip" title="This is a Vanity House release">VH</abbr>]';
105
-    }
106 104
 ?>
107 105
       <tr class="drag row" id="li_<?=$GroupID?>">
108 106
         <form class="manage_form" name="collage" action="collages.php" method="post">

Loading…
Cancel
Save