function extlink_extra_alert_default in External Links Extra 7
Same name and namespace in other branches
- 8 extlink_extra.module \extlink_extra_alert_default()
1 call to extlink_extra_alert_default()
- extlink_extra_form_extlink_admin_settings_alter in ./
extlink_extra.module - Implementation of hook_form_FORM_ID_alter().
File
- ./
extlink_extra.module, line 270 - This module adds some extra functionality to the External Links module.
Code
function extlink_extra_alert_default() {
$output = '
<h2>You are leaving the [site:name] website</h2>
<p>You are being directed to a third-party website:</p>
<p><strong>[extlink:external-url]</strong></p>
<p>This link is provided for your convenience. Please note that this third-party website is not controlled by [site:name] or subject to our privacy policy.</p>
<p>Thank you for visiting our site. We hope your visit was informative and enjoyable.</p>
<div class="extlink-extra-actions">
<div class="extlink-extra-back-action"><a title="Cancel" href="[extlink:back-url]">Cancel</a></div>
<div class="extlink-extra-go-action"><a class="ext-override" title="Go to link" href="[extlink:external-url]">Go to link</a></div>
</div>
<br/><br/>
[extlink:timer]
';
return $output;
}