|
@@ -421,10 +421,12 @@ if(!function_exists('drugDrugInteractionSinglePair')) {
|
|
|
}
|
|
|
|
|
|
if (count($activeCatches)) {
|
|
|
- $output[] = "<b>{$_rx2->data->name}</b> interacts with one or more active ingredients in <b>{$_rx1->data->name}</b>.";
|
|
|
+ $t = "<b>{$_rx2->data->name}</b> interacts with one or more active ingredients in <b>{$_rx1->data->name}</b>.";
|
|
|
+ $output[] = "<span class='events-all' title=\"" . strip_tags(str_replace('"', '', $t)) . "\">" . $t . "</span>";
|
|
|
}
|
|
|
if (count($inactiveCatches)) {
|
|
|
- $output[] = "<b>{$_rx2->data->name}</b> interacts with one or more inactive ingredients in <b>{$_rx1->data->name}</b>.";
|
|
|
+ $t = "<b>{$_rx2->data->name}</b> interacts with one or more inactive ingredients in <b>{$_rx1->data->name}</b>.";
|
|
|
+ $output[] = "<span class='events-all' title=\"" . strip_tags(str_replace('"', '', $t)) . "\">" . $t . "</span>";
|
|
|
}
|
|
|
|
|
|
// TODO: find out and show the names of the actual ingredients causing interaction
|
|
@@ -539,7 +541,7 @@ if(!function_exists('duplicate_therapy_info')) {
|
|
|
if(!count($matches)) return '';
|
|
|
|
|
|
return "<ol class='pl-0 ml-3 mb-0'>" . implode("", array_map(function ($_x) {
|
|
|
- return "<li class='mb-1'>" . $_x . "</li>";
|
|
|
+ return "<li class='mb-1 events-all' title=\"" . strip_tags(str_replace('"', '', $_x)) . "\">" . $_x . "</li>";
|
|
|
}, $matches)) . "</ol>";
|
|
|
}
|
|
|
}
|