blob: 6f2d4fa8d8b417fba61cf4c4fcae8f125b3250cb [file] [log] [blame]
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/"); require_once($_SERVER['DOCUMENT_ROOT'] . "/"); require_once($_SERVER['DOCUMENT_ROOT'] . "/"); $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, 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", "", "_blank", 3);
# End: page-specific settings
// Load the XML source
$xml = new DOMDocument;
$xsl = new DOMDocument;
// 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">
<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="">FAQ</a> or post them in the <a href=""></a> newsgroup.</p>
<div class="homeitem3">
<div id="rightcolumn">
<div class="sideitem">
<h6>Related links</h6>
<li><a href="">FAQ</a></li>
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);