Bug 487393 - Create new path for CLA
Change-Id: Iba33ef9fc6b76c280b89bbad35ffd251359a906f
Signed-off-by: Eric Poirier <eric@eclipse.org>
diff --git a/cla/index.php b/cla/index.php
new file mode 100644
index 0000000..eed00bc
--- /dev/null
+++ b/cla/index.php
@@ -0,0 +1,18 @@
+<?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://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eric Poirier (Eclipse Foundation) - Initial implementation
+ *******************************************************************************/
+$domain = "https://projects.eclipse.org";
+$url = array (
+ 'path' => $domain . '/user/sign/cla/',
+ 'option' => '',
+);
+header('Location: ' . $url['path'] . $url['option'],'302');
+exit();
\ No newline at end of file
diff --git a/content/en_index.php b/content/en_index.php
index d097640..ce2d769 100644
--- a/content/en_index.php
+++ b/content/en_index.php
@@ -29,7 +29,7 @@
<ul class="fa-ul">
<li><i class="fa fa-li fa-chevron-circle-right orange"></i> <a href="http://bugs.eclipse.org/bugs/query.cgi">Is there some bug</a> that really bothers you? Instead of just reporting it, fix it. And there are <a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=NEW&bug_status=REOPENED&keywords=helpwanted%2C%20&list_id=9664295">many bugs marked with helpwanted</a>.
<ul class="">
- <li><i class="fa fa-li fa-chevron-circle-right orange"></i> First sign a <a href="https://projects.eclipse.org/user/sign/cla">Contributor License Agreement</a>.</li>
+ <li><i class="fa fa-li fa-chevron-circle-right orange"></i> First sign a <a href="<?php print $App->getCurrentURL(); ?>cla">Contributor License Agreement</a>.</li>
<li>To learn how the bug-fixing process works, check out the <a href="http://wiki.eclipse.org/Bug_Reporting_FAQ">bug reporting FAQ</a>.</li>
<li>To learn about the lifecycle of bugzilla entries, check out the <a href="http://wiki.eclipse.org/Development_Resources/HOWTO/Bugzilla_Use">development process</a>.</li>
</ul>