Plugin Directory

Changeset 1537493


Ignore:
Timestamp:
11/21/2016 11:47:08 AM (9 years ago)
Author:
mraliende
Message:

Title link to external URL has now target=_blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • good-url-preview-box/trunk/gurlpb-start.php

    r1536878 r1537493  
    190190        </span>
    191191        <h1 style="color: #464646; font-family: Oxygen, Arial, Helvetica, sans-serif; font-weight: normal; font-style: normal; font-size: 17px; line-height: 20px; text-decoration: none; vertical-align: baseline; margin:2px;">
    192             <a href="https://wordpress.org/plugins/good-url-preview-box/" style="text-decoration: none; border-bottom: none;">Wordpress</a> is loading infos about ' . $strDom . '
     192            <a href="https://wordpress.org/plugins/good-url-preview-box/" style="font-family: Oxygen, Arial, Helvetica, sans-serif; font-weight: normal; font-style: normal; font-size: 17px; line-height: 20px; text-decoration: none; text-decoration: none; border-bottom: none;">Wordpress</a> is loading infos about ' . $strDom . '
    193193        </h1>
    194194        <span style="display: block; font-family: Oxygen, Arial, Helvetica, sans-serif; font-weight: normal; font-style: normal; font-size: 13px; line-height: 20px; text-decoration: none; vertical-align: baseline;">
    195             ' . __('Please-wait...', 'gurlpb' ) . ' for API server <a href="https://guteurls.de/" target="guteurls" style="text-decoration: none; border-bottom: none;">guteurls.de</a>
     195            Please-wait for API server <a href="https://guteurls.de/" target="guteurls" style="font-family: Oxygen, Arial, Helvetica, sans-serif; font-weight: normal; font-style: normal; font-size: 13px; line-height: 20px; text-decoration: none; border-bottom: none;">guteurls.de</a>
    196196            to collect data about<br />
    197             <a href="' . $strUrl .'">' . $arrUrl['host'] . $strPath  . '</a>
     197            <a href="' . $strUrl .'" style="font-family: Oxygen, Arial, Helvetica, sans-serif; font-weight: normal; font-style: normal; font-size: 13px; line-height: 20px; text-decoration: none; border-bottom: none;">' . $arrUrl['host'] . $strPath  . '</a>
    198198        </span>
    199199    </span><br clear="all" />';
     
    242242            = "function( jqueryElement, url, jQuery ) {"
    243243            .   "jqueryElement.closest('.post[guteurls!=done]').each(function(element) {"
    244             .       "jQuery(this).attr('guteurls', 'done').find('$strFind').attr('href', url)"
     244            .       "jQuery(this).attr('guteurls', 'done').find('$strFind').attr('href', url).attr('target', '_blank')"
    245245            .   "})"
    246246            . "}";
Note: See TracChangeset for help on using the changeset viewer.