534384: The General Data Protection Regulation (GDPR) at the Eclipse
Foundation

Attempt to fix transformation zoo

Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=534384
diff --git a/atlTransformations/_index.html b/atlTransformations/_index.html
new file mode 100644
index 0000000..3f6a770
--- /dev/null
+++ b/atlTransformations/_index.html
@@ -0,0 +1,32 @@
+<div id="primaryLinks">
+	<h3>Primary Links</h3>
+	<ul>
+		<li>
+			<a id="buttonDownload" href="../downloads" title="Download">
+				<strong>Download</strong> Eclipse Distribution, Update Site, Dropins
+			</a>
+		</li>
+		<li>
+			<a id="buttonDocumentation" href="../documentation" title="Documentation">
+				<strong>Documentation</strong> Tutorials, Examples, Videos, Reference
+			</a>
+		</li>
+		<li>
+			<a id="buttonSupport" href="../support" title="Support">
+				<strong>Support</strong> Bug Tracker, Newsgroup, Support
+			</a>
+		</li>
+		<li>
+			<a id="buttonInvolved" href="../developers" title="Getting Involved">
+				<strong>Getting Involved</strong> Git, Workspace Setup, Wiki, Committers
+			</a>
+		</li>
+	</ul>
+</div>
+
+<div id="midcolumn">
+
+	<h1>ATL Transformations</h1>
+
+	%%ATLTRANSFORMATIONS%%
+</div>
diff --git a/atlTransformations/index.php b/atlTransformations/index.php
index c153b70..d42e93e 100644
--- a/atlTransformations/index.php
+++ b/atlTransformations/index.php
@@ -1,67 +1,33 @@
-<?php  																														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"); 	$App 	= new App();	$Nav	= new Nav();	$Menu 	= new Menu();		include($App->getProjectCommon());    # All on the same line to unclutter the user's desktop'

-

-	#*****************************************************************************

-	#

-	# index.php

-	#

-	# Author: 		Freddy Allilaire

-	# Date:			2005-12-07

-	#

-	# Description: Type your page comments here - these are not sent to the browser

-	#

-	#

-	#****************************************************************************

-

-	#

-	# Begin: page-specific settings.  Change these. 

-	$pageTitle 		= "ATL Transformations";

-	$pageKeywords	= "ATL, model transformation, model, metamodel, KM3";

-	$pageAuthor		= "Freddy Allilaire";

-

-	# End: page-specific settings

-	#

-	

-	include('atlTransformations_script.php');

-	$atlTransformations = getAtlTransformations();

-	

-	# Paste your HTML content between the EOHTML markers!	

-	$html = <<<EOHTML

-

-<div id="primaryLinks">

-	<h3>Primary Links</h3>

-	<ul>

-		<li>

-			<a id="buttonDownload" href="../downloads" title="Download">

-				<strong>Download</strong> Eclipse Distribution, Update Site, Dropins

-			</a>

-		</li>

-		<li>

-			<a id="buttonDocumentation" href="../documentation" title="Documentation">

-				<strong>Documentation</strong> Tutorials, Examples, Videos, Reference Documentation

-			</a>

-		</li>

-		<li>

-			<a id="buttonSupport" href="../support" title="Support">

-				<strong>Support</strong> Bug Tracker, Newsgroup, Support

-			</a>

-		</li>

-		<li>

-			<a id="buttonInvolved" href="../developers" title="Getting Involved">

-				<strong>Getting Involved</strong> Git, Workspace Setup, Wiki, Committers

-			</a>

-		</li>

-	</ul>

-</div>

-

-	<div id="midcolumn">

-	

-		<h1>$pageTitle</h1>

-

-		$atlTransformations

-	</div>

-

-EOHTML;

-

-	# Generate the web page

-	$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);

-?>

+<?php  																														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"); 	$App 	= new App();	$Nav	= new Nav();	$Menu 	= new Menu();		include($App->getProjectCommon());    # All on the same line to unclutter the user's desktop'
+
+	#*****************************************************************************
+	#
+	# index.php
+	#
+	# Author: 		Freddy Allilaire
+	# Date:			2005-12-07
+	#
+	# Description: Type your page comments here - these are not sent to the browser
+	#
+	#
+	#****************************************************************************
+
+	include('atlTransformations_script.php');
+
+	#
+	# Begin: page-specific settings.  Change these. 
+	$pageTitle 		= "ATL Transformations";
+	$pageKeywords	= "ATL, model transformation, model, metamodel, KM3";
+	$pageAuthor		= "Freddy Allilaire";
+
+	# End: page-specific settings
+	#
+	
+	$html = file_get_contents('_index.html');
+	
+	$atlTransformations = getAtlTransformations();
+	$html = str_replace("%%ATLTRANSFORMATIONS%%", $atlTransformations, $html);
+
+	# Generate the web page
+	$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>