Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BRIC
dokuwiki
Commits
92795d04
Commit
92795d04
authored
19 years ago
by
andi
Browse files
Options
Downloads
Patches
Plain Diff
highlight patch adjustments
darcs-hash:20050427180437-9977f-5a3aa516a1522e342358d7829aad1163aaf97051.gz
parent
40eb54bb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
inc/parser/xhtml.php
+10
-13
10 additions, 13 deletions
inc/parser/xhtml.php
inc/template.php
+2
-2
2 additions, 2 deletions
inc/template.php
with
12 additions
and
15 deletions
inc/parser/xhtml.php
+
10
−
13
View file @
92795d04
...
...
@@ -426,9 +426,9 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$link
[
'suf'
]
=
''
;
// highlight link to current page
if
(
$id
==
$ID
)
{
$link
[
'pre'
]
=
'<s
trong
>'
;
$link
[
'suf'
]
=
'</s
trong
>'
;
}
$link
[
'pre'
]
=
'<s
pan class="curid"
>'
;
$link
[
'suf'
]
=
'</s
pan
>'
;
}
$link
[
'more'
]
=
'onclick="return svchk()" onkeypress="return svchk()"'
;
$link
[
'class'
]
=
$class
;
$link
[
'url'
]
=
wl
(
$id
);
...
...
@@ -916,9 +916,6 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
return
htmlspecialchars
(
$string
);
}
/**
* @TODO Tuning needed - e.g. utf8 strtolower ?
*/
function
_headerToLink
(
$title
)
{
return
str_replace
(
':'
,
''
,
cleanID
(
$title
));
}
...
...
@@ -936,13 +933,13 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$isImage
=
FALSE
;
if
(
is_null
(
$title
)
)
{
if
(
$conf
[
'useheading'
]
&&
$id
)
{
$heading
=
p_get_first_heading
(
$id
);
if
(
$heading
)
{
return
$this
->
_xmlEntities
(
$heading
);
}
}
return
$this
->
_xmlEntities
(
$default
);
if
(
$conf
[
'useheading'
]
&&
$id
)
{
$heading
=
p_get_first_heading
(
$id
);
if
(
$heading
)
{
return
$this
->
_xmlEntities
(
$heading
);
}
}
return
$this
->
_xmlEntities
(
$default
);
}
else
if
(
is_string
(
$title
)
)
{
...
...
This diff is collapsed.
Click to expand it.
inc/template.php
+
2
−
2
View file @
92795d04
...
...
@@ -358,9 +358,9 @@ function tpl_breadcrumbs(){
foreach
(
$crumbs
as
$id
=>
$name
){
$i
++
;
print
' » '
;
if
(
$i
==
$last
)
print
'<s
trong
>'
;
if
(
$i
==
$last
)
print
'<s
pan class="curid"
>'
;
tpl_link
(
wl
(
$id
),
$name
,
'class="breadcrumbs" title="'
.
$id
.
'"'
);
if
(
$i
==
$last
)
print
'</s
trong
>'
;
if
(
$i
==
$last
)
print
'</s
pan
>'
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment