Skip to content
Snippets Groups Projects
Commit f3a738ad authored by v1nk's avatar v1nk Committed by podarok
Browse files

Issue #1094468 by v1nk, anrikun, paravibe, Valentine94: gmap_filter_tips:...

Issue #1094468 by v1nk, anrikun, paravibe, Valentine94: gmap_filter_tips: target="_blank" breaks validation
parent c93be9ce
No related branches found
Tags 7.x-2.10
No related merge requests found
......@@ -460,7 +460,7 @@ function _gmap_filter_process($text, $filter, $format) {
function _gmap_filter_tips($filter, $format, $long = FALSE) {
// Only display macro if user can create one.
if (user_access('create gmap macro')) {
return t('Insert Google Map macro.') . '<a href="' . url('map/macro') . '" target="_blank" >' . t('Create a macro') . '</a>';
return t('Insert Google Map macro.') . l(t('Create a macro'), 'map/macro', array('attributes' => array('target' => '_blank')));
}
else {
return t('Insert Google Map macro.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment