mirror of
https://github.com/e107inc/e107.git
synced 2025-04-13 17:12:07 +02:00
SEO (thanks @kreossino)
This commit is contained in:
parent
18ea662b35
commit
ee6d90eeab
@ -301,7 +301,7 @@ class cpage_shortcodes extends e_shortcode
|
||||
$class = (!empty($options['class'])) ? $options['class'] : 'cpage btn btn-primary btn-cpage';
|
||||
$buttonTarget = (!empty($options['target'])) ? ' target="'.$options['target'].'" ' : $buttonTarget;
|
||||
|
||||
return '<a class="'.$class.' '.$inc.'" href="'.$buttonUrl.'" '.$buttonTarget.'>'.$text.'</a>';
|
||||
return '<a class="'.$class.' '.$inc.'" href="'.$buttonUrl.'" '.$buttonTarget.' title="'.$text.'">'.$text.'</a>';
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user