diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2012-10-15 18:26:18 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2012-10-15 18:26:18 +0400 |
commit | 1a59c2f524931fffe8c0dacfea41d145deaea6d3 (patch) | |
tree | 8bcc658738c00c0b0cb845f00b289e841a6716e1 /plugins/UserCountry | |
parent | 560715c98721c02701246d74ace292d594570acb (diff) |
Refs #1823 Adding important-to-have target=_blank
git-svn-id: http://dev.piwik.org/svn/trunk@7203 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/UserCountry')
6 files changed, 10 insertions, 10 deletions
diff --git a/plugins/UserCountry/Controller.php b/plugins/UserCountry/Controller.php index b170c3941a..48edf956cd 100644 --- a/plugins/UserCountry/Controller.php +++ b/plugins/UserCountry/Controller.php @@ -171,9 +171,9 @@ class Piwik_UserCountry_Controller extends Piwik_Controller private function getGeoIPReportDocSuffix() { return Piwik_Translate('UserCountry_GeoIPDocumentationSuffix', array( - '<a href="http://www.maxmind.com/?rId=piwik">', + '<a target="_blank" href="http://www.maxmind.com/?rId=piwik">', '</a>', - '<a href="http://www.maxmind.com/en/city_accuracy?rId=piwik">', + '<a target="_blank" href="http://www.maxmind.com/en/city_accuracy?rId=piwik">', '</a>' )); } @@ -226,9 +226,9 @@ class Piwik_UserCountry_Controller extends Piwik_Controller { $params = array('module' => 'UserCountry', 'action' => 'adminIndex'); $footerMessage = Piwik_Translate('UserCountry_NoDataForGeoIPReport', array( - '<a href="'.Piwik_Url::getCurrentQueryStringWithParametersModified($params).'">', + '<a target="_blank" href="'.Piwik_Url::getCurrentQueryStringWithParametersModified($params).'">', '</a>', - '<a href="http://piwik.org/faq/how-to/#faq_167">', + '<a target="_blank" href="http://piwik.org/faq/how-to/#faq_167">', '</a>' )); diff --git a/plugins/UserCountry/LocationProvider/Default.php b/plugins/UserCountry/LocationProvider/Default.php index a9d1e0d706..2dda623650 100755 --- a/plugins/UserCountry/LocationProvider/Default.php +++ b/plugins/UserCountry/LocationProvider/Default.php @@ -99,7 +99,7 @@ class Piwik_UserCountry_LocationProvider_Default extends Piwik_UserCountry_Locat $desc = Piwik_Translate('UserCountry_DefaultLocationProviderDesc1') . ' ' . Piwik_Translate('UserCountry_DefaultLocationProviderDesc2', array('<strong>', '<em>', '</em>', '</strong>')) - . '<p><em><a href="http://piwik.org/faq/troubleshooting/#toc-how-do-i-get-the-geoip-databases">' + . '<p><em><a href="http://piwik.org/faq/how-to/#faq_163" target="_blank">' . Piwik_Translate('UserCountry_HowToInstallGeoIPDatabases') . '</em></a></p>'; return array('id' => self::ID, 'title' => self::TITLE, 'description' => $desc, 'order' => 1); diff --git a/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php b/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php index b5722e354d..c5c61118af 100755 --- a/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php +++ b/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php @@ -232,7 +232,7 @@ class Piwik_UserCountry_LocationProvider_GeoIp_Pecl extends Piwik_UserCountry_Lo $desc = Piwik_Translate('UserCountry_GeoIpLocationProviderDesc_Pecl1') . '<br/><br/>' . Piwik_Translate('UserCountry_GeoIpLocationProviderDesc_Pecl2'); $installDocs = '<em>' - . '<a href="http://piwik.org/faq/how-to/#faq_164">' + . '<a target="_blank" href="http://piwik.org/faq/how-to/#faq_164">' . Piwik_Translate('UserCountry_HowToInstallGeoIpPecl') . '</a>' . '</em>'; diff --git a/plugins/UserCountry/LocationProvider/GeoIp/Php.php b/plugins/UserCountry/LocationProvider/GeoIp/Php.php index dc404f93fc..07b36a3f63 100755 --- a/plugins/UserCountry/LocationProvider/GeoIp/Php.php +++ b/plugins/UserCountry/LocationProvider/GeoIp/Php.php @@ -233,7 +233,7 @@ class Piwik_UserCountry_LocationProvider_GeoIp_Php extends Piwik_UserCountry_Loc $desc = Piwik_Translate('UserCountry_GeoIpLocationProviderDesc_Php1') . '<br/><br/>' . Piwik_Translate('UserCountry_GeoIpLocationProviderDesc_Php2', array('<strong><em>', '</em></strong>', '<strong><em>', '</em></strong>')); - $installDocs = '<em><a href="http://piwik.org/faq/how-to/#faq_163">' + $installDocs = '<em><a target="_blank" href="http://piwik.org/faq/how-to/#faq_163">' . Piwik_Translate('UserCountry_HowToInstallGeoIPDatabases') . '</em></a>'; return array('id' => self::ID, diff --git a/plugins/UserCountry/LocationProvider/GeoIp/ServerBased.php b/plugins/UserCountry/LocationProvider/GeoIp/ServerBased.php index bdf785669a..0e67a1ce17 100755 --- a/plugins/UserCountry/LocationProvider/GeoIp/ServerBased.php +++ b/plugins/UserCountry/LocationProvider/GeoIp/ServerBased.php @@ -197,10 +197,10 @@ class Piwik_UserCountry_LocationProvider_GeoIp_ServerBased extends Piwik_UserCou . Piwik_Translate('UserCountry_GeoIpLocationProviderDesc_ServerBased2', array('<strong><em>', '</em></strong>', '<strong><em>', '</em></strong>')); $installDocs = - '<em><a href="http://piwik.org/faq/how-to/#faq_165">' + '<em><a target="_blank" href="http://piwik.org/faq/how-to/#faq_165">' . Piwik_Translate('UserCountry_HowToInstallApacheModule') . '</a></em><br/><em>' - . '<a href="http://piwik.org/faq/how-to/#faq_166">' + . '<a target="_blank" href="http://piwik.org/faq/how-to/#faq_166">' . Piwik_Translate('UserCountry_HowToInstallNginxModule') . '</a></em>'; diff --git a/plugins/UserCountry/templates/adminIndex.tpl b/plugins/UserCountry/templates/adminIndex.tpl index b12b41f89e..4362dae5c7 100755 --- a/plugins/UserCountry/templates/adminIndex.tpl +++ b/plugins/UserCountry/templates/adminIndex.tpl @@ -13,7 +13,7 @@ <p>{'UserCountry_HowToSetupGeoIPIntro'|translate}</p> <ul style="list-style:disc;margin-left:2em"> - <li>{'UserCountry_HowToSetupGeoIP_Step1'|translate:'<a href="http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz">':'</a>':'<a href="http://www.maxmind.com/?rId=piwik">':'</a>'}</li> + <li>{'UserCountry_HowToSetupGeoIP_Step1'|translate:'<a href="http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz">':'</a>':'<a target="_blank" href="http://www.maxmind.com/?rId=piwik">':'</a>'}</li> <li>{'UserCountry_HowToSetupGeoIP_Step2'|translate:"'GeoLiteCity.dat'":'<strong>':'</strong>'}</li> <li>{'UserCountry_HowToSetupGeoIP_Step3'|translate:'<strong>':'</strong>':'<span style="color:green"><strong>':'</strong></span>'}</li> <li>{'UserCountry_HowToSetupGeoIP_Step4'|translate}</li> |