| <?php |
| |
| $working_group['active'][] = array( |
| 'title' => 'Jakarta EE', |
| 'logo' => '', |
| 'body' => 'Jakarta EE is the newly created Eclipse Foundation’s working group |
| focusing on cultivating the business interests related to the |
| EE4J-related technologies. In particular, the <a |
| href="/org/workinggroups/jakarta_ee_charter.php" |
| >Jakarta EE working group</a> will manage the specifications process |
| related to EE4J, and will manage the Jakarta EE brand. Members are |
| invited to participate in Jakarta EE - see the <a |
| href="/org/workinggroups/jakarta_ee_faq.php" |
| >FAQ</a> for more details.', |
| 'website' => '#', |
| 'charter' => '/org/workinggroups/jakarta_ee_charter.php', |
| 'faq' => '/org/workinggroups/jakarta_ee_faq.php', |
| 'mailing-list' => 'https://accounts.eclipse.org/mailing-list/jakarta.ee-wg', |
| ); |
| |
| $working_group['active'][] = array( |
| 'title' => 'GEMOC RC', |
| 'logo' => 'wg_gemoc-rc.png', |
| 'body' => 'The GEMOC Research Consortium support the corresponding international initiative to develop, coordinate, and disseminate Research & Transfer efforts on the use and globalization of modeling languages. The initiative develops techniques, frameworks, and environments to facilitate the creation, integration, and automated processing of heterogeneous modeling languages.', |
| 'website' => 'http://gemoc.org', |
| 'charter' => '/org/workinggroups/gemoc_rc_charter.php', |
| 'mailing-list' => 'https://accounts.eclipse.org/mailing-list/gemoc-rc', |
| ); |
| |
| $working_group['active'][] = array( |
| 'title' => 'Capella IC', |
| 'logo' => 'wg_capella.png', |
| 'body' => 'The Capella Industry Consortium, part of the PolarSys Working Group, is dedicated to developing the ecosystem around the Capella project with vendor-neutral and open governance. Capella is an open MBSE solution which offers methodological guidance, intuitive model editing, and viewing capabilities for Systems, Software and Hardware Architects.', |
| 'website' => 'https://www.polarsys.org/capella/industry-consortium.html', |
| 'charter' => '/org/workinggroups/capellaic_charter.php', |
| 'mailing-list' => 'https://dev.polarsys.org/mailman/listinfo/capella-ic', |
| 'wiki' => 'https://wiki.polarsys.org/Capella_IC', |
| ); |
| |
| $working_group['active'][] = array( |
| 'title' => 'LocationTech', |
| 'logo' => 'wg_locationtech.png', |
| 'body' => 'LocationTech is the Eclipse Foundation\'s working group focusing on open source geospatial technologies.', |
| 'website' => 'https://www.locationtech.org/', |
| 'charter' => '/org/workinggroups/locationtech_charter.php', |
| 'mailing-list' => 'https://www.locationtech.org/mailman/listinfo/location-iwg', |
| 'wiki' => 'http://wiki.eclipse.org/Location', |
| ); |
| |
| $working_group['active'][] = array( |
| 'title' => 'Science', |
| 'logo' => 'wg_science.png', |
| 'body' => 'The Science Working Group hosted by the Eclipse Foundation is a collaboration of people developing software components used for basic scientific research.', |
| 'website' => 'https://science.eclipse.org/', |
| 'charter' => '/org/workinggroups/science_charter.php', |
| 'mailing-list' => 'https://dev.eclipse.org/mailman/listinfo/science-iwg', |
| 'wiki' => 'https://wiki.eclipse.org/Science_IWG', |
| ); |
| |
| $working_group['active'][] = array( |
| 'title' => 'Long-Term Support', |
| 'logo' => 'wg_lts.png', |
| 'body' => 'The Eclipse Long Term Support (LTS) working group provides a set of services to Eclipse Foundation Members who need to support and maintain commercial products based on Eclipse projects.', |
| 'website' => 'http://lts.eclipse.org/', |
| 'charter' => '/org/workinggroups/ltsiwg_charter.php', |
| 'mailing-list' => 'https://dev.eclipse.org/mailman/listinfo/lts-iwg', |
| 'wiki' => 'http://wiki.eclipse.org/LTS', |
| ); |
| |
| $working_group['active'][] = array( |
| 'title' => 'Internet of Things', |
| 'logo' => 'wg_iot.png', |
| 'body' => 'iot.eclipse.org is where you can learn about the technologies developed at Eclipse to make Internet of Things (IoT) development simpler.', |
| 'website' => 'http://iot.eclipse.org/', |
| 'charter' => '/org/workinggroups/iotwg_charter.php', |
| 'mailing-list' => 'https://dev.eclipse.org/mailman/listinfo/m2m-iwg', |
| 'wiki' => 'http://wiki.eclipse.org/Machine-to-Machine', |
| ); |
| |
| $working_group['active'][] = array( |
| 'title' => 'Polarsys', |
| 'logo' => 'wg_polarsys.png', |
| 'body' => 'PolarSys is an Eclipse Working Group created by large industry players and by tools providers to collaborate on the creation and support of Open Source tools for the development of embedded systems.', |
| 'website' => 'http://www.polarsys.org/', |
| 'charter' => '/org/workinggroups/polarsys_charter.php', |
| 'mailing-list' => 'https://dev.eclipse.org/mailman/listinfo/polarsys-iwg', |
| 'wiki' => 'http://wiki.eclipse.org/Polarsys', |
| ); |
| |
| $working_group['active'][] = array( |
| 'title' => 'Papyrus IC', |
| 'logo' => 'wg_papyrus.png', |
| 'body' => 'The Papyrus Industry Consortium is organized under the Polarsys Working Group, and is intended to provide resources focused on enhancing the Papyrus projects for systems engineering.', |
| 'website' => 'https://polarsys.org/wiki/Papyrus_IC', |
| 'charter' => '/org/workinggroups/papyrusic_charter.php', |
| 'mailing-list' => 'https://polarsys.org/mailman/listinfo/papyrus-sig', |
| 'wiki' => 'https://polarsys.org/wiki/Papyrus_IC', |
| ); |
| |
| $working_group['active'][] = array( |
| 'title' => 'OpenMDM', |
| 'logo' => 'mdm_logo.gif', |
| 'body' => 'The openMDM Working Group wants to foster and support an open and innovative eco-system providing tools and systems, qualification kits and adapters for standardized and vendor independent management of measurement data in accordance with the ASAM ODS standard.', |
| 'website' => 'http://www.openmdm.org/', |
| 'charter' => '/org/workinggroups/mdmwg_charter.php', |
| 'mailing-list' => 'https://dev.eclipse.org/mailman/listinfo/open-measured-data-wg', |
| 'wiki' => 'http://www.openmdm.org', |
| ); |
| |
| $working_group['inactive'][] = array( |
| 'title' => 'Mobile (Pulsar)', |
| 'logo' => 'wg_pulsar.gif', |
| 'body' => 'Pulsar is a tools integration platform for the mobile developer. It makes it easy to get the tools and handset SDKs you need for developing mobile applications.', |
| 'website' => '/pulsar/', |
| 'charter' => '/org/workinggroups/mobilewg.php', |
| 'mailing-list' => 'https://dev.eclipse.org/mailman/listinfo/mobile-iwg', |
| 'wiki' => 'http://wiki.eclipse.org/EMIWG', |
| ); |
| |
| $working_group['inactive'][] = array( |
| 'title' => 'Eclipse SOA Initiative', |
| 'logo' => 'wg_soa.gif', |
| 'body' => 'The goal of "Eclipse SOA Initiative", will be to define, implement and promote a common Equinox-based SOA platform including both design time and runtime components.', |
| 'website' => '/org/workinggroups/soawg.php', |
| 'charter' => '/org/workinggroups/mobilewg.php', |
| 'mailing-list' => 'https://dev.eclipse.org/mailman/listinfo/soa-iwg', |
| ); |
| |
| |
| function clean_css_identifier($identifier, $filter = array(' ' => '-', '_' => '-', '/' => '-', '[' => '-', ']' => '')) { |
| // By default, we filter using Drupal's coding standards. |
| $identifier = strtr($identifier, $filter); |
| |
| // Valid characters in a CSS identifier are: |
| // - the hyphen (U+002D) |
| // - a-z (U+0030 - U+0039) |
| // - A-Z (U+0041 - U+005A) |
| // - the underscore (U+005F) |
| // - 0-9 (U+0061 - U+007A) |
| // - ISO 10646 characters U+00A1 and higher |
| // We strip out any character not in the above list. |
| $identifier = preg_replace('/[^\x{002D}\x{0030}-\x{0039}\x{0041}-\x{005A}\x{005F}\x{0061}-\x{007A}\x{00A1}-\x{FFFF}]/u', '', $identifier); |
| |
| return $identifier; |
| } |
| |
| function wg_output($working_group = array(), $type = 'active', $span = '4'){ |
| ob_start(); |
| //Re-order list alphabetically |
| //php array sort does appear to work but can't be certain it's sorting on title key |
| |
| usort($working_group[$type], "compare_wg_array_by_title"); |
| |
| $x = 0; |
| foreach($working_group[$type] as $g): |
| $x++; |
| |
| ?> |
| <div class="row wg-item content-block padding-top-20"> |
| <div class="<?php print strtolower(clean_css_identifier($g['title']));?>"> |
| <div class="col-sm-8 col-md-6 logo padding-top-20"> |
| <?php if (!empty($g['logo'])): ?> |
| <a href="<?php print $g['website'];?>"> |
| <img src="assets/images/<?php print $g['logo'];?>" alt="Logo for <?php print $g['title'];?>" class="img-responsive center-block"/> |
| </a> |
| <?php endif; ?> |
| </div> |
| <div class="col-sm-16 col-md-18 content-container"> |
| <div class="content"> |
| <?php if(!empty($g['website']) && !empty($g['title'])):?> |
| <h3><a href="<?php print $g['website'];?>"><?php print $g['title'];?></a></h3> |
| <?php endif; ?> |
| <?php if(!empty($g['body'])):?> |
| <p><?php print $g['body'];?></p> |
| <?php endif; ?> |
| <ul class="list-inline list-border-right text-right"> |
| <?php if(!empty($g['website'])):?> |
| <li><a href="<?php print $g['website'];?>">Read more</a></li> |
| <?php endif; ?> |
| <?php if(!empty($g['charter'])):?> |
| <li><a href="<?php print $g['charter'];?>">Charter</a></li> |
| <?php endif; ?> |
| <?php if(!empty($g['faq'])):?> |
| <li><a href="<?php print $g['faq'];?>">FAQ</a></li> |
| <?php endif; ?> |
| </ul> |
| </div> |
| </div> |
| </div> |
| </div> |
| <hr /> |
| <?php |
| endforeach; |
| return ob_get_clean(); |
| } |
| /** |
| * usort callback function sort array by title key |
| * |
| */ |
| function compare_wg_array_by_title($a, $b){ |
| return strcasecmp($a['title'],$b['title']); |
| } |