@@ -182,53 +182,10 @@ function llxHeaderSubscriptionOk($title, $head = "", $disablejs = 0, $disablehea
182182
183183llxHeaderSubscriptionOk ($ langs ->trans ("PaymentForm " ));
184184
185-
186185// Show message
187186print '<span id="dolpaymentspan"></span> ' ."\n" ;
188187print '<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&entity= ' .$ conf ->entity .'&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&entity= ' .$ conf ->entity .'&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-
232189print '<br><br><br> ' ;
233190
234191print $ langs ->trans ("SubscriptionOk " );
0 commit comments