public function onFooter()
 {
     wp_enqueue_script('wpam_contact_info');
     wp_localize_script('wpam_contact_info', 'currencyL10n', array('fixedLabel' => sprintf(__('Bounty Rate (%s per Sale)', 'wpam'), WPAM_MoneyHelper::getDollarSign()), 'percentLabel' => __('Bounty Rate (% of Sale)', 'wpam'), 'okLabel' => __('OK', 'wpam')));
     $response = new WPAM_Pages_TemplateResponse('widget_form_errors', $this->response->viewData);
     echo $response->render();
 }
?>
" style="display: none">
	<table>
		<tbody>
		<tr>
			<td width="150" style="vertical-align:top"><label for="txtAdjustmentAmount"><?php 
_e('Payout Amount ', 'affiliates-manager');
?>
</label></td>
			<td>
				<input name="payoutAmountType" type="radio" id="rbPayoutCurrentBalance" value="currentBalance" checked="checked" />
				<label for="rbPayoutCurrentBalance"><?php 
_e('Current balance', 'affiliates-manager');
?>
 (<?php 
echo WPAM_MoneyHelper::getDollarSign(), $this->viewData['accountStanding'];
?>
)</label><br />

				<input name="payoutAmountType" type="radio" id="rbPayoutOtherAmount" value="otherAmount">
				<label for="rbPayoutOtherAmount"><?php 
_e('Other amount', 'affiliates-manager');
?>
</label><br>
				<input type="text" id="txtPayoutAmount" name="txtPayoutAmount" size="10" style="display: none;" value="<?php 
echo sprintf("%01.2f", $this->viewData['accountStanding']);
?>
"/>
			</td>
		</tr>
		</tbody>
			<td>
				<label for="ddBountyType"><?php 
        _e('Bounty Type *', 'wpam');
        ?>
</label>
			</td>
			<td>
				<select id="ddBountyType" name="ddBountyType">
		<?php 
        $select = array('percent' => __('Percentage of Sales', 'wpam'), 'fixed' => __('Fixed Amount per Sale', 'wpam'));
        $selected = isset($this->viewData['bountyType']) ? $this->viewData['bountyType'] : NULL;
        foreach ($select as $value => $name) {
            $selected_html = $value == $selected ? ' selected="selected"' : '';
            echo "<option value='{$value}'{$selected_html}>{$name}</option>\n";
        }
        $currency = WPAM_MoneyHelper::getDollarSign();
        $label = isset($this->viewData['bountyType']) && $this->viewData['bountyType'] == 'fixed' ? sprintf(__('Bounty Rate (%s per Sale) *', 'wpam'), $currency) : __('Bounty Rate (% of Sale) *', 'wpam');
        $bountyAmount = isset($this->viewData['bountyAmount']) ? $this->viewData['bountyAmount'] : '';
        ?>
				</select>
			</td>
		</tr>
		<tr>
			<td><label id='lblBountyAmount' for='txtBountyAmount'><?php 
        echo $label;
        ?>
</label></td>
			<td><input type='text' id='txtBountyAmount' name='txtBountyAmount' size='5' value='<?php 
        echo $bountyAmount;
        ?>
'/></td>
    public function showAdminMessages()
    {
        if (empty($this->setloc)) {
            //don't bother showing this warning if they were trying to use 'en_US'
            if ($this->locale == 'en_US') {
                return;
            }
            $code = WPAM_MoneyHelper::getCurrencyCode();
            $currency = WPAM_MoneyHelper::getDollarSign();
            echo '<div id="message" class="error">
			<p><strong>' . sprintf(__('WP Affiliate Manager was unable to load your currency from your WPLANG setting: %s', 'wpam'), $this->locale) . '<br/>' . sprintf(__('Your currency will be displayed as %s and PayPal payments will be paid in %s', 'wpam'), $currency, $code) . '</strong></p></div>';
            if (WPAM_DEBUG) {
                echo "<!-- LC_MONETARY {$this->locale}, isset: ", var_export($this->setloc, true), PHP_EOL, var_export(localeconv(), true), ' -->';
            }
        }
    }