Esempio n. 1
0
function IIRS_0_get_nice_TLDs()
{
    global $IIRS_host_TLD;
    $translateable_all_TLDs = IIRS_0_translation('nice_tlds');
    if ($translateable_all_TLDs == 'nice_tlds') {
        $translateable_all_TLDs = 'org';
        $translateable_all_TLDs .= ',com';
        $translateable_all_TLDs .= ',net';
        if (!empty($IIRS_host_TLD) && !IIRS_0_is_generic_TLD($IIRS_host_TLD)) {
            $translateable_all_TLDs .= ',' . $IIRS_host_TLD;
        }
    }
    return explode(',', $translateable_all_TLDs);
}
Esempio n. 2
0
        ?>
]</strong>.
    See below in the <a href="#translation">translation help section</a> for framework help with translation.
  <?php 
    }
}
?>
</p>

<?php 
// http://en.wikipedia.org/wiki/Top-level_domain
// http://en.wikipedia.org/wiki/Generic_top-level_domain
// com, org, net, info
// aero, biz, coop, info, museum, name, and pro
if (trim(IIRS_0_setting('region_bias')) == FALSE) {
    if (IIRS_0_is_generic_TLD($IIRS_host_TLD)) {
        ?>
  <h3>country specific location results bias</h3>
  <p>
    Your website domain (<i>.<?php 
        print $IIRS_host_TLD;
        ?>
</i>) is not a <a target="_blank" href="http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Country_code_top-level_domains">country code Top-Level-Domain</a>.<br/>
    <strong>This means that location results will not centre on a specific country.</strong>
  </p>
  <p>
    Location results for town names have a "bias". That means that results will be centered on a particular country.<br/>
    On an English server (.co.uk) searching for "Oakley" will show "Oakley, Hampshire, UK".<br/>
    On an American server (.com) searching for "Oakley" will show "Oakley, New Hampshire, USA".
  </p>
  <p>