From: <ice...@us...> - 2012-06-24 14:39:46
|
Revision: 5458 http://web-erp.svn.sourceforge.net/web-erp/?rev=5458&view=rev Author: icedlava Date: 2012-06-24 14:39:40 +0000 (Sun, 24 Jun 2012) Log Message: ----------- Fix TOC manual link - relative. Also style changes coding guidelines one true brace. Modified Paths: -------------- trunk/doc/Manual/ManualContents.php trunk/doc/Manual/ManualHeader.html trunk/doc/Manual/ManualOutline.php Modified: trunk/doc/Manual/ManualContents.php =================================================================== --- trunk/doc/Manual/ManualContents.php 2012-06-24 09:38:38 UTC (rev 5457) +++ trunk/doc/Manual/ManualContents.php 2012-06-24 14:39:40 UTC (rev 5458) @@ -1,5 +1,5 @@ <?php -/* $Id: ManualContents.php */ +/* $Id: ManualContents.php 5450 2009-12-24 15:28:49Z icedlava $ */ /* This table of contents allows the choice to display one section or select multiple sections to format for print. Selecting multiple sections is for printing @@ -44,7 +44,7 @@ } echo "Table of Contents</h1></li>\n"; foreach ($TOC_Array['TableOfContents'] as $Title => $SubLinks) { - + $Name = 'Select' . $Title; echo "<ul>\n"; if (!isset($_POST['Submit'])) { @@ -74,9 +74,11 @@ foreach ($TOC_Array['TableOfContents'] as $Name=>$FullName){ $PostName = 'Select' . $Name; - if (($_GET['ViewTopic'] == $Name) OR (isset($_POST[$PostName]))) { + if (($_GET['ViewTopic'] == $Name) OR (isset($_POST[$PostName]))) + { $ManualPage = 'Manual'.$Name.'.html'; - if (file_exists($ManualPage)) { + if (file_exists($ManualPage)) + { include($ManualPage); } } Modified: trunk/doc/Manual/ManualHeader.html =================================================================== --- trunk/doc/Manual/ManualHeader.html 2012-06-24 09:38:38 UTC (rev 5457) +++ trunk/doc/Manual/ManualHeader.html 2012-06-24 14:39:40 UTC (rev 5458) @@ -8,7 +8,7 @@ <body> <div id="pagetitle">webERP Manual</div> <div class="right"> - <a id="top"> </a><a class="minitext" href="/doc/Manual/ManualContents.php">☜ Table of Contents</a> + <a id="top"> </a><a class="minitext" href="<?php echo htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8'); ?>">☜ Table of Contents</a> <br /> <a class="minitext" href="#bottom">⬇Go to Bottom</a> </div> Modified: trunk/doc/Manual/ManualOutline.php =================================================================== --- trunk/doc/Manual/ManualOutline.php 2012-06-24 09:38:38 UTC (rev 5457) +++ trunk/doc/Manual/ManualOutline.php 2012-06-24 14:39:40 UTC (rev 5458) @@ -1,5 +1,5 @@ <?php -/* $Id: ManualOutline.php */ +/* $Id: ManualOutline.php 5450 2009-12-24 15:28:49Z icedlava $ */ /* * This is the outline of the webERP manual **/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |