New page with information about the SFC and donations to Evergreen.
authorAnoop Atre <anoop@atreya.net>
Fri, 17 Jun 2011 18:43:14 +0000 (13:43 -0500)
committerAnoop Atre <anoop@atreya.net>
Fri, 17 Jun 2011 18:43:14 +0000 (13:43 -0500)
Signed-off-by: Anoop Atre <anoop@atreya.net>
incl/sfc_sidebar.php [new file with mode: 0644]
sfc.php [new file with mode: 0755]

diff --git a/incl/sfc_sidebar.php b/incl/sfc_sidebar.php
new file mode 100644 (file)
index 0000000..5a5502d
--- /dev/null
@@ -0,0 +1,30 @@
+<!--begin sidebar-->
+
+<link href="/css/style.css" rel="stylesheet" type="text/css" />
+<div id="rightside">
+
+  <div id="rightsidebox">
+    <?php include "/var/www/open-ils.org/incl/search_box.php" ;?>
+    <br />
+    <h3>Table of Contents</h3>
+    <p><a href="/sfc.php#donations">&#187;&nbsp;Donations</a></p>
+    <p><a href="/sfc.php#check-wire">&#187;&nbsp;Check or Wire</a></p>
+    <p><a href="/sfc.php#why">&#187;&nbsp;Why donate?</a></p>
+    <p><a href="/sfc.php#management">&#187;&nbsp;Funds Management</a></p>
+    <?php
+    ///////////////////////////
+    //Setup the different feeds.
+    ///////////////////////////
+
+    $planet_feed = new Feed('http://planet.evergreen-ils.org/atom.xml');
+
+    //Get multiple items in single call
+    echo "<h3>Community Blog Posts</h3> ";
+        foreach ($planet_feed->find(5) as $item) {
+                echo "<p><a href='".$item->link."'>&#187;&nbsp;".$item->image.$item->title."</a>".$item->description."</p>";
+        }
+     ?>
+
+  </div>
+
+</div>
diff --git a/sfc.php b/sfc.php
new file mode 100755 (executable)
index 0000000..cfc3648
--- /dev/null
+++ b/sfc.php
@@ -0,0 +1,99 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+   <title>Evergreen & SFC: Evergreen open source library system</title>
+   <link href="/css/style.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="wrap">
+<?php include "/var/www/open-ils.org/incl/header.php" ;?>
+<?php include "/var/www/open-ils.org/incl/news_box.php" ;?>
+<?php include "/var/www/open-ils.org/incl/sidebar.php" ;?>
+<?php include "/var/www/open-ils.org/incl/sfc_sidebar.php" ;?>
+<!--end side-->
+<div id="pagebody">
+<h1>Evergreen and The Software Freedom Conservancy</h1>
+<p class="content">Evergreen is a proud member of the <a href="http://sfconservancy.org/" target="_blank">Software Freedom Conservancy</a> a not-for-profit organization that provides <a href="http://sfconservancy.org/members/services/" target="_blank">administrative & financial services</a> for Open Source projects. The Conservancy assists by handling all matters other than software development and documentation, so the community can focus on what we do best: improving the software for the public good.</p>
+<a name="donations"></a>
+<h3>Donations</h3>
+<p class="content">The SFC accepts donations on Evergreen's behalf. A portion of the money goes to the SFC to cover their operating expenses. Note that the Software Freedom Conservancy is a 501(c)(3) charity in the USA, so donations in the USA may be tax-deductible.</p>
+<p class="content">On-line donations between $20 and $1000 have the lowest fees. Smaller and larger ones are subject to significantly higher fees by PayPal and Google. Please consider a check or wire transfer for larger amounts.</p>
+<table cellpadding="2" cellspacing="0">
+    <tr>
+        <th><h3>Paypal</h3></th>
+        <th><h3>Google Checkout</h3></th>
+    </tr>
+    <tr>
+        <td>
+<a name="paypal"></a>
+<p class="content">
+<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="ADDEVUYBWUK4C">
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
+</form>
+</p>
+        </td>
+        <td>
+<a name="google"> </a>
+<p class="content">
+<script type="text/javascript">
+function validateAmount(amount){
+       if(amount.value.match( /^[0-9]+(\.([0-9]+))?$/)){
+               return true;
+       }else{
+               alert('You must enter a valid donation.');
+               amount.focus();
+               return false;
+       }
+}
+</script>
+<form action="https://checkout.google.com/cws/v2/Donations/622836985124940/checkoutForm" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" onSubmit="return validateAmount(this.item_price_1)" target="_top">
+   <input name="item_name_1" type="hidden" value="Donation to Evergreen via Software Freedom Conservancy"/>
+   <input name="item_description_1" type="hidden" value="A donation to the Evergreen project via the Software Freedom Conservancy, Inc."/>
+   <input name="item_quantity_1" type="hidden" value="1"/>
+   <input name="item_currency_1" type="hidden" value="USD"/>
+   <input name="item_is_modifiable_1" type="hidden" value="true"/>
+   <input name="item_min_price_1" type="hidden" value="12.0"/>
+   <input name="item_max_price_1" type="hidden" value="25000.0"/>
+   <input name="_charset_" type="hidden" value="utf-8"/>
+   <table cellpadding="5" cellspacing="0" width="1%">
+       <tr>
+           <td align="right" nowrap="nowrap" width="1%">&#x24; <input id="item_price_1" name="item_price_1" onfocus="this.style.color='black'; this.value='';" size="11" style="color:grey;" type="text" value="Enter Amount"/>
+           </td>
+           <td align="left" width="1%">
+               <input alt="Donate" src="https://checkout.google.com/buttons/donateNow.gif?merchant_id=622836985124940&amp;w=115&amp;h=50&amp;style=white&amp;variant=text&amp;loc=en_US" type="image"/>
+           </td>
+       </tr>
+   </table>
+</form>
+</p>
+        </td>
+    </tr>
+</table>
+<a name="check-wire"></a>
+<h3>Check or Wire</h3>
+<p class="content">Donations by checks drawn in USD from banks in the USA (donations from banks outside of the US or not in USD should be handled by wire). Make checks payable to "Software Freedom Conservancy, Inc." and place "Directed donation: Evergreen" in the memo field.</p>
+<h4>Checks should be mailed to:</h4>
+<p class="content">Software Freedom Conservancy, Inc.<br />137 Montague ST STE 380<br />BROOKLYN, NY 11201 USA</p>
+<p class="content">The Conservancy can accept wire donations, but the instructions vary depending on the country of origin. Please contact <a href="mailto:accounting@sfconservancy.org">accounting@sfconservancy.org</a>
+ for instructions.</p>
+<a name="why"></a>
+<h3>Why donate?</h3>
+<p class="content">Donations to the project may be used for purposes including paying for project infrastructure, supporting community events, and furthering software development.</p>
+<a name="management"></a>
+<h3>Funds management</h3>
+<p class="content">Funds donated to the Evergreen project will be directed by the <a href"/dokuwiki/doku.php?id=governance:structure">Evergreen Oversight Board</a> in accordance with the goals of the Board, which are to:</p>
+<ul class="bullet">
+  <li class="content">promote, support, and advance the development of the Evergreen software;</li>
+  <li class="content">support and facilitate the growth of the international community of Evergreen users; and</li>
+  <li class="content">foster and protect the Evergreen assets.</li>
+</ul>
+</div>
+<!--end pagebody-->
+<?php include "/var/www/open-ils.org/incl/footer.php"; ?>
+</div><!--end wrapper-->
+</body>
+</html>