getNotes()); $links = $object->getNotesUrls(); ?> translate('Notes') ?> resolveMacros($notes, $object); echo $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) { $resolved = $this->resolveMacros($link, $object); $links[$i] = sprintf($linkText, $this->escape($resolved), $this->escape($resolved)); } echo implode('
', $links); ?>