Commit a4109b3b authored by alexpott's avatar alexpott

Issue #466416 by mgifford, benjf, RobLoach | timtrinidad: Add Mouseover Title for dblog Entries.

parent e3e03023
......@@ -173,7 +173,13 @@ public function overview() {
if ($message && isset($dblog->wid)) {
// Truncate link_text to 56 chars of message.
$log_text = Unicode::truncate(Xss::filter($message, array()), 56, TRUE, TRUE);
$message = $this->l($log_text, 'dblog.event', array('event_id' => $dblog->wid), array('html' => TRUE));
$message = $this->l($log_text, 'dblog.event', array('event_id' => $dblog->wid), array(
'attributes' => array(
// Provide a title for the link for useful hover hints.
'title' => Unicode::truncate(strip_tags($message), 256, TRUE, TRUE),
),
'html' => TRUE,
));
}
$username = array(
'#theme' => 'username',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment