| <?php |
| /** |
| * Copyright (c) 2014, 2018 Eclipse Foundation and others. |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * Contributors: |
| * Christopher Guindon (Eclipse Foundation) - initial API and implementation |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| */ |
| $sections = array( |
| array( |
| "image" => "http://dev.eclipse.org/huge_icons/apps/office-calendar.png", |
| "url" => "events/", |
| "url_text" => "Events", |
| "text" => "Check out a conference or gathering near you." |
| ), |
| array( |
| "image" => "http://dev.eclipse.org/huge_icons/mimetypes/x-office-presentation.png", |
| "url" => "/resources", |
| "url_text" => "Resources", |
| "text" => '<a href="/resources/?type=book">Books</a>, <a href="/resources/?type=course">Online Courses</a>, <a href="http://live.eclipse.org">Webinars</a>, and <a href="http://www.eclipse.org/resources/?sort=date&category=Tutorial">Tutorials</a>' |
| ), |
| array( |
| "image" => "http://dev.eclipse.org/huge_icons/status/audio-volume-medium.png", |
| "url" => "http://wiki.eclipse.org/Evangelism", |
| "url_text" => "Evangelism", |
| "text" => "Evangelism Resources, <a href=\"http://wiki.eclipse.org/Campus\">Eclipse on Campus</a>" |
| ), |
| array( |
| "image" => "http://dev.eclipse.org/huge_icons/actions/mail-forward.png", |
| "url" => "http://wiki.eclipse.org/index.php/Development_Resources", |
| "url_text" => "Project Resources", |
| "text" => '<a href="/mail/">Mailing Lists</a>, <a href="/forums">Forums</a>, <a href="http://wiki.eclipse.org">Project Wikis</a>' |
| ), |
| array( |
| "image" => "http://dev.eclipse.org/huge_icons/apps/preferences-system-network-proxy.png", |
| "url" => "portals.php", |
| "url_text" => "Portals", |
| "text" => "Check out the many community sites and blogs around the web." |
| ), |
| array( |
| "image" => "http://dev.eclipse.org/huge_icons/categories/applications-development.png", |
| "url" => "http://marketplace.eclipse.org/taxonomy/term/34/title", |
| "url_text" => "Training & Consulting", |
| "text" => "Consulting, development, and training services" |
| ), |
| array( |
| "image" => "http://dev.eclipse.org/huge_icons/apps/preferences-desktop-remote-desktop.png", |
| "url" => "http://marketplace.eclipse.org", |
| "url_text" => "Plugins", |
| "text" => "Check out the many Eclipse-based plugins." |
| ), |
| array( |
| "image" => "http://dev.eclipse.org/huge_icons/apps/preferences-system-windows.png", |
| "url" => "/resources/?sort=date&category=RCP&type=study", |
| "url_text" => "RCP Catalog", |
| "text" => "Open Source, and Commercial Rich Client Platform applications." |
| ) |
| ); |
| ?> |
| |
| <div class="col-xs-24"> |
| <h1><?php print $pageTitle; ?></h1> |
| <?php foreach ($sections as $section) :?> |
| <div class="media col-md-12"> |
| <div class="media-left"> |
| <a href="<?php print $section['url']?>"> |
| <img class="media-object" src="<?php print $section['image']?>" alt="<?php print $section['url_text']?>"> |
| </a> |
| </div> |
| <div class="media-body"> |
| <h4><a href="<?php print $section['url']?>"><?php print $section['url_text']?></a></h4> |
| <p><?php print $section['text']?></p> |
| </div> |
| </div> |
| <?php endforeach;?> |
| </div> |