echoPayPalConnector::isConnected()?'<p class="sg-ok">Connected ('.esc_html('live'===$s['paypal_mode']?'Live':'Sandbox').').</p>':'<p class="sg-warn">Not connected yet. Follow the steps in the <a href="'.esc_url(SetupPage::url(1)).'">setup guide</a>.</p>';
echo'</select><p class="description">One currency for the whole site. It applies to goals you create from now on; existing goals keep their currency. Check the fixed fee below after changing it.</p></td></tr>';
echo'<tr><th scope="row">Moderation</th><td><label><input type="checkbox" name="moderate_messages" value="1"'.checked(!empty($s['moderate_messages']),true,false).'> Hold messages for my approval before they can be shown in alerts</label></td></tr>';
echo'<tr><th scope="row">Profanity filter</th><td><label><input type="checkbox" name="profanity_filter" value="1"'.checked(!empty($s['profanity_filter']),true,false).'> Filter bad language in messages and names</label><br>';
echo'<label><input type="checkbox" name="profanity_use_builtin" value="1"'.checked(!empty($s['profanity_use_builtin']),true,false).'> Use the built-in word list</label>';
echo'<p><label for="sg_words">Your own words to block (one per line)</label><br><textarea id="sg_words" name="profanity_words" rows="6" class="large-text code">'.esc_textarea((string)$s['profanity_words']).'</textarea></p></td></tr></table></div>';
echo'<p>When a donor chooses "cover the fees", the form adds the estimated PayPal fee so you receive the amount they intended. The defaults (<strong>3.49% + $0.49</strong>) are <strong>US domestic estimates</strong>. Fees for international (cross-border) payments and currency conversion are higher and are <strong>not</strong> included, so you may receive slightly less than expected in those cases. Check PayPal\'s current fee page for your country and adjust.</p>';
$errors[]='Minimum donation must be at least '.Format::money(\StreamGoals\Core\Settings::HARD_MIN_MINOR,$cur).'. PayPal\'s fixed fee makes smaller donations lose money.';