Skip to content

Commit 4bfb6dc

Browse files
committed
Fix remove double logo in page subscriptionok
1 parent 0aaf06d commit 4bfb6dc

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

htdocs/public/eventorganization/subscriptionok.php

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -182,53 +182,10 @@ function llxHeaderSubscriptionOk($title, $head = "", $disablejs = 0, $disablehea
182182

183183
llxHeaderSubscriptionOk($langs->trans("PaymentForm"));
184184

185-
186185
// Show message
187186
print '<span id="dolpaymentspan"></span>'."\n";
188187
print '<div id="dolpaymentdiv" class="center">'."\n";
189188

190-
191-
// Show logo (search order: logo defined by PAYMENT_LOGO_suffix, then PAYMENT_LOGO, then small company logo, large company logo, theme logo, common logo)
192-
// Define logo and logosmall
193-
$logosmall = $mysoc->logo_small;
194-
$logo = $mysoc->logo;
195-
$paramlogo = 'ONLINE_PAYMENT_LOGO_'.$suffix;
196-
if (getDolGlobalString($paramlogo)) {
197-
$logosmall = getDolGlobalString($paramlogo);
198-
} elseif (getDolGlobalString('ONLINE_PAYMENT_LOGO')) {
199-
$logosmall = getDolGlobalString('ONLINE_PAYMENT_LOGO');
200-
}
201-
//print '<!-- Show logo (logosmall='.$logosmall.' logo='.$logo.') -->'."\n";
202-
// Define urllogo
203-
$urllogo = '';
204-
$urllogofull = '';
205-
if (!empty($logosmall) && is_readable($conf->mycompany->dir_output.'/logos/thumbs/'.$logosmall)) {
206-
$urllogo = DOL_URL_ROOT.'/viewimage.php?modulepart=mycompany&amp;entity='.$conf->entity.'&amp;file='.urlencode('logos/thumbs/'.$logosmall);
207-
$urllogofull = $dolibarr_main_url_root.'/viewimage.php?modulepart=mycompany&entity='.$conf->entity.'&file='.urlencode('logos/thumbs/'.$logosmall);
208-
} elseif (!empty($logo) && is_readable($conf->mycompany->dir_output.'/logos/'.$logo)) {
209-
$urllogo = DOL_URL_ROOT.'/viewimage.php?modulepart=mycompany&amp;entity='.$conf->entity.'&amp;file='.urlencode('logos/'.$logo);
210-
$urllogofull = $dolibarr_main_url_root.'/viewimage.php?modulepart=mycompany&entity='.$conf->entity.'&file='.urlencode('logos/'.$logo);
211-
}
212-
213-
// Output html code for logo
214-
if ($urllogo) {
215-
print '<div class="backgreypublicpayment">';
216-
print '<div class="logopublicpayment">';
217-
print '<img id="dolpaymentlogo" src="'.$urllogo.'"';
218-
print '>';
219-
print '</div>';
220-
if (!getDolGlobalString('MAIN_HIDE_POWERED_BY')) {
221-
print '<div class="poweredbypublicpayment opacitymedium right"><a class="poweredbyhref" href="https://www.dolibarr.org?utm_medium=website&utm_source=poweredby" target="dolibarr" rel="noopener">'.$langs->trans("PoweredBy").'<br><img class="poweredbyimg" src="'.DOL_URL_ROOT.'/theme/dolibarr_logo.svg" width="80px"></a></div>';
222-
}
223-
print '</div>';
224-
}
225-
226-
if (getDolGlobalString('EVENTORGANIZATION_IMAGE_PUBLIC_INTERFACE')) {
227-
print '<div class="backimagepubliceventorganizationsubscription">';
228-
print '<img id="idEVENTORGANIZATION_IMAGE_PUBLIC_INTERFACE" src="' . getDolGlobalString('EVENTORGANIZATION_IMAGE_PUBLIC_INTERFACE').'">';
229-
print '</div>';
230-
}
231-
232189
print '<br><br><br>';
233190

234191
print $langs->trans("SubscriptionOk");

0 commit comments

Comments
 (0)