Your IP : 216.73.216.95


Current Path : /var/www/alh/admin/language/en-gb/extension/module/
Upload File :
Current File : /var/www/alh/admin/language/en-gb/extension/module/geo_ip_tools.php

<?php
//==============================================================================
// Geo IP Tools v303.2
// 
// Author: Clear Thinking, LLC
// E-mail: johnathan@getclearthinking.com
// Website: http://www.getclearthinking.com
// 
// All code within this file is copyright Clear Thinking, LLC.
// You may not copy or reuse code within this file without written permission.
//==============================================================================

$version = 'v303.2';

//------------------------------------------------------------------------------
// Heading
//------------------------------------------------------------------------------
$_['heading_title']						= 'Geo IP Tools';
$_['heading_welcome']					= 'Welcome to ' . $_['heading_title'] . '!';
$_['help_first_time']					= '
Some things to note before you get started:
<br><br>
<ul>
	<li>For help with any setting, make sure the "Tooltips Enabled" setting is on. You can then hover over any field to get help with what it means and how to use it.</li><br>
	<li>To create a manual backup of all your current settings, click the "Backup Settings" button. You can then restore from this backup at any time using the "Restore Settings" button. You can also restore from the automatic backup that is created every time the extension is opened, in case you want to go back to the settings as they were when you loaded the page.</li><br>
	<li>Backups are in tab-separated format, so you can easily edit them in a spreadsheet application. For help with creating new rules when using a spreadsheet application, visit http://www.getclearthinking.com/tutorials#editing-backup-files</li>
</ul>
';

// Backup/Restore Settings
$_['button_backup_settings']			= 'Backup Settings';
$_['text_this_will_overwrite_your']		= 'This will overwrite your previous backup file. Continue?';
$_['text_backup_saved_to']				= 'Backup saved to your /system/logs/ folder on';
$_['text_view_backup']					= 'View Backup';
$_['text_download_backup_file']			= 'Download Backup File';

$_['button_restore_settings']			= 'Restore Settings';
$_['text_restore_from_your']			= 'Restore from your:';
$_['text_automatic_backup']				= '<b>Automatic Backup</b>, created when this page was loaded:';
$_['text_manual_backup']				= '<b>Manual Backup</b>, created when "Backup Settings" was clicked:';
$_['text_backup_file']					= '<b>Backup File:</b>';
$_['button_restore']					= 'Restore';
$_['text_this_will_overwrite_settings']	= 'This will overwrite all current settings. Continue?';
$_['text_restoring']					= 'Restoring...';
$_['error_invalid_file_data']			= 'Error: invalid file data';
$_['text_settings_restored']			= 'Settings restored successfully';

// Buttons
$_['button_tooltips_enabled']			= 'Tooltips Enabled';
$_['button_tooltips_disabled']			= 'Tooltips Disabled';
$_['button_expand_all']					= 'Expand All';
$_['button_collapse_all']				= 'Collapse All';
$_['help_expand_all']					= 'Click to expand all rows in this table.';
$_['help_collapse_all']					= 'Click to collapse all rows in this table.';

//------------------------------------------------------------------------------
// Extension Settings
//------------------------------------------------------------------------------
$_['tab_extension_settings']			= 'Extension Settings';
$_['help_reload_admin_page']			= 'Tip: Reload this admin page to unset any Geo IP data set in your front-end session.';
$_['heading_extension_settings']		= 'Extension Settings';

$_['entry_status']						= 'Status: <div class="help-text">Set the status for the extension as a whole.</div>';
$_['entry_browser']						= 'Request Browser Location: <div class="help-text">If set to "Yes", the extension will first request the user\'s location by issuing a <a target="_blank" href="https://www.mozilla.org/en-US/firefox/geolocation/">browser location request</a>. If the user denies that request, then the geo location will be set based on their IP address, or will use the pop-up box to request their location (if enabled). <b>This requires the page making the browser request to be secure, so you will need your homepage to be an https URL.</b></div>';
$_['entry_google_apikey']				= 'Google Maps API Key: <div class="help-text">If you are using the browser location request, enter your Google Maps API Key here. This is used to convert the latitude/longitude into the customer\'s specific address. If you do not want to use this feature just leave the field blank, the extension will still function fine. (When signing up for the API Key, make sure you choose to enable "Routes", which will enable the "Geocoding" API used by the extension.)</div>';
$_['entry_set_session_data']			= 'Set Session Data: <div class="help-text">If set to "Yes", the extension will set the customer\'s address into the OpenCart session data, meaning it should affect tax display, and should pre-fill the country, zone, and postcode in the checkout. This sometimes causes conflicts with other mods, so you can turn it off here if you think it is conflicting.</div>';

