Hello,
One of my task requires me to disable the links generated by username and date fields here inside diff_diffs_show function under diff.pages.inc file.
// Generate table header (date, username, log message).
$old_header = t('!date by !username', array(
'!date' => l(format_date($old_node->revision_timestamp), "node/$node->nid/revisions/$old_node->vid/view", array('absolute' => 1)),
'!username' => theme('username', array('account' => $node_revisions[$old_vid])),
));
$new_header = t('!date by !username', array(
'!date' => l(format_date($new_node->revision_timestamp), "node/$node->nid/revisions/$new_node->vid/view", array('absolute' => 1)),
'!username' => theme('username', array('account' => $node_revisions[$new_vid])),
));<code>
Can someone guide me how to disable the links here? Basically, I just want name and date fields in plain text here instead of links.(see attached picture for reference)
I know it's not right to change module code here directly, is there a way I can change it by writing a custom module?
Any help would be appreciated!