You are here

function extlink_extra_alert_default in External Links Extra 8

Same name and namespace in other branches
  1. 7 extlink_extra.module \extlink_extra_alert_default()

Returns the default value for the extlink_alert_text setting.

Return value

string

1 call to extlink_extra_alert_default()
extlink_extra_form_extlink_admin_settings_alter in ./extlink_extra.module
Implements hook_form_FORM_ID_alter() for extlink_admin_settings.

File

./extlink_extra.module, line 440

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;
}