Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerititan2017-04-05 08:50:40 -0400
committererititan2017-04-05 08:50:40 -0400
commit8c3d023b97d3359d2b7e8ab8e4a7b26d7c3a5edc (patch)
tree536c1045bb7d6307fba36c51997824145cdfd1cc
parent71826b1693cd8c6baaa2d300a9c248ba31791aa5 (diff)
downloadtitan-8c3d023b97d3359d2b7e8ab8e4a7b26d7c3a5edc.tar.gz
titan-8c3d023b97d3359d2b7e8ab8e4a7b26d7c3a5edc.tar.xz
titan-8c3d023b97d3359d2b7e8ab8e4a7b26d7c3a5edc.zip
test
-rw-r--r--index.php67
-rw-r--r--index.php.bak1
-rw-r--r--index_for_custom_site.php66
3 files changed, 67 insertions, 67 deletions
diff --git a/index.php b/index.php
index 486353c..a3739bb 100644
--- a/index.php
+++ b/index.php
@@ -1 +1,66 @@
-<?php header('Location: http://eclipse.org/projects/project.php?id=tools.titan'); ?> \ No newline at end of file
+<?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
+ *
+ * Contributors:
+ * Christopher Guindon (Eclipse Foundation) - Initial implementation
+ *******************************************************************************/
+
+ 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();
+
+ # Shared variables/configs for all pages of your website.
+ require_once('_projectCommon.php');
+
+ # Begin: page-specific settings. Change these.
+ $pageTitle = "Starterkit Template";
+ $pageKeywords = "Add maximal 20 keywords and seperate them from each other by a comma en a space.";
+ $pageAuthor = "Christopher Guindon";
+
+ # Initialize custom solstice $variables.
+ $variables = array();
+
+ # Add classes to <body>. (String)
+ $variables['body_classes'] = '';
+
+ # Insert custom HTML in the breadcrumb region. (String)
+ $variables['breadcrumbs_html'] = "";
+
+ # Hide the breadcrumbs. (Bool)
+ $variables['hide_breadcrumbs'] = FALSE;
+
+ # Insert HTML before the left nav. (String)
+ $variables['leftnav_html'] = '';
+
+ # Update the main container class (String)
+ $variables['main_container_classes'] = 'container';
+
+ # Insert HTML after opening the main content container, before the left sidebar. (String)
+ $variables['main_container_html'] = '';
+
+ # Set Solstice theme variables. (Array)
+ $App->setThemeVariables($variables);
+
+ # Place your html content in a file called content/en_pagename.php
+ ob_start();
+ include("content/en_" . $App->getScriptName());
+ $html = ob_get_clean();
+
+ # Insert extra html before closing </head> tag.
+ //$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="style.css" media="screen" />');
+
+ # Insert script/html before closing </body> tag.
+ //$App->AddExtraJSFooter('<script type="text/javascript" src="script.min.js"></script>');
+
+ # Generate the web page
+ $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+
diff --git a/index.php.bak b/index.php.bak
new file mode 100644
index 0000000..486353c
--- /dev/null
+++ b/index.php.bak
@@ -0,0 +1 @@
+<?php header('Location: http://eclipse.org/projects/project.php?id=tools.titan'); ?> \ No newline at end of file
diff --git a/index_for_custom_site.php b/index_for_custom_site.php
deleted file mode 100644
index a3739bb..0000000
--- a/index_for_custom_site.php
+++ /dev/null
@@ -1,66 +0,0 @@
-<?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
- *
- * Contributors:
- * Christopher Guindon (Eclipse Foundation) - Initial implementation
- *******************************************************************************/
-
- 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();
-
- # Shared variables/configs for all pages of your website.
- require_once('_projectCommon.php');
-
- # Begin: page-specific settings. Change these.
- $pageTitle = "Starterkit Template";
- $pageKeywords = "Add maximal 20 keywords and seperate them from each other by a comma en a space.";
- $pageAuthor = "Christopher Guindon";
-
- # Initialize custom solstice $variables.
- $variables = array();
-
- # Add classes to <body>. (String)
- $variables['body_classes'] = '';
-
- # Insert custom HTML in the breadcrumb region. (String)
- $variables['breadcrumbs_html'] = "";
-
- # Hide the breadcrumbs. (Bool)
- $variables['hide_breadcrumbs'] = FALSE;
-
- # Insert HTML before the left nav. (String)
- $variables['leftnav_html'] = '';
-
- # Update the main container class (String)
- $variables['main_container_classes'] = 'container';
-
- # Insert HTML after opening the main content container, before the left sidebar. (String)
- $variables['main_container_html'] = '';
-
- # Set Solstice theme variables. (Array)
- $App->setThemeVariables($variables);
-
- # Place your html content in a file called content/en_pagename.php
- ob_start();
- include("content/en_" . $App->getScriptName());
- $html = ob_get_clean();
-
- # Insert extra html before closing </head> tag.
- //$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="style.css" media="screen" />');
-
- # Insert script/html before closing </body> tag.
- //$App->AddExtraJSFooter('<script type="text/javascript" src="script.min.js"></script>');
-
- # Generate the web page
- $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
-

Back to the top