New bootstrap-based layout #30
@ -132,7 +132,8 @@ class EditAlbum extends HTMLController
|
|||||||
'id_tag' => $id_tag,
|
'id_tag' => $id_tag,
|
||||||
], true);
|
], true);
|
||||||
|
|
||||||
$this->page->adopt(new FeaturedThumbnailManager($assets, $id_tag ? $album->id_asset_thumb : 0));
|
if ($num_assets > 0)
|
||||||
|
$this->page->adopt(new FeaturedThumbnailManager($assets, $id_tag ? $album->id_asset_thumb : 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_POST['changeThumbnail']))
|
if (isset($_POST['changeThumbnail']))
|
||||||
|
@ -123,7 +123,8 @@ class EditTag extends HTMLController
|
|||||||
'id_tag' => $id_tag,
|
'id_tag' => $id_tag,
|
||||||
], true);
|
], true);
|
||||||
|
|
||||||
$this->page->adopt(new FeaturedThumbnailManager($assets, $id_tag ? $tag->id_asset_thumb : 0));
|
if ($num_assets > 0)
|
||||||
|
$this->page->adopt(new FeaturedThumbnailManager($assets, $id_tag ? $tag->id_asset_thumb : 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_POST['changeThumbnail']))
|
if (isset($_POST['changeThumbnail']))
|
||||||
|
Loading…
Reference in New Issue
Block a user