$_['entry_local_geo_ip_database']		= 'Local Geo IP Database: <div class="help-text">For faster geo IP searches, download a MaxMind GeoLite2 database, decompress it, and upload the .mmdb file to this location:<br><code>/system/library/geo_ip_tools/</code></div>';
$_['text_present']						= '<div style="margin-top: 8px; color: #080">Present</div>';
$_['text_not_present']					= '<div style="margin-top: 8px; color: #C00">Not Present</div>';
$_['text_database_links']				= '
	<div class="pad-top-sm">GeoLite2 Information Page: <a target="_blank" href="http://dev.maxmind.com/geoip/geoip2/geolite2">http://dev.maxmind.com/geoip/geoip2/geolite2</a></div>
	<div class="pad-top-sm">"City" Database Download: <a href="http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz">https://www.getclearthinking.com/GeoLite2-City.mmdb.zip</a></div>
';

$_['entry_ignore_user_agents']			= 'Ignore User Agents: <div class="help-text">To filter out bots or other scrapers, enter browser User Agents that will NOT activate Geo IP rules. Enter one User Agent string per line.</div>';
$_['entry_ignore_ips']					= 'Ignore IP Addresses: <div class="help-text">To filter out admin users or other users based on IP address, enter the IP address or range here. Separate IP addresses or ranges by comma or new lines.</div>';

// Admin Panel Settings
$_['heading_admin_panel_settings']		= 'Admin Panel Settings';

$_['entry_autosave']					= 'Automatic Saving: <div class="help-text">Choose whether settings are automatically saved. If you have this disabled and notice settings not getting saved, it means you should enable Automatic Saving (because your server has a max_input_vars limitation imposed).<br><br>After enabling this setting, click "Save", then reload the page. You can tell a setting is being saved when it turns yellow, signaling that it cannot be edited while it is recorded to the database.</div>';

$_['entry_display']						= 'Default Admin Display: <div class="help-text">Set the way table rows are displayed by default when the page is loaded. Select "Collapsed" to improve page loading speed. Turning off Tooltips can also improve loading speed.</div>';
$_['text_expanded']						= 'Expanded';
$_['text_collapsed']					= 'Collapsed';

$_['entry_tooltips']					= 'Tooltips: <div class="help-text">Disable to hide the tooltips that display for each setting.</div>';

//------------------------------------------------------------------------------
// Geo IP Rules
//------------------------------------------------------------------------------
$_['tab_geo_ip_rules']					= 'Geo IP Rules';
$_['heading_geo_ip_rules']				= 'Geo IP Rules';

$_['column_action']						= 'Action';
$_['column_name']						= 'Name';
$_['column_if']							= 'If...';
$_['column_then']						= 'Then...';

$_['text_expand']						= 'Expand';
$_['text_collapse']						= 'Collapse';
$_['text_copy']							= 'Copy';
$_['text_delete']						= 'Delete';

$_['help_geoiprule_name']				= 'Enter a name for this rule, for admin reference only. Rules will be sorted based on this name.';

$_['text_store_is']						= 'Store is:';
$_['text_any_store']					= '--- Any Store ---';
$_['help_geoiprule_store']				= 'Select the store to which this rule applies.';

$_['text_geo_ip_location_is_within']	= 'and geo IP location is within:';
$_['text_any_geo_zone']					= '--- Any Geo Zone ---';
$_['text_everywhere_else']				= '--- Everywhere Else ---';
$_['help_geoiprule_geo_zone']			= 'Select the geo zone to which this rule applies. The "Everywhere Else" selection will apply to any location not within any geo zone.';

$_['text_ip_is_within_these_ranges']	= 'and IP is within these ranges:';
$_['help_geoiprule_ips']				= 'Enter single IPs or IP ranges separated by commas or new lines. For example:<br><br><div style="text-align: left">192.168.1.20<br>192.168.25.30<br>192.168.50.0-192.168.255.255</div><br>Leave blank to have no IP restrictions.';

$_['text_set_the_store_to']				= 'Set the store to:';
$_['text_current_store']				= '--- Current Store ---';
$_['help_geoiprule_store_redirect']		= 'Select the store that will be set when the "if" criteria for this rule as met. Choosing a store this way will force the customer to only be able to view this store.';

$_['text_set_the_currency_to']			= 'Set the currency to:';
$_['help_geoiprule_currency']			= 'Select the currency that will be set when the "if" criteria for this rule are met.';

$_['text_set_the_language_to']			= 'Set the language to:';
$_['help_geoiprule_language']			= 'Select the language that will be set when the "if" criteria for this rule are met.';

