blob: 6f2d4fa8d8b417fba61cf4c4fcae8f125b3250cb [file] [log] [blame]
<?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'
#*****************************************************************************
#
# template.php
#
# Author: Denis Roy
# Date: 2005-06-16
#
# Description: Type your page comments here - these are not sent to the browser
#
#
#****************************************************************************
#
# Begin: page-specific settings. Change these.
$pageTitle = "Tigerstripe Workbench v2.2.4 Online Help";
$pageKeywords = "Type, page, keywords, here";
$pageAuthor = "Eric Dillon";
# Add page-specific Nav bars here
# Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
# $Nav->addNavSeparator("My Page Links", "downloads.php");
# $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
# $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
# End: page-specific settings
#
// Load the XML source
$xml = new DOMDocument;
$xml->load('toc.xml');
$xsl = new DOMDocument;
$xsl->load('web.xsl');
// Configure the transformer
$proc = new XSLTProcessor;
$proc->importStyleSheet($xsl); // attach the xsl rules
$toc = $proc->transformToXML($xml);
# Paste your HTML content between the EOHTML markers!
$html = <<<EOHTML
<div id="maincontent">
<div id="midcolumn">
<h1>$pageTitle</h1>
<p>This page presents the index for the online help of Tigerstripe Workbench. Please note that this content is also accessible from the Help->Help Contents menu entry in Eclipse after Tigerstripe Workbench has been installed.</p>
<p>Should you have further questions, visit our <a href="http://wiki.eclipse.org/Tigerstripe_FAQ">FAQ</a> or post them in the <a href="http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.tigerstripe">eclipse.technology.tigerstripe</a> newsgroup.</p>
<div class="homeitem3">
$toc
</div>
</div>
<div id="rightcolumn">
<div class="sideitem">
<h6>Related links</h6>
<ul>
<li><a href="http://wiki.eclipse.org/Tigerstripe_FAQ">FAQ</a></li>
</ul>
</div>
</div>
</div>
EOHTML;
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>