|
@@ -780,7 +780,6 @@ $DB->query("
|
780
|
780
|
ORDER BY Featured DESC,
|
781
|
781
|
Name ASC");
|
782
|
782
|
$Collages = $DB->to_array(false, MYSQLI_NUM, false);
|
783
|
|
-$FirstCol = true;
|
784
|
783
|
foreach ($Collages as $CollageInfo) {
|
785
|
784
|
list($CollageID, $CName) = $CollageInfo;
|
786
|
785
|
$DB->query("
|
|
@@ -798,7 +797,7 @@ foreach ($Collages as $CollageInfo) {
|
798
|
797
|
<div class="head">
|
799
|
798
|
<?=display_str($CName)?> - <a href="collages.php?id=<?=$CollageID?>" class="brackets">See full</a>
|
800
|
799
|
<span style="float: right;">
|
801
|
|
- <a toggle-target="#collage<?=$CollageID?>_box .images" toggle-replace="<?=$FirstCol ? 'Show' : 'Hide' ?>" class="brackets"><?=$FirstCol ? 'Hide' : 'Show' ?></a>
|
|
800
|
+ <a toggle-target="#collage<?=$CollageID?>_box .collage_images" toggle-replace="Show" class="brackets">Hide</a>
|
802
|
801
|
</span>
|
803
|
802
|
</div>
|
804
|
803
|
<div id="user_collage_images" class="collage_images">
|
|
@@ -806,6 +805,10 @@ foreach ($Collages as $CollageInfo) {
|
806
|
805
|
$Group = Torrents::get_groups(array($C['GroupID']), true, true, false);
|
807
|
806
|
extract(Torrents::array_group($Group[$C['GroupID']]));
|
808
|
807
|
|
|
808
|
+ if (!$C['WikiImage']) {
|
|
809
|
+ $C['WikiImage'] = STATIC_SERVER.'common/noartwork/nocover.png';
|
|
810
|
+ }
|
|
811
|
+
|
809
|
812
|
$Name = '';
|
810
|
813
|
$Name .= Artists::display_artists($Artists, false, true);
|
811
|
814
|
$Name .= $GroupName;
|
|
@@ -829,7 +832,6 @@ foreach ($Collages as $CollageInfo) {
|
829
|
832
|
</script>
|
830
|
833
|
</div>
|
831
|
834
|
<?
|
832
|
|
- $FirstCol = false;
|
833
|
835
|
}
|
834
|
836
|
?>
|
835
|
837
|
<!-- for the "jump to staff tools" button -->
|