use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("$C->{Form}{pg_paypal_email}\n");if ( $C->{UserObj}{isAdaptpayEnabledInSystem} ) {$this->out("	<br>\n");if ( $C->{UserObj}{isAdaptpayLinked} ) {$this->out("		<div style=\"color: blue; font-weight: bold; margin-left: 7px\">Paypal account linked</div>\n");} else {$this->out("		<div style=\"color: red; font-weight: bold; margin-left: 7px\">\n			Paypal account not linked&nbsp;<a class=\"jinTableLink\" href=\"#\" onclick=\'alert(\"You need to link your Paypal email address to Delavo if you want to get paid instant commissions etc\"); return false\'>[?]</a>\n			<input type=\"button\" class=\"\"btn btn-primary\"\" style=\"font-size:80\%\" value=\"Link Paypal now\" onClick=\"if (document.forms[\'Editor\'].elements[\'pg_paypal_email\'].value == \'\') alert(\'You need to enter your Paypal email in the field\'); else atkGoActionEditor(\'paypal_adaptpay_link\')\">\n		</div>\n");}$this->out("");}$this->out("");}