fixes #694 - Inconsistent donation links

This commit is contained in:
Luke Pulverenti 2014-01-29 10:02:29 -05:00
parent 76401c0e97
commit 84347e8631
2 changed files with 24 additions and 35 deletions

View File

@ -78,41 +78,30 @@
<div id="contribute" style="margin-top: 4em; display: none;">
<h2 style="margin: 0 0 .35em;">Help Improve Media Browser</h2>
<div>
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr"
method="post">
<input type="hidden" name="amount" value="10">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="donate@mediabrowser3.com">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="item_name" value="Media Browser Supporter">
<input type="hidden" name="item_number" value="MBSupporter">
<input type="hidden" name="notify_url" value="http://mb3admin.com/admin/service/services/ppipn.php">
<input type="hidden" name="return" id="paypalReturnUrl" value="#">
<a data-role="button" onclick="$(this).parents('form')[0].submit();" data-icon="mail" data-mini="true">
<img src="css/images/supporter/donatepaypal.png" /></a>
<a href="https://github.com/MediaBrowser/MediaBrowser/wiki" data-role="button" target="_blank" data-icon="user" data-mini="true">Join the Development Team</a>
<a data-role="button" data-icon="mail" data-mini="true" href="supporter.html">
<img src="css/images/supporter/donatepaypal.png" /></a>
<a href="https://github.com/MediaBrowser/MediaBrowser/wiki" data-role="button" target="_blank" data-icon="user" data-mini="true">Join the Development Team</a>
<p class="appLinks" style="padding-left: 5px;">
<a href="http://www.amazon.com/Mark-Linton-Mediabrowser-Android-Client/dp/B00GVH9O0I" target="_blank">
<img src="css/images/clients/amazon.png" title="Android via Amazon App Store" /></a>
<a href="https://play.google.com/store/apps/details?id=com.mb.android&hl=en" target="_blank">
<img src="css/images/clients/playstore.png" title="Android via Google Play Store" /></a>
<a href="https://itunes.apple.com/us/app/media-browser-for-ios/id705058087" target="_blank">
<img src="css/images/clients/ios.png" title="iOS" /></a>
<a href="http://www.roku.com/channels/#!details/34503/media-browser" target="_blank">
<img src="css/images/clients/roku.jpg" title="Roku" /></a>
<a href="http://www.windowsphone.com/s?appid=f4971ed9-f651-4bf6-84bb-94fd98613b86" target="_blank">
<img src="css/images/clients/windowsphone.png" title="Windows Phone" /></a>
<a href="http://apps.microsoft.com/windows/en-us/app/media-browser/ad55a2f0-9897-47bd-8944-bed3aefd5d06" target="_blank">
<img src="css/images/clients/windowsrt.png" title="Windows 8.1" /></a>
<a href="http://www.mediabrowser3.com/clients" target="_blank" title="Windows Media Center">
<img src="css/images/clients/mbc.png" /></a>
<a href="http://addons.xbmc.org/show/plugin.video.xbmb3c" target="_blank" title="XBMB3C">
<img src="css/images/clients/xbmc.png" /></a>
<a href="http://forum.team-mediaportal.com/threads/plugin-mediabrowser-for-mediaportal-v0-13-beta-2013-10-21.119513" target="_blank" title="Media Portal">
<img src="css/images/clients/mediaportal.png" /></a>
</p>
</form>
<p class="appLinks" style="padding-left: 5px;">
<a href="http://www.amazon.com/Mark-Linton-Mediabrowser-Android-Client/dp/B00GVH9O0I" target="_blank">
<img src="css/images/clients/amazon.png" title="Android via Amazon App Store" /></a>
<a href="https://play.google.com/store/apps/details?id=com.mb.android&hl=en" target="_blank">
<img src="css/images/clients/playstore.png" title="Android via Google Play Store" /></a>
<a href="https://itunes.apple.com/us/app/media-browser-for-ios/id705058087" target="_blank">
<img src="css/images/clients/ios.png" title="iOS" /></a>
<a href="http://www.roku.com/channels/#!details/34503/media-browser" target="_blank">
<img src="css/images/clients/roku.jpg" title="Roku" /></a>
<a href="http://www.windowsphone.com/s?appid=f4971ed9-f651-4bf6-84bb-94fd98613b86" target="_blank">
<img src="css/images/clients/windowsphone.png" title="Windows Phone" /></a>
<a href="http://apps.microsoft.com/windows/en-us/app/media-browser/ad55a2f0-9897-47bd-8944-bed3aefd5d06" target="_blank">
<img src="css/images/clients/windowsrt.png" title="Windows 8.1" /></a>
<a href="http://www.mediabrowser3.com/clients" target="_blank" title="Windows Media Center">
<img src="css/images/clients/mbc.png" /></a>
<a href="http://addons.xbmc.org/show/plugin.video.xbmb3c" target="_blank" title="XBMB3C">
<img src="css/images/clients/xbmc.png" /></a>
<a href="http://forum.team-mediaportal.com/threads/plugin-mediabrowser-for-mediaportal-v0-13-beta-2013-10-21.119513" target="_blank" title="Media Portal">
<img src="css/images/clients/mediaportal.png" /></a>
</p>
<br />
</div>

View File

@ -19,7 +19,7 @@
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
if (pluginSecurityInfo.IsMBSupporter) {
$('#contribute', page).hide();
$('#contribute', page).show();
} else {
$('#contribute', page).show();
}