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
bb6d574e
Commit
bb6d574e
authored
Feb 06, 2007
by
runa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add the corresponding <title> to manual pages
parent
6f4b4e0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
documentation.php
manual/documentation.php
+15
-6
top.php
manual/top.php
+1
-1
No files found.
manual/documentation.php
View file @
bb6d574e
<?php
require_once
(
"highlight.php"
);
error_reporting
(
E_ALL
);
include
(
"top.php"
);
$h
=
new
PHP_Highlight
();
function
render
(
$title
,
$t
,
$e
)
{
...
...
@@ -568,6 +568,19 @@ $menu = array('Getting started' =>
))
);
if
(
!
empty
(
$_REQUEST
[
'index'
])){
$ex
=
explode
(
"."
,
$_REQUEST
[
"index"
]);
$paths
=
array2path
(
$menu
);
if
(
!
isset
(
$paths
[
$ex
[
0
]])){
$title
=
''
;
}
else
{
$title
=
" / "
.
$paths
[
$ex
[
0
]];
}
}
else
{
$title
=
''
;
}
include
(
"top.php"
);
?>
...
...
@@ -649,11 +662,7 @@ $menu = array('Getting started' =>
}
else
{
$i
=
1
;
$ex
=
explode
(
"."
,
$_REQUEST
[
"index"
]);
$paths
=
array2path
(
$menu
);
// $paths was generated before, to display a correct document title
if
(
!
isset
(
$paths
[
$ex
[
0
]]))
exit
;
...
...
manual/top.php
View file @
bb6d574e
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>
Doctrine ORM Framework
</TITLE>
<TITLE>
Doctrine ORM Framework
<?=
$title
?>
</TITLE>
<META
HTTP-EQUIV=
"Content-Type"
CONTENT=
"text/html; charset=iso-8859-1"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"styles/basic.css"
>
</HEAD>
...
...
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