Prepare getting started page for quicksilver
Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>
diff --git a/content/en_index.php b/content/en_index.php
index 1ab9d2e..d1e5538 100644
--- a/content/en_index.php
+++ b/content/en_index.php
@@ -1,27 +1,31 @@
<?php
-/*******************************************************************************
- * Copyright (c) 2014, 2015, 2016 Eclipse Foundation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://eclipse.org/legal/epl-v10.html
+/**
+ * Copyright (c) 2014, 2015, 2016, 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 implementation
+ * Christopher Guindon (Eclipse Foundation) - initial API and implementation
* Wayne Beaton (Eclipse Foundation) - Minor changes
- *******************************************************************************/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ */
+
+// Provide as helpful a link as possible into Bugzilla.
+// Assume that the user is concerned with IDE bugs and point them to the EPP product.
+$bugzillaLink = "https://bugs.eclipse.org/bugs/enter_bug.cgi?product=EPP";
?>
<div class="timeline">
<div class="row">
-
<div class="col-md-6 one gs-item">
<div class="circle">1</div>
<h1 class="fw-600">Get Started</h1>
- <p>Download and install the Eclipse IDE.</p>
- <p><a href="/downloads/" class="btn btn-warning">Download Eclipse IDE</a></p>
+ <p>Download and install the Eclipse IDE.</p>
+ <p><a href="/downloads/" class="btn btn-warning">Download Eclipse IDE</a></p>
</div>
-
<div class="col-md-6 two gs-item">
<div class="circle">2</div>
<h1>Extend Eclipse</h1>
@@ -29,46 +33,62 @@
<ul>
<li>Browse the <a href="//marketplace.eclipse.org">online catalog</a></li>
<li>Use the Eclipse Marketplace
- Client from within Eclipse: <code>Help > Eclipse Marketplace…</code></li>
+ Client from within Eclipse: <code>Help > Eclipse Marketplace…</code>
+ </li>
</ul>
<p>Popular Plugins: </p>
<ul>
- <li><a href="http://marketplace.eclipse.org/content/subversive-svn-team-provider">Subversive - SVN Team Provider</a><br/>
+ <li>
+ <a href="http://marketplace.eclipse.org/content/subversive-svn-team-provider">Subversive - SVN Team Provider</a><br/>
<div class="drag_installbutton">
<a class="drag" href="http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=1139">
<img src="/eclipse.org-common/themes/solstice/public/images/components/drag-drop/installbutton.png"/>
- <div class="tooltip"><h3>Drag to Install!</h3>Drag to your running Eclipse workspace.</div>
+ <div class="tooltip">
+ <h3>Drag to Install!</h3>
+ Drag to your running Eclipse workspace.
+ </div>
</a>
</div>
</li>
- <li><a href="http://marketplace.eclipse.org/content/eclipse-color-theme">Eclipse Color Theme</a><br/>
+ <li>
+ <a href="http://marketplace.eclipse.org/content/eclipse-color-theme">Eclipse Color Theme</a><br/>
<div class="drag_installbutton">
<a class="drag" href="http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=27025">
<img src="/eclipse.org-common/themes/solstice/public/images/components/drag-drop/installbutton.png"/>
- <div class="tooltip"><h3>Drag to Install!</h3>Drag to your running Eclipse workspace.</div>
+ <div class="tooltip">
+ <h3>Drag to Install!</h3>
+ Drag to your running Eclipse workspace.
+ </div>
</a>
</div>
</li>
- <li><a href="http://marketplace.eclipse.org/content/maven-integration-eclipse-juno-and-newer">Maven Integration for Eclipse</a><br/>
+ <li>
+ <a href="http://marketplace.eclipse.org/content/maven-integration-eclipse-juno-and-newer">Maven Integration for Eclipse</a><br/>
<div class="drag_installbutton">
<a class="drag" href="http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=252">
<img src="/eclipse.org-common/themes/solstice/public/images/components/drag-drop/installbutton.png"/>
- <div class="tooltip"><h3>Drag to Install!</h3>Drag to your running Eclipse workspace.</div>
+ <div class="tooltip">
+ <h3>Drag to Install!</h3>
+ Drag to your running Eclipse workspace.
+ </div>
</a>
</div>
</li>
- <li><a href="http://marketplace.eclipse.org/content/pydev-python-ide-eclipse">PyDev</a><br/>
+ <li>
+ <a href="http://marketplace.eclipse.org/content/pydev-python-ide-eclipse">PyDev</a><br/>
<div class="drag_installbutton">
<a class="drag" href="http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=114">
<img src="/eclipse.org-common/themes/solstice/public/images/components/drag-drop/installbutton.png"/>
- <div class="tooltip"><h3>Drag to Install!</h3>Drag to your running Eclipse workspace.</div>
+ <div class="tooltip">
+ <h3>Drag to Install!</h3>
+ Drag to your running Eclipse workspace.
+ </div>
</a>
</div>
</li>
</ul>
<p><a href="//marketplace.eclipse.org" class="btn btn-info">Marketplace</a></p>
</div>
-
<div class="col-md-6 three gs-item">
<div class="circle">3</div>
<h1>Read Doc</h1>
@@ -81,7 +101,6 @@
<li><a href="content/eclipse-ide-keybindings.pdf">Eclipse IDE Keybindings</a></li>
</ul>
</div>
-
<div class="col-md-6 four gs-item">
<div class="circle">4</div>
<h1>Get Help</h1>
@@ -94,6 +113,5 @@
<li>Investigate paid support options with <a href="http://lts.eclipse.org">Long Term Support</a>.</li>
</ul>
</div>
-
</div>
</div>
\ No newline at end of file
diff --git a/index.php b/index.php
index c96b9cc..1745fd7 100644
--- a/index.php
+++ b/index.php
@@ -1,44 +1,32 @@
<?php
-/*******************************************************************************
- * Copyright (c) 2014 Eclipse Foundation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://eclipse.org/legal/epl-v10.html
+/**
+ * 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 implementation
- *******************************************************************************/
+ * Christopher Guindon (Eclipse Foundation) - initial API and implementation
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ */
- require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
- require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php");
- require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php");
+require_once ($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
- require_once($_SERVER['DOCUMENT_ROOT'] . "/downloads/downloads/controller.compare.php");
+$App = new App();
+$Theme = $App->getThemeClass();
- $App = new App();
- $Nav = new Nav();
- $Menu = new Menu();
+// Begin: page-specific settings
+$pageTitle = "Getting Started with Eclipse";
+$Theme->setPageTitle($pageTitle);
+$Theme->setPageKeywords("eclipse resources, courses, books, events, plug-ins, Getting Started with Eclipse, help eclipse, eclipse documentation links, Get Involved with Eclipse, support eclipse");
+$Theme->setPageAuthor("Christopher Guindon");
- # Begin: page-specific settings. Change these.
- $pageTitle = "Getting Started with Eclipse";
- $pageKeywords = "eclipse resources, courses, books, events, plug-ins, Getting Started with Eclipse, help eclipse, eclipse documentation links, Get Involved with Eclipse, support eclipse";
- $pageAuthor = "Christopher Guindon";
+// Place your html content in a file called content/en_pagename.php
+ob_start();
+include("content/en_" . $App->getScriptName());
+$html = ob_get_clean();
- $Packages = new CompareController($App);
- $Packages->setPrefixPackage('release');
- $standard = $Packages->getPackages('java-package');
-
- // Provide as helpful a link as possible into Bugzilla.
- // Assume that the user is concerned with IDE bugs and point them to the EPP product.
- $bugzillaLink = "https://bugs.eclipse.org/bugs/enter_bug.cgi?product=EPP";
-
- // Place your html content in a file called content/en_pagename.php
- ob_start();
- include("content/en_" . $App->getScriptName());
- $html = ob_get_clean();
-
- # Generate the web page
- $App->Promotion = TRUE;
- //$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />');
- $App->generatePage("solstice", $Menu, NULL, $pageAuthor, $pageKeywords, $pageTitle, $html);
+$Theme->setHtml($html);
+$Theme->generatePage();
\ No newline at end of file