$_['text_redirect_to_this_url']			= 'Redirect to this URL:';
$_['help_geoiprule_redirect']			= 'Optionally enter a URL where you want the visitor redirected. The redirect will only occur once, when the customer first visits the site. Use an asterisk * to append any URL data after the domain. Leave blank for no redirection.';

$_['text_block_these_urls']				= 'Block these URLs:';
$_['help_geoiprule_block']				= 'Optionally enter a list of URLs to block, separated by commas or new lines. Visitors that enter these URLs will be shown an error page. Use <span style="font-family: monospace">*</span> as a wildcard.<br><br>To block all pages for these visitors, enter the error page heading on the first line, and the error page message on subsequent lines. HTML is supported.';

$_['button_add_rule']					= 'Add Rule';

//------------------------------------------------------------------------------
// Pop-up Box Settings
//------------------------------------------------------------------------------
$_['tab_popup']							= 'Pop-up Box Settings';
$_['heading_popup']						= 'Pop-up Box Settings';

$_['entry_popup']						= 'Display Pop-up Box: <div class="help-text">Enable this setting to display a pop-up box when a customer first visits your store. This will give them the option to change their default location from the one based on their IP address.</div>';

$_['entry_popup_text']					= 'Pop-up Box Text: <div class="help-text">Set the text displayed to a customer within the pop-up box. HTML is supported. Use [ip] in place of the customer&apos;s IP address.<br><br>Note that the language utilized for this text will be determined by their IP address and the rules you set up below.</div>';

$_['entry_country_field']				= 'Country Field: <div class="help-text">Enter the text for the pop-up Country field. Leave blank to hide the field.</div>';
$_['entry_zone_field']					= 'Region / State Field: <div class="help-text">Enter the text for the pop-up Region / State field. Leave blank to hide the field.</div>';
$_['entry_city_field']					= 'City Field: <div class="help-text">Enter the text for the pop-up City field. Leave blank to hide the field.</div>';
$_['entry_postcode_field']				= 'Post Code Field: <div class="help-text">Enter the text for the pop-up Post Code field. Leave blank to hide the field.</div>';
$_['entry_currency_field']				= 'Currency Field: <div class="help-text">Enter the text for the pop-up Currency field. Leave blank to hide the field.</div>';
$_['entry_language_field']				= 'Language Field: <div class="help-text">Enter the text for the pop-up Language field. Leave blank to hide the field.</div>';

//------------------------------------------------------------------------------
// Testing Mode
//------------------------------------------------------------------------------
$_['tab_testing_mode']					= 'Testing Mode';
$_['testing_mode_help']					= 'Enable testing mode if things are not working as expected on the front end. Messages logged during testing can be viewed below.';
$_['heading_testing_mode']				= 'Testing Mode';

$_['entry_testing_mode']				= 'Testing Mode:';
$_['entry_testing_messages']			= 'Messages:';
$_['button_refresh_log']				= 'Refresh Log';
$_['button_download_log']				= 'Download Log';
$_['button_clear_log']					= 'Clear Log';

//------------------------------------------------------------------------------
// Standard Text
//------------------------------------------------------------------------------
$_['copyright']							= '<hr /><div class="text-center" style="margin: 15px">' . $_['heading_title'] . ' (' . $version . ') &copy; <a target="_blank" href="http://www.getclearthinking.com/contact">Clear Thinking, LLC</a></div>';

$_['standard_autosaving_enabled']		= 'Auto-Saving Enabled';
$_['standard_confirm']					= 'This operation cannot be undone. Continue?';
$_['standard_error']					= '<strong>Error:</strong> You do not have permission to modify ' . $_['heading_title'] . '!';
$_['standard_max_input_vars']			= '<strong>Warning:</strong> The number of settings is close to your <code>max_input_vars</code> server value. You should enable auto-saving to avoid losing any data.';
$_['standard_please_wait']				= 'Please wait...';
$_['standard_saved']					= 'Saved!';
$_['standard_saving']					= 'Saving...';
$_['standard_select']					= '--- Select ---';
$_['standard_success']					= 'Success!';
$_['standard_testing_mode']				= "Your log is too large to open! If you need to archive it, you can download it using the button above.\n\nTo start a new log, (1) click the Clear Log button, (2) reload the admin panel page, then (3) run your test again.";

$_['standard_module']					= 'Modules';
$_['standard_shipping']					= 'Shipping';
$_['standard_payment']					= 'Payments';
$_['standard_total']					= 'Order Totals';
$_['standard_feed']						= 'Feeds';
?>