-
- {{{representationViewer}}} - {{{ -
^ca_objects.caption - }}} -
-
- {{{ -

^ca_objects.preferred_labels.name

-
}}} - {{{ -

^ca_objects.description

-
}}} - - {{{ -
Artists: -
}}} - {{{ -
Artist: -
}}} - {{{ - ^ca_entities.preferred_labels.displayname - }}} - - {{{ - -

^ca_occurrences.preferred_labels.name

-

^ca_occurrences.exhibition_subtitle

-

^ca_occurrences.opening_closing

-
-
}}} - -
-
diff --git a/themes/sefa/views/Details/ca_occurrences_art_fair_html.php b/themes/sefa/views/Details/ca_occurrences_art_fair_html.php deleted file mode 100644 index dfd04ce9c1..0000000000 --- a/themes/sefa/views/Details/ca_occurrences_art_fair_html.php +++ /dev/null @@ -1,274 +0,0 @@ -request); - $t_item = $this->getVar("item"); - $ps_view = $this->request->getParameter("view", pString); - if(!$ps_view){ - $ps_view = "info"; - } - # --- object id/representation of related image to cue slideshow to - $pn_object_rep_id = $this->request->getParameter("id", pInteger); - # --- array of images to display - $va_images = array(); - # --- get related object_ids in array - $va_objects = $t_item->get("ca_objects", array("returnWithStructure" => true, "checkAccess" => $va_access_values)); - $va_object_ids = array(); - if(is_array($va_objects) && sizeof($va_objects)){ - foreach($va_objects as $va_object){ - $va_object_ids[] = $va_object["object_id"]; - } - if(in_array($ps_view, array("images", "thumbnails"))){ - $q_objects = caMakeSearchResult('ca_objects', $va_object_ids); - if($q_objects->numHits()){ - while($q_objects->nextHit()){ - $va_images[$q_objects->get("object_id")] = array("image" => $q_objects->get("ca_object_representations.media.mediumlarge"), "thumbnail" => $q_objects->get("ca_object_representations.media.thumbnail300square"), "id" => $q_objects->get("object_id"), "label" => sefaFormatCaption($this->request, $q_objects)); - } - } - } - } - # --- representations related with type depicts are installation shots - $va_rep_install_ids = $t_item->get("ca_object_representations.representation_id", array("checkAccess" => $va_access_values, "restrictToRelationshipTypes" => array("depicts"), "returnWithStructure" => true)); - if(in_array($ps_view, array("installations", "installationThumbnails"))){ - if(is_array($va_rep_install_ids) && sizeof($va_rep_install_ids)){ - $o_representations = $t_item->getRepresentationsAsSearchResult(array("checkAccess" => $va_access_values)); - if($o_representations->numHits()){ - while($o_representations->nextHit()){ - if(in_array($o_representations->get("representation_id"), $va_rep_install_ids)){ - $va_images[$o_representations->get("representation_id")] = array("image" => $o_representations->get("ca_object_representations.media.mediumlarge"), "thumbnail" => $o_representations->get("ca_object_representations.media.thumbnail300square"), "id" => $o_representations->get("representation_id"), "label" => ($o_representations->get("ca_object_representations.preferred_labels.name") == "[BLANK]") ? "" : $o_representations->get("ca_object_representations.preferred_labels.name")); - } - } - } - } - } -?> -
- - - - -
-
-
-
{{{^ca_occurrences.preferred_labels.name}}}
-
    - >request, _t("Information"), '', 'ca_occurrences', $t_item->get("occurrence_id"), null, null, array("type_id" => $t_item->get("type_id"))); ?> - - >request, _t("Works"), '', 'ca_occurrences', $t_item->get("occurrence_id"), array("view" => "images"), null, array("type_id" => $t_item->get("type_id"))); ?> - - >request, _t("Installation views"), '', 'ca_occurrences', $t_item->get("occurrence_id"), array("view" => "installations"), null, array("type_id" => $t_item->get("type_id"))); ?> -get("press_release", array("version" => "original", "return" => "url"))){ - print "
  • Press Release
  • "; - } -?> -
-
-
-