diff options
| author | Christopher Guindon | 2020-10-15 15:32:05 +0000 |
|---|---|---|
| committer | Christopher Guindon | 2021-01-13 21:04:49 +0000 |
| commit | c555b300bcb2ddacc600b7d2d144f2493fbc55ef (patch) | |
| tree | 7ada302b4cfdc278ca9f9f5ece289a65ec86b96f | |
| parent | 0b116830811e4b601c1551c28b2cc4d34a880ab7 (diff) | |
| download | org-c555b300bcb2ddacc600b7d2d144f2493fbc55ef.tar.gz org-c555b300bcb2ddacc600b7d2d144f2493fbc55ef.tar.xz org-c555b300bcb2ddacc600b7d2d144f2493fbc55ef.zip | |
Bug 567137 - Add EF AISBL Documents on our Governance Documents page
Change-Id: I2994630d8003f1a9dff61f39cf939b7797638d24
Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>
| -rw-r--r-- | documents/eclipse-foundation-be-bylaws-en.pdf | bin | 0 -> 554675 bytes | |||
| -rw-r--r-- | documents/eclipse-foundation-be-bylaws-fr.pdf | bin | 0 -> 653675 bytes | |||
| -rw-r--r-- | documents/eclipse-foundation-membership-agreement.pdf | bin | 0 -> 242786 bytes | |||
| -rw-r--r-- | documents/eclipse-foundation-us-bylaws.pdf (renamed from documents/eclipse_foundation-bylaws.pdf) | bin | 318505 -> 318505 bytes | |||
| -rw-r--r-- | documents/eclipse-foundation-us-membership-agreement.pdf (renamed from documents/eclipse_membership_agreement.pdf) | bin | 315485 -> 315485 bytes | |||
| -rw-r--r-- | documents/index.php | 24 | ||||
| -rw-r--r-- | documents/src/FoundationDocument.class.php | 13 |
7 files changed, 17 insertions, 20 deletions
diff --git a/documents/eclipse-foundation-be-bylaws-en.pdf b/documents/eclipse-foundation-be-bylaws-en.pdf Binary files differnew file mode 100644 index 00000000..5a0a9f9d --- /dev/null +++ b/documents/eclipse-foundation-be-bylaws-en.pdf diff --git a/documents/eclipse-foundation-be-bylaws-fr.pdf b/documents/eclipse-foundation-be-bylaws-fr.pdf Binary files differnew file mode 100644 index 00000000..8f50074b --- /dev/null +++ b/documents/eclipse-foundation-be-bylaws-fr.pdf diff --git a/documents/eclipse-foundation-membership-agreement.pdf b/documents/eclipse-foundation-membership-agreement.pdf Binary files differnew file mode 100644 index 00000000..faacde12 --- /dev/null +++ b/documents/eclipse-foundation-membership-agreement.pdf diff --git a/documents/eclipse_foundation-bylaws.pdf b/documents/eclipse-foundation-us-bylaws.pdf Binary files differindex 4c6e1700..4c6e1700 100644 --- a/documents/eclipse_foundation-bylaws.pdf +++ b/documents/eclipse-foundation-us-bylaws.pdf diff --git a/documents/eclipse_membership_agreement.pdf b/documents/eclipse-foundation-us-membership-agreement.pdf Binary files differindex cf8b4a78..cf8b4a78 100644 --- a/documents/eclipse_membership_agreement.pdf +++ b/documents/eclipse-foundation-us-membership-agreement.pdf diff --git a/documents/index.php b/documents/index.php index e3136567..c2d1cdf0 100644 --- a/documents/index.php +++ b/documents/index.php @@ -29,18 +29,20 @@ $Theme->setPageAuthor("M. Milinkovich Nov 20/05"); $documents = array(); $doc = new FoundationDocument(); $doc->setTitle('Bylaws'); -$doc->setDescription('The Bylaws lay out the basic rules of governance of the Eclipse Foundation.'); -//$doc->setDescription('The Bylaws of our Delaware incorporated US organization can be found <a href="eclipse-foundation-inc-bylaws.pdf">here</a>.'); -//$doc->setLink('eclipse-foundation-be-bylaws.pdf'); -$doc->setLink('eclipse_foundation-bylaws.pdf'); +$doc->setDescription('The Bylaws lay out the basic rules of governance of the Eclipse Foundation. +The <a href="eclipse-foundation-be-bylaws-fr.pdf">French</a> language version is the legal binding version of the Eclipse Foundation Bylaws. +The <a href="eclipse-foundation-be-bylaws-en.pdf">English</a> translated version is provided as a convenience.'); +$doc->setDescription('The Bylaws of our Delaware incorporated US organization can be found <a href="eclipse-foundation-us-bylaws.pdf">here</a>.'); +$doc->setLink('eclipse-foundation-be-bylaws-en.pdf', 'English'); +$doc->setLink('eclipse-foundation-be-bylaws-fr.pdf', 'Français'); + $documents['Governance Documents']['bylaws'] = $doc; $doc = new FoundationDocument(); $doc->setTitle('Membership Agreement'); $doc->setDescription('The Membership Agreement describes the rights and responsibilities for each class of member in the Eclipse Foundation.'); -//$doc->setDescription('The Membership Agreement for our Delaware incorporated US organization can be found <a href="eclipse-foundation-inc-membership-agreement.pdf">here</a>.'); -//$doc->setLink('eclipse-foundation-be-membership-agreement.pdf'); -$doc->setLink('eclipse_membership_agreement.pdf'); +$doc->setDescription('The Membership Agreement for our Delaware incorporated US organization can be found <a href="eclipse-foundation-us-membership-agreement.pdf">here</a>.'); +$doc->setLink('eclipse-foundation-membership-agreement.pdf'); $documents['Governance Documents']['membership_agreement'] = $doc; $doc = new FoundationDocument(); @@ -55,14 +57,6 @@ $doc->setDescription('The Antitrust Compliance Policy describes the obligations $doc->setLink('Eclipse_Antitrust_Policy.pdf'); $documents['Governance Documents']['antitrust_policy'] = $doc; -/* -$doc = new FoundationDocument(); -$doc->setTitle('EPL (Eclipse Public License)'); -$doc->setDescription('The Eclipse Public License is the software license used by many Eclipse projects. The Eclipse Foundation is the agreement steward of the EPL.'); -$doc->setLink('epl-2.0/EPL-2.0.pdf'); -$documents['Governance Documents']['epl'] = $doc; -*/ - $doc = new FoundationDocument(); $doc->setTitle('Development Process'); $doc->setDescription('The Eclipse Foundation Development Process (EDP) describes the fundamental rules for creating and governing projects at the Eclipse community.'); diff --git a/documents/src/FoundationDocument.class.php b/documents/src/FoundationDocument.class.php index 3f14e08f..341f724d 100644 --- a/documents/src/FoundationDocument.class.php +++ b/documents/src/FoundationDocument.class.php @@ -28,18 +28,21 @@ class FoundationDocument { return implode('<br/><br/>', $this->description); } - public function setLink($url, $text = 'Read More') { - $this->links = array( + public function setLink($url, $text = 'Read more') { + $this->links[] = array( 'url' => $url, 'text' => $text ); } public function getLink() { - if (empty($this->links)) { - return ''; + $links = array(); + if (!empty($this->links)) { + foreach ($this->links as $link) { + $links[] = '<a href="' . $link['url'] . '" class="btn-sm btn btn-primary" style="width:100%; font-size:12px;">' . $link['text'] . '</a>'; + } } - return '<a href="' . $this->links['url'] . '" class="btn-sm btn btn-primary" style="width:100%; font-size:12px;">' . $this->links['text'] . '</a>'; + return implode('<br/><br/>', $links); } public function getTableRow() { |
