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
f11c233f
Commit
f11c233f
authored
20 years ago
by
andi
Browse files
Options
Downloads
Patches
Plain Diff
style divs added
darcs-hash:20050114174058-9977f-10d666a7f688212ef7877fa0e19802a12a993e57.gz
parent
08ab002a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
inc/html.php
+57
-53
57 additions, 53 deletions
inc/html.php
with
57 additions
and
53 deletions
inc/html.php
+
57
−
53
View file @
f11c233f
...
...
@@ -286,7 +286,7 @@ function html_acl($perm){
}
/**
* Displays the page header and calls html_head()
* Displays the
overall
page header and calls html_head()
*
* @author Andreas Gohr <andi@splitbrain.org>
*/
...
...
@@ -300,40 +300,42 @@ function html_header(){
<body>
<div
class=
"all"
>
<?
@
include
(
"includes/topheader.html"
);
html_msgarea
();
@
include
(
"includes/topheader.html"
)
?>
<div
class=
"header"
>
<div
class=
"pagename"
>
[[
<a
href=
"
<?=
wl
(
$ID
,
'do=backlink'
)
?>
"
onclick=
"return svchk()"
onkeypress=
"return svchk()"
>
<?=
$ID
?>
</a>
]]
<div
class=
"stylehead"
>
<div
class=
"header"
>
<div
class=
"pagename"
>
[[
<a
href=
"
<?=
wl
(
$ID
,
'do=backlink'
)
?>
"
onclick=
"return svchk()"
onkeypress=
"return svchk()"
>
<?=
$ID
?>
</a>
]]
</div>
<div
class=
"logo"
>
<a
href=
"
<?=
wl
()
?>
"
name=
"top"
accesskey=
"h"
title=
"[ALT+H]"
onclick=
"return svchk()"
onkeypress=
"return svchk()"
>
<?=
$conf
[
'title'
]
?>
</a>
</div>
</div>
<div
class=
"logo"
>
<a
href=
"
<?=
wl
()
?>
"
name=
"top"
accesskey=
"h"
title=
"[ALT+H]"
onclick=
"return svchk()"
onkeypress=
"return svchk()"
>
<?=
$conf
[
'title'
]
?>
</a>
<?
@
include
(
"includes/header.html"
)
?>
<div
class=
"bar"
id=
"bar_top"
>
<div
class=
"bar-left"
id=
"bar_topleft"
>
<?=
html_editbutton
()
?>
<?=
html_btn
(
revs
,
$ID
,
'r'
,
array
(
'do'
=>
'revisions'
))
?>
</div>
<div
class=
"bar-right"
id=
"bar_topright"
>
<?=
html_btn
(
recent
,
''
,
'r'
,
array
(
'do'
=>
'recent'
))
?>
<form
action=
"
<?=
wl
()
?>
"
accept-charset=
"
<?=
$lang
[
'encoding'
]
?>
"
>
<input
type=
"hidden"
name=
"do"
value=
"search"
/>
<input
type=
"text"
name=
"id"
class=
"edit"
/>
<input
type=
"submit"
value=
"
<?=
$lang
[
'btn_search'
]
?>
"
class=
"button"
/>
</form>
</div>
</div>
</div>
<?
@
include
(
"includes/header.html"
)
?>
<div
class=
"bar"
id=
"bar_top"
>
<div
class=
"bar-left"
id=
"bar_topleft"
>
<?=
html_editbutton
()
?>
<?=
html_btn
(
revs
,
$ID
,
'r'
,
array
(
'do'
=>
'revisions'
))
?>
</div>
<div
class=
"bar-right"
id=
"bar_topright"
>
<?=
html_btn
(
recent
,
''
,
'r'
,
array
(
'do'
=>
'recent'
))
?>
<form
action=
"
<?=
wl
()
?>
"
accept-charset=
"
<?=
$lang
[
'encoding'
]
?>
"
>
<input
type=
"hidden"
name=
"do"
value=
"search"
/>
<input
type=
"text"
name=
"id"
class=
"edit"
/>
<input
type=
"submit"
value=
"
<?=
$lang
[
'btn_search'
]
?>
"
class=
"button"
/>
</form>
</div>
</div>
<?
flush
();
html_breadcrumbs
();
@
include
(
"includes/pageheader.html"
);
?>
<?
flush
();
html_breadcrumbs
();
@
include
(
"includes/pageheader.html"
);
?>
</div>
<div
class=
"page"
>
<!-- wikipage start -->
<?
...
...
@@ -401,29 +403,31 @@ function html_footer(){
<!-- wikipage stop -->
</div>
<div
class=
"clearer"
>
</div>
<?
flush
();
@
include
(
"includes/pagefooter.html"
);
html_metainfo
();
?>
<div
class=
"bar"
id=
"bar_bottom"
>
<div
class=
"bar-left"
id=
"bar_bottomleft"
>
<?=
html_editbutton
()
?>
<?=
html_btn
(
revs
,
$ID
,
'r'
,
array
(
'do'
=>
'revisions'
))
?>
</div>
<div
class=
"stylefoot"
>
<?
flush
();
@
include
(
"includes/pagefooter.html"
);
html_metainfo
();
?>
<div
class=
"bar"
id=
"bar_bottom"
>
<div
class=
"bar-left"
id=
"bar_bottomleft"
>
<?=
html_editbutton
()
?>
<?=
html_btn
(
revs
,
$ID
,
'r'
,
array
(
'do'
=>
'revisions'
))
?>
</div>
<div
class=
"bar-right"
id=
"bar_bottomright"
>
<?
if
(
$conf
[
'useacl'
]){
if
(
$_SERVER
[
'REMOTE_USER'
]){
print
html_btn
(
'logout'
,
$ID
,
''
,
array
(
'do'
=>
'logout'
,));
}
else
{
print
html_btn
(
'login'
,
$ID
,
''
,
array
(
'do'
=>
'login'
));
<div
class=
"bar-right"
id=
"bar_bottomright"
>
<?
if
(
$conf
[
'useacl'
]){
if
(
$_SERVER
[
'REMOTE_USER'
]){
print
html_btn
(
'logout'
,
$ID
,
''
,
array
(
'do'
=>
'logout'
,));
}
else
{
print
html_btn
(
'login'
,
$ID
,
''
,
array
(
'do'
=>
'login'
));
}
}
}
?>
<?=
html_btn
(
index
,
$ID
,
'x'
,
array
(
'do'
=>
'index'
))
?>
<
a
href=
"#top"
><input
type=
"button"
class=
"button"
value=
"
<?=
$lang
[
'btn_top'
]
?>
"
/></a>
?>
<?=
html_btn
(
index
,
$ID
,
'x'
,
array
(
'do'
=>
'index'
))
?>
<a
href=
"#top"
><input
type=
"button"
class=
"button"
value=
"
<?=
$lang
[
'btn_top'
]
?>
"
/></a>
<
/div>
</div>
</div>
<?
@
include
(
"includes/footer.html"
)
?>
...
...
@@ -973,7 +977,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed?
insertButton
(
'
images/rule.png
'
,
'
<?=
$lang
[
'qb_hr'
]
?>
'
,
'
----
\n
'
);
mediaButton
(
'
images/image.png
'
,
'
<?=
$lang
[
'qb_media'
]
?>
'
,
'
m
'
,
'
<?=
$INFO
[
'namespace'
]
?>
'
);
<?
<?
if
(
$conf
[
'useacl'
]
&&
$_SERVER
[
'REMOTE_USER'
]){
echo
"insertButton('images/sig.png','"
.
$lang
[
'qb_sig'
]
.
"','"
.
html_signature
()
.
"','y');"
;
}
...
...
@@ -1006,7 +1010,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed?
showSizeCtl
();
<?
if
(
$wr
){
?>
init_locktimer
(
<?=
$conf
[
'locktime'
]
-
60
?>
,
'
<?=
$lang
[
'willexpire'
]
?>
'
);
document
.
editform
.
wikitext
.
focus
();
document
.
editform
.
wikitext
.
focus
();
<?
}
?>
</script>
</td>
...
...
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