|
@@ -82,8 +82,10 @@ class sbo__relationship_formatter extends ChadoFieldFormatter {
|
|
|
}
|
|
|
|
|
|
// Add bold font to the object and subject names.
|
|
|
- $phrase = preg_replace("/$subject_type/", "<b>$subject_type</b>", $phrase);
|
|
|
- $phrase = preg_replace("/$object_type/", "<b>$object_type</b>", $phrase);
|
|
|
+ // @todo add back in bolding...
|
|
|
+ // @todo Fix Current Bug: if type name is in the object name, wierd bolding happens.
|
|
|
+ // $phrase = preg_replace("/$subject_type/", "<b>$subject_type</b>", $phrase);
|
|
|
+ // $phrase = preg_replace("/$object_type/", "<b>$object_type</b>", $phrase);
|
|
|
|
|
|
// Convert the object/subject to a link if an entity exists for it.
|
|
|
if (array_key_exists('entity', $item['value']['local:relationship_object'])) {
|