// REVERT MERGE
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7761 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -56,7 +56,7 @@ class TSBPException extends Exception
|
||||
// @todo : don't forget to change email in translation
|
||||
$mail = self::$translation_object->l('Please contact Trusted Shops at service@trustedshops.co.uk.', TSBPException::$translate_key);
|
||||
$errors = array(
|
||||
-10001 => self::$translation_object->l('Invalid username or password.', TSBPException::$translate_key),
|
||||
-10001 => self::$translation_object->l('Username or password invalid.', TSBPException::$translate_key),
|
||||
-10002 => self::$translation_object->l('You have reached your credit limit.', TSBPException::$translate_key),
|
||||
-10011 => self::$translation_object->l('No credit available from Trusted Shops.', TSBPException::$translate_key),
|
||||
-11111 => self::$translation_object->l('The data could not be saved.', TSBPException::$translate_key),
|
||||
|
||||
@@ -1172,9 +1172,9 @@ class TSBuyerProtection extends AbsTrustedShops
|
||||
$out = '<fieldset>
|
||||
<legend><img src="../img/admin/warning.gif" alt="" />'.$this->l('Cronjob configuration').'</legend>';
|
||||
$out .= '<p>'
|
||||
.$this->l('If you are using a Trusted Shops EXCELLENCE cetificate in your shop, set up a cron job on your web server.').'<br />'
|
||||
.$this->l('Run the script file ').' <b style="color:red;">'.$this->getCronFilePath().'</b> '.$this->l('with an interval of 10 minutes.').'<br /><br />'
|
||||
.$this->l('The corresponding line in your cron file may look like this:').' <br /><b style="color:red;">*/10 * * * * '.$this->getCronFilePath().'>/dev/null 2>&1</b><br />'
|
||||
.$this->l('You need to set a cron Task on your server, working with your EXCELLENT certificate.').'<br />'
|
||||
.$this->l('The file you need to call:').' <b style="color:red;">'.$this->getCronFilePath().'</b><br />'
|
||||
.$this->l('Trusted Shops recommends that the request should be automated by a cronjob with an interval of 10 minutes.')
|
||||
.'</p>';
|
||||
$out .= '</fieldset>';
|
||||
return $out;
|
||||
|
||||
@@ -359,15 +359,7 @@ class TrustedShopsRating extends AbsTrustedShops
|
||||
public function displayInformationsPage()
|
||||
{
|
||||
global $cookie;
|
||||
|
||||
$link = '';
|
||||
if (strtolower(Language::getIsoById((int)$cookie->id_lang)) == 'de')
|
||||
$link = '<p><b><a style="text-decoration: underline; font-weight: bold; color: #0000CC;" target="_blank" href="https://www.trustedshops.de/shopbetreiber/kundenbewertung_anmeldung.html?partnerPackage=PrestaShop&ratingProduct=RATING_PRO&et_cid=14en&et_lid=29069" target="_blank">Jetzt bei Trusted Shops anmelden!</a></b></p><br />';
|
||||
if (strtolower(Language::getIsoById((int)$cookie->id_lang)) == 'en')
|
||||
$link = '<p><b><a style="text-decoration: underline; font-weight: bold; color: #0000CC;" target="_blank" href="http://www.trustedshops.com/merchants/membership.html?shopsw=PRESTA&et_cid=53&et_lid=3361" target="_blank">Apply now!</a></b></p><br />';
|
||||
if (strtolower(Language::getIsoById((int)$cookie->id_lang)) == 'fr')
|
||||
$link = '<p><b><a style="text-decoration: underline; font-weight: bold; color: #0000CC;" target="_blank" href="http://www.trustedshops.fr/marchands/tarifs.html?shopsw=PRESTA&et_cid=53&et_lid=3362" target="_blank">Enregistrement Trusted Shops</a></b></p><br />';
|
||||
|
||||
|
||||
return '<fieldset>
|
||||
<legend><img src="'.__PS_BASE_URI__.'modules/'.self::$module_name.'/logo.gif" alt="" />'.$this->l('Learn More').'</legend>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user