Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
babe5ca8
Commit
babe5ca8
authored
Sep 06, 2007
by
Jonathan.Wage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More tweaks to make manual function correctly, and look correct.
parent
4804aa0a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
16 deletions
+17
-16
actions.class.php
...te/apps/frontend/modules/manual/actions/actions.class.php
+2
-0
indexSuccess.php
...e/apps/frontend/modules/manual/templates/indexSuccess.php
+14
-13
xhtml.tpl.php
website/apps/frontend/modules/manual/templates/xhtml.tpl.php
+1
-3
No files found.
website/apps/frontend/modules/manual/actions/actions.class.php
View file @
babe5ca8
...
...
@@ -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
);
...
...
website/apps/frontend/modules/manual/templates/indexSuccess.php
View file @
babe5ca8
<div
class=
"content"
>
<h1>
Doctrine Manual
</h1>
<h1>
<?php
echo
link_to
(
'Doctrine Manual'
,
'@manual'
);
?>
</h1>
</div>
<?php
if
(
isset
(
$output
)
)
:
?>
<?php
echo
$output
;
?>
<?php
else
:
?>
<p>
There are several different versions of this manual available online:
<ul>
<li>
View as
<a
href=
"?one-page"
>
all chapters in one page
</a>
.
</li>
<li>
View as
<a
href=
"?chapter=
<?php
echo
$toc
->
findByIndex
(
'1.'
)
->
getPath
();
?>
"
>
one chapter per page
</a>
.
</li>
<li>
Download the
<a
href=
"?format=pdf"
>
PDF version
</a>
.
</li>
</ul>
</p>
<?php
endif
;
?>
<div
class=
"content"
id=
"manual"
>
<?php
if
(
isset
(
$output
)
)
:
?>
<?php
echo
$output
;
?>
<?php
else
:
?>
<p>
There are several different versions of this manual available online:
<ul>
<li>
View as
<a
href=
"?one-page"
>
all chapters in one page
</a>
.
</li>
<li>
View as
<a
href=
"?chapter=
<?php
echo
$toc
->
findByIndex
(
'1.'
)
->
getPath
();
?>
"
>
one chapter per page
</a>
.
</li>
<li>
Download the
<a
href=
"?format=pdf"
>
PDF version
</a>
.
</li>
</ul>
</p>
<?php
endif
;
?>
</div>
<?php
slot
(
'right'
);
?>
<h2>
Table of Contents
</h2>
...
...
website/apps/frontend/modules/manual/templates/xhtml.tpl.php
View file @
babe5ca8
<div
id=
"manual"
>
%CONTENT%
</div>
\ No newline at end of file
%
CONTENT
%
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment