getNotes()); $links = $object->getNotesUrls(); if (! empty($links) || ! empty($notes)): ?> translate('Notes') ?> '; } // add warning to links that open in new tabs to improve accessibility, as recommended by WCAG20 G201 $newTabInfo = sprintf( ' %s ', $this->translate('opens in new window') ); $linkText = '%s ' . $newTabInfo . ''; foreach ($links as $i => $link) { $links[$i] = sprintf($linkText, $this->escape($link), $this->escape($link)); } echo implode('
', $links); ?>