From babe5ca85a44b7075b443da42c6534b8ebdf28f1 Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Thu, 6 Sep 2007 18:36:27 +0000 Subject: [PATCH] More tweaks to make manual function correctly, and look correct. --- .../modules/manual/actions/actions.class.php | 2 ++ .../modules/manual/templates/indexSuccess.php | 27 ++++++++++--------- .../modules/manual/templates/xhtml.tpl.php | 4 +-- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/website/apps/frontend/modules/manual/actions/actions.class.php b/website/apps/frontend/modules/manual/actions/actions.class.php index 5191ad2ce..956f29816 100644 --- a/website/apps/frontend/modules/manual/actions/actions.class.php +++ b/website/apps/frontend/modules/manual/actions/actions.class.php @@ -305,6 +305,8 @@ class manualActions extends sfActions $title = $this->renderer->getOption('title'); $this->title = $title; + + $this->renderer->setOption('url_prefix', '?one-page'); } else { $this->output = $cache->fetch($cacheId); diff --git a/website/apps/frontend/modules/manual/templates/indexSuccess.php b/website/apps/frontend/modules/manual/templates/indexSuccess.php index a4d81b153..bfe5ee112 100644 --- a/website/apps/frontend/modules/manual/templates/indexSuccess.php +++ b/website/apps/frontend/modules/manual/templates/indexSuccess.php @@ -1,19 +1,20 @@
-

Doctrine Manual

+

- - - - -

There are several different versions of this manual available online: -

-

- +
+ + + +

There are several different versions of this manual available online: +

+

+ +

Table of Contents

diff --git a/website/apps/frontend/modules/manual/templates/xhtml.tpl.php b/website/apps/frontend/modules/manual/templates/xhtml.tpl.php index c83d67e45..f14259805 100644 --- a/website/apps/frontend/modules/manual/templates/xhtml.tpl.php +++ b/website/apps/frontend/modules/manual/templates/xhtml.tpl.php @@ -1,3 +1 @@ -
- %CONTENT% -
\ No newline at end of file +%CONTENT% \ No newline at end of file