|
|
@ -2179,8 +2179,8 @@ function islandora_islandora_overview_object(AbstractObject $object) { |
|
|
|
$rows = array(); |
|
|
|
$rows = array(); |
|
|
|
foreach ($cmodels as $cmodel) { |
|
|
|
foreach ($cmodels as $cmodel) { |
|
|
|
if ($cmodel != 'fedora-system:FedoraObject-3.0') { |
|
|
|
if ($cmodel != 'fedora-system:FedoraObject-3.0') { |
|
|
|
$object = islandora_object_load($cmodel); |
|
|
|
$o = islandora_object_load($cmodel); |
|
|
|
$rows[] = array(l($object->label, "islandora/object/{$object->id}")); |
|
|
|
$rows[] = array(l($object->label, "islandora/object/{$o->id}")); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
$header = count($rows) > 1 ? t('Content Models') : t('Content Model'); |
|
|
|
$header = count($rows) > 1 ? t('Content Models') : t('Content Model'); |
|
|
|