Skip to content
Snippets Groups Projects
Commit f11c233f authored by andi's avatar andi
Browse files

style divs added

darcs-hash:20050114174058-9977f-10d666a7f688212ef7877fa0e19802a12a993e57.gz
parent 08ab002a
No related branches found
No related tags found
No related merge requests found
...@@ -286,7 +286,7 @@ function html_acl($perm){ ...@@ -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> * @author Andreas Gohr <andi@splitbrain.org>
*/ */
...@@ -300,40 +300,42 @@ function html_header(){ ...@@ -300,40 +300,42 @@ function html_header(){
<body> <body>
<div class="all"> <div class="all">
<? <?
@include("includes/topheader.html");
html_msgarea(); html_msgarea();
@include("includes/topheader.html")
?> ?>
<div class="header"> <div class="stylehead">
<div class="pagename"> <div class="header">
[[<a href="<?=wl($ID,'do=backlink')?>" onclick="return svchk()" onkeypress="return svchk()"><?=$ID?></a>]] <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>
<div class="logo"> <?@include("includes/header.html")?>
<a href="<?=wl()?>" name="top" accesskey="h" title="[ALT+H]" onclick="return svchk()" onkeypress="return svchk()"><?=$conf['title']?></a>
<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>&nbsp;
</div>
</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>&nbsp;
</div>
</div>
<? <?
flush(); flush();
html_breadcrumbs(); html_breadcrumbs();
@include("includes/pageheader.html"); @include("includes/pageheader.html");
?> ?>
</div>
<div class="page"> <div class="page">
<!-- wikipage start --> <!-- wikipage start -->
<? <?
...@@ -401,29 +403,31 @@ function html_footer(){ ...@@ -401,29 +403,31 @@ function html_footer(){
<!-- wikipage stop --> <!-- wikipage stop -->
</div> </div>
<div class="clearer">&nbsp;</div> <div class="clearer">&nbsp;</div>
<? <div class="stylefoot">
flush(); <?
@include("includes/pagefooter.html"); flush();
html_metainfo(); @include("includes/pagefooter.html");
?> html_metainfo();
<div class="bar" id="bar_bottom"> ?>
<div class="bar-left" id="bar_bottomleft"> <div class="bar" id="bar_bottom">
<?=html_editbutton()?> <div class="bar-left" id="bar_bottomleft">
<?=html_btn(revs,$ID,'r',array('do' => 'revisions'))?> <?=html_editbutton()?>
</div> <?=html_btn(revs,$ID,'r',array('do' => 'revisions'))?>
</div>
<div class="bar-right" id="bar_bottomright"> <div class="bar-right" id="bar_bottomright">
<? <?
if($conf['useacl']){ if($conf['useacl']){
if($_SERVER['REMOTE_USER']){ if($_SERVER['REMOTE_USER']){
print html_btn('logout',$ID,'',array('do' => 'logout',)); print html_btn('logout',$ID,'',array('do' => 'logout',));
}else{ }else{
print html_btn('login',$ID,'',array('do' => 'login')); print html_btn('login',$ID,'',array('do' => 'login'));
}
} }
} ?>
?> <?=html_btn(index,$ID,'x',array('do' => 'index'))?>
<?=html_btn(index,$ID,'x',array('do' => 'index'))?> <a href="#top"><input type="button" class="button" value="<?=$lang['btn_top']?>" /></a>&nbsp;
<a href="#top"><input type="button" class="button" value="<?=$lang['btn_top']?>" /></a>&nbsp; </div>
</div> </div>
</div> </div>
<?@include("includes/footer.html")?> <?@include("includes/footer.html")?>
...@@ -973,7 +977,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed? ...@@ -973,7 +977,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed?
insertButton('images/rule.png','<?=$lang['qb_hr']?>','----\n'); insertButton('images/rule.png','<?=$lang['qb_hr']?>','----\n');
mediaButton('images/image.png','<?=$lang['qb_media']?>','m','<?=$INFO['namespace']?>'); mediaButton('images/image.png','<?=$lang['qb_media']?>','m','<?=$INFO['namespace']?>');
<? <?
if($conf['useacl'] && $_SERVER['REMOTE_USER']){ if($conf['useacl'] && $_SERVER['REMOTE_USER']){
echo "insertButton('images/sig.png','".$lang['qb_sig']."','".html_signature()."','y');"; 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? ...@@ -1006,7 +1010,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed?
showSizeCtl(); showSizeCtl();
<?if($wr){?> <?if($wr){?>
init_locktimer(<?=$conf['locktime']-60?>,'<?=$lang['willexpire']?>'); init_locktimer(<?=$conf['locktime']-60?>,'<?=$lang['willexpire']?>');
document.editform.wikitext.focus(); document.editform.wikitext.focus();
<?}?> <?}?>
</script> </script>
</td> </td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment