diff --git a/htdocs/langs/en_US/partnership.lang b/htdocs/langs/en_US/partnership.lang index f4ea73a1a8f..105456dc719 100644 --- a/htdocs/langs/en_US/partnership.lang +++ b/htdocs/langs/en_US/partnership.lang @@ -93,4 +93,5 @@ ReasonDeclineOrCancel=Reason for declining or canceling NewPartnershipRequest=New partnership request NewPartnershipRequestDesc=This form allows you to request to be part of one of our partnership program. If you need help to fill this form, please contact by email %s. +ThisUrlMustContainsAtLeastOneLinkToWebsite=This page must contains at least one link to one of the following domain: %s diff --git a/htdocs/public/partnership/new.php b/htdocs/public/partnership/new.php index 30cf17ab718..0e43174b893 100644 --- a/htdocs/public/partnership/new.php +++ b/htdocs/public/partnership/new.php @@ -617,7 +617,18 @@ print ''.$langs->trans("Email").' * print ''."\n"; // Url print ''.$langs->trans("Url").' *'; -print ''."\n"; +print ''; +if (getDolGlobalString('PARTNERSHIP_BACKLINKS_TO_CHECK')) { + $listofkeytocheck = explode('|', getDolGlobalString('PARTNERSHIP_BACKLINKS_TO_CHECK')); + $i = 0; + $s = ''; + foreach ($listofkeytocheck as $val) { + $i++; + $s .= ($s ? ($i == count($listofkeytocheck) ? ' '.$langs->trans("or").' ' : ', ') : '').$val; + } + print '
'.$langs->trans("ThisUrlMustContainsAtLeastOneLinkToWebsite", $s).''; +} +print ''."\n"; // Address print ''.$langs->trans("Address").''."\n"; print ''."\n";