| <?php | |
| # Set the theme for your project's web pages. | |
| # See the Committer Tools "Phoenix" secion in the How Do I? for list of themes | |
| # https://dev.eclipse.org/committers/ | |
| $theme = "Nova"; | |
| $App->Promotion = TRUE; | |
| # Define your project-wide Nav bars here. | |
| # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) | |
| $Nav->addNavSeparator("Downloads Home", "/downloads/"); | |
| # $Nav->addCustomNav("Bit Torrents", "http://torrent.eclipse.org:6969/", "_self", 1); | |
| $Nav->addCustomNav("Source code", "http://wiki.eclipse.org/Git", "_self", 1); | |
| $Nav->addCustomNav("More Packages", "/downloads/packages/", "_self", 1); | |
| if ($_SERVER['SCRIPT_FILENAME'] = '/downloads/download.php') | |
| { | |
| $Nav->setHTMLBlock(donateButtons()); | |
| } | |
| function donateButtons(){ | |
| ob_start(); | |
| ?> <style> form { display:inline; }</style> | |
| <br/><br/> | |
| <div style="padding-left:10px;"> | |
| <h3>Give Back to Eclipse</h3> | |
| <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> | |
| <input type="hidden" name="cmd" value="_s-xclick"> | |
| <input type="hidden" name="hosted_button_id" value="7577704"> | |
| <input type="image" src="http://www.eclipse.org/friends/images/donate5.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> | |
| <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> | |
| </form> | |
| <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> | |
| <input type="hidden" name="cmd" value="_s-xclick"> | |
| <input type="hidden" name="hosted_button_id" value="11342083"> | |
| <input type="image" src="http://www.eclipse.org/friends/images/donate15.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> | |
| <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> | |
| </form> | |
| <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> | |
| <input type="hidden" name="cmd" value="_s-xclick"> | |
| <input type="hidden" name="hosted_button_id" value="11342063"> | |
| <input type="image" src="http://www.eclipse.org/friends/images/donate25.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> | |
| <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> | |
| </form> | |
| <br/> | |
| <a href="/donate/">Donate $35 or more and Become a Friend of Eclipse!</a> | |
| <img src="http://www.eclipse.org/friends/images/donateHeader.png"/> | |
| <p style="padding:5px 0px;font-size:10px;color:#888">The Eclipse Foundation is a not-for-profit organization, not a charitable organization, so we are unable to provide charitable tax receipts.<br>Amounts shown are in US dollars.</p> | |
| </div> | |
| <? | |
| return ob_get_clean(); | |
| } | |
| ?> |