FeedWordPressSyndicationPage::bleg_box PHP Method

bleg_box() public method

* FeedWordPressSyndicationPage::bleg_thanks ()
public bleg_box ( $page, $box = NULL )
    function bleg_box($page, $box = NULL)
    {
        ?>
<script type="text/javascript">
/* <![CDATA[ */
    (function() {
        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
        s.type = 'text/javascript';
        s.async = true;
        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
        t.parentNode.insertBefore(s, t);
    })();
/* ]]> */</script>

<div class="donation-form">
<h4>Consider a Donation to FeedWordPress</h4>
<form action="https://www.paypal.com/cgi-bin/webscr" accept-charset="UTF-8" method="post"><div>
<p><a href="http://feedwordpress.radgeek.com/">FeedWordPress</a> makes syndication
simple and empowers you to stream content from all over the web into your
WordPress hub. If you&#8217;re finding FWP useful,
<a href="http://feedwordpress.radgeek.com/donate/">a modest gift</a>
is the best way to support steady progress on development, enhancements,
support, and documentation.</p>

<div class="donate" style="vertical-align: middle">

<div id="flattr-paypal">

<div style="display: inline-block; vertical-align: middle; ">
<a class="FlattrButton" style="display:none;"   href="http://feedwordpress.radgeek.com/"></a>
<noscript>
<a href="https://flattr.com/thing/1380856/FeedWordPress" target="_blank"><img src="https://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a>
</noscript>
<div>via Flattr</div>

</div> <!-- style="display: inline-block" -->

<div class="hovered-component" style="display: inline-block; vertical-align: bottom">
<a href="bitcoin:<?php 
        print esc_attr(FEEDWORDPRESS_BLEG_BTC);
        ?>
"><img src="<?php 
        print esc_url(plugins_url('/' . FeedWordPress::path('btc-qr-64px.png')));
        ?>
" alt="Donate" /></a>
<div><a href="bitcoin:<?php 
        print esc_attr(FEEDWORDPRESS_BLEG_BTC);
        ?>
">via bitcoin<span class="hover-on pop-over" style="background-color: #ddffdd; padding: 5px; color: black; border-radius: 5px;">bitcoin:<?php 
        print esc_html(FEEDWORDPRESS_BLEG_BTC);
        ?>
</span></a></div>
</div>

<div style="display: inline-block; vertical-align: bottom">
<input type="image" name="submit" src="<?php 
        print esc_url(plugins_url('/' . FeedWordPress::path('paypal-donation-64px.png')));
        ?>
" alt="Donate through PayPal" />
<input type="hidden" name="business" value="[email protected]"  />
<input type="hidden" name="cmd" value="_xclick"  />
<input type="hidden" name="item_name" value="FeedWordPress donation"  />
<input type="hidden" name="no_shipping" value="1"  />
<input type="hidden" name="return" value="<?php 
        print esc_attr($this->admin_page_href(basename($this->filename), array('paid' => 'yes')));
        ?>
"  />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="notify_url" value="http://feedwordpress.radgeek.com/ipn/donation"  />
<input type="hidden" name="custom" value="1"  />
<div>via PayPal</div>
</div> <!-- style="display: inline-block" -->

</div> <!-- id="flattr-paypal" -->
</div> <!-- class="donate" -->

</div> <!-- class="donation-form" -->
</form>

<p>You can make a gift online (or
<a href="http://feedwordpress.radgeek.com/donation">set up an automatic
regular donation</a>) using an existing PayPal account or any major credit card.</p>

<div class="sod-off">
<form style="text-align: center" action="<?php 
        print $this->form_action();
        ?>
" method="POST"><div>
<input class="button" type="submit" name="maybe_later" value="Maybe Later" />
<input class="button" type="submit" name="go_away" value="Dismiss" />
</div></form>
</div>
</div> <!-- class="donation-form" -->
		<?php 
    }