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
fd2a85b5
Commit
fd2a85b5
authored
Sep 06, 2007
by
Jonathan.Wage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes to get manual working.
parent
88ad2447
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
71 deletions
+23
-71
actions.class.php
...te/apps/frontend/modules/manual/actions/actions.class.php
+2
-0
indexSuccess.php
...e/apps/frontend/modules/manual/templates/indexSuccess.php
+12
-8
xhtml.tpl.php
website/apps/frontend/modules/manual/templates/xhtml.tpl.php
+3
-62
layout.php
website/apps/frontend/templates/layout.php
+1
-1
manual.css
website/web/css/manual.css
+5
-0
No files found.
website/apps/frontend/modules/manual/actions/actions.class.php
View file @
fd2a85b5
...
...
@@ -272,6 +272,8 @@ class manualActions extends sfActions
case
'Xhtml'
:
default
:
$this
->
renderer
->
setOption
(
'template'
,
file_get_contents
(
dirname
(
dirname
(
__FILE__
))
.
DIRECTORY_SEPARATOR
.
'templates/xhtml.tpl.php'
));
$viewIndex
=
true
;
if
(
isset
(
$_GET
[
'one-page'
]))
{
...
...
website/apps/frontend/modules/manual/templates/indexSuccess.php
View file @
fd2a85b5
<h1>
Doctrine Manual
</h1>
<div
class=
"content"
>
<h1>
Doctrine Manual
</h1>
</div>
<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
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
;
?>
<?php
slot
(
'right'
);
?>
<h2>
Table of Contents
</h2>
<?php
echo
$renderer
->
renderToc
();
?>
<?php
end_slot
();
?>
\ No newline at end of file
website/apps/frontend/modules/manual/templates/xhtml.tpl.php
View file @
fd2a85b5
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"en"
lang=
"en"
>
<head>
<title>
%TITLE%
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"description"
content=
"%SUBJECT%"
/>
<meta
name=
"keywords"
content=
"%KEYWORDS"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"styles/basic.css"
media=
"screen"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"styles/print.css"
media=
"print"
/>
<!--[if gte IE 5.5]>
<![if lt IE 7]>
<link rel="stylesheet" type="text/css" href="styles/iefix.css"/>
<![endif]>
<![endif]-->
<script
type=
"text/javascript"
>
//
<!
[
CDATA
[
var
tocHideText
=
"
hide
"
;
var
tocShowText
=
"
show
"
;
var
tocStickyText
=
"
sticky
"
;
var
tocUnstickyText
=
'
unstick
'
;
//]]>
</script>
<script
type=
"text/javascript"
src=
"scripts/mootools.v1.11.js"
></script>
<script
type=
"text/javascript"
src=
"scripts/tree.js"
></script>
<script
type=
"text/javascript"
src=
"scripts/toc.js"
></script>
</head>
<body>
<div
id=
"wrap"
>
<div
id=
"sidebar"
>
<div
id=
"table-of-contents"
>
<h1>
Table of Contents
</h1>
%TOC%
<p><a
href=
"."
>
Index
</a></p>
</div>
</div>
<div
id=
"content"
>
%CONTENT%
</div>
</div>
</body>
</html>
<div
id=
"manual"
>
%CONTENT%
</div>
\ No newline at end of file
website/apps/frontend/templates/layout.php
View file @
fd2a85b5
...
...
@@ -36,7 +36,7 @@
</div>
<div
id=
"footer"
>
<
h1>
Copyright Doctrine 2007
</h1
>
<
?php
echo
get_partial
(
'global/footer'
);
?
>
</div>
</div>
...
...
website/web/css/manual.css
View file @
fd2a85b5
...
...
@@ -199,4 +199,9 @@ ul.tree {
#toc-toggles
a
{
margin-left
:
0.5em
;
}
#right
ul
li
{
list-style-type
:
none
;
}
\ 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