blob: f61ada0b2d0e7b1c22290fa8af1b62be960a4de6 [file] [log] [blame]
<?php
/**
* *****************************************************************************
* Copyright (c) 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://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christopher Guindon (Eclipse Foundation) - Initial implementation
* *****************************************************************************
*/
require_once ('baseTheme.class.php');
class Solstice extends baseTheme {
/**
* Constructor
*/
public function __construct($App = NULL) {
$this->setTheme('solstice');
parent::__construct($App);
$this->setAttributes('header-left', 'col-sm-8 col-md-6 col-lg-5');
$this->setAttributes('main-menu-wrapper', 'col-sm-14 col-md-16 col-lg-19 reset');
$this->setAttributes('header-right', 'col-sm-10 col-md-8 col-lg-5 hidden-print hidden-xs pull-right');
$this->setAttributes('footer1', 'col-sm-offset-1 col-xs-11 col-sm-7 col-md-6 col-md-offset-0 hidden-print');
$this->setAttributes('footer2', 'col-sm-offset-1 col-xs-11 col-sm-7 col-md-6 col-md-offset-0 hidden-print');
$this->setAttributes('footer3', 'col-sm-offset-1 col-xs-11 col-sm-7 col-md-6 col-md-offset-0 hidden-print');
$this->setAttributes('footer4', 'col-sm-offset-1 col-xs-11 col-sm-7 col-md-6 col-md-offset-0 hidden-print');
}
/**
* Get Html of Footer Region 1
*/
public function getFooterRegion1() {
return <<<EOHTML
<h2 class="section-title">Eclipse Foundation</h2>
<ul class="nav">
<li><a href="{$this->getBaseUrl()}org/">About us</a></li>
<li><a href="{$this->getBaseUrl()}org/foundation/contact.php">Contact Us</a></li>
<li><a href="{$this->getBaseUrl()}donate">Donate</a></li>
<li><a href="{$this->getBaseUrl()}org/documents/">Governance</a></li>
<li><a href="{$this->getBaseUrl()}artwork/">Logo and Artwork</a></li>
<li><a href="{$this->getBaseUrl()}org/foundation/directors.php">Board of Directors</a></li>
</ul>
EOHTML;
}
/**
* Get Html of Footer Region 2
*/
public function getFooterRegion2() {
return <<<EOHTML
<h2 class="section-title">Legal</h2>
<ul class="nav">
<li><a href="{$this->getBaseUrl()}legal/privacy.php">Privacy Policy</a></li>
<li><a href="{$this->getBaseUrl()}legal/termsofuse.php">Terms of Use</a></li>
<li><a href="{$this->getBaseUrl()}legal/copyright.php">Copyright Agent</a></li>
<li><a href="{$this->getBaseUrl()}org/documents/epl-v10.php">Eclipse Public License </a></li>
<li><a href="{$this->getBaseUrl()}legal/">Legal Resources </a></li>
</ul>
EOHTML;
}
/**
* Get Html of Footer Region 3
*/
public function getFooterRegion3() {
return <<<EOHTML
<h2 class="section-title">Useful Links</h2>
<ul class="nav">
<li><a href="https://bugs.eclipse.org/bugs/">Report a Bug</a></li>
<li><a href="//help.eclipse.org/">Documentation</a></li>
<li><a href="{$this->getBaseUrl()}contribute/">How to Contribute</a></li>
<li><a href="{$this->getBaseUrl()}mail/">Mailing Lists</a></li>
<li><a href="{$this->getBaseUrl()}forums/">Forums</a></li>
<li><a href="//marketplace.eclipse.org">Marketplace</a></li>
</ul>
EOHTML;
}
/**
* Get Html of Footer Region 4
*/
public function getFooterRegion4() {
return <<<EOHTML
<h2 class="section-title">Other</h2>
<ul class="nav">
<li><a href="{$this->getBaseUrl()}ide/">IDE and Tools</a></li>
<li><a href="{$this->getBaseUrl()}projects">Community of Projects</a></li>
<li><a href="{$this->getBaseUrl()}org/workinggroups/">Working Groups</a></li>
</ul>
<ul class="list-inline social-media">
<li><a href="https://twitter.com/EclipseFdn"><i class="fa fa-twitter-square"></i></a></li>
<li><a href="https://plus.google.com/+Eclipse"><i class="fa fa-google-plus-square"></i></a></li>
<li><a href="https://www.facebook.com/eclipse.org"><i class="fa fa-facebook-square"></i> </a></li>
<li><a href="https://www.youtube.com/user/EclipseFdn"><i class="fa fa-youtube-square"></i></a></li>
<li><a href="https://www.linkedin.com/company/eclipse-foundation"><i class="fa fa-linkedin-square"></i></a></li>
</ul>
EOHTML;
}
/**
* Get Html of Footer Region 5
*/
public function getFooterRegion5() {
return <<<EOHTML
<div id="copyright" class="col-sm-offset-1 col-sm-14 col-md-24 col-md-offset-0">
<span class="hidden-print">{$this->getLogo('eclipse_white', $this->getEclipseUrl())}</span>
<p id="copyright-text">{$this->getCopyrightNotice()}</p>
</div>
EOHTML;
}
}