Fixed (file) comments.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
<?PHP
|
||||
/**
|
||||
* This file displays object detail pages as fetched from museum-digital.
|
||||
* This script offers detail pages for collections
|
||||
* based on data fetched from museum-digital.
|
||||
*
|
||||
* @author Joshua Ramon Enslin <joshua@jrenslin.de>
|
||||
*/
|
||||
@ -21,6 +22,8 @@ if (!isset($_GET['id']) or !is_numeric($_GET['id'])) {
|
||||
ensureEnvironment();
|
||||
$pages = loadPublicPages(); // Load overview of pages.
|
||||
|
||||
// Load data
|
||||
|
||||
$contents = json_decode(queryCachePage($settings['mdVersion'] . "?t=sammlung&gesusa=" . urlencode($_GET['id']) . "&output=json", "institution", $settings), true);
|
||||
|
||||
if (!$contents || (isset($contents[0]) and $contents[0] == "There is no collection with this ID yet.")) {
|
||||
|
Reference in New Issue
Block a user