mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
andreabix
committed
Sep 16, 2004
1 parent
84250eb
commit 0e71599
Showing
1 changed file
with
53 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,127 +1,54 @@ | |||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
<html<?php echo $direction ?>> | ||
<html<?php echo $direction ?>> | <head> | ||
|
<?php echo $meta ?> | ||
<head> | <title><?php echo $title ?></title> | ||
|
<meta name="keywords" content="moodle, <?php echo $title ?> " /> | ||
<?php echo $meta ?> | <link rel="stylesheet" type="text/css" href="<?php echo $styles ?>" /> | ||
|
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> | ||
<title><?php echo $title ?></title> | <?php include("$CFG->javascript"); ?> | ||
|
</head> | ||
<meta name="keywords" content="moodle, <?php echo $title ?> " /> |
|
||
|
<body<?php | ||
<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>" /> | echo " $bodytags"; | ||
|
if ($focus) { | ||
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> | echo " onload=setfocus()"; | ||
|
} | ||
<?php include("$CFG->javascript"); ?> | echo " bgcolor=\"$THEME->body\">"; | ||
|
?> | ||
</head> |
|
||
|
<?php if ($home) { // This is what gets printed on the home page only ?> | ||
|
<table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome"> | ||
|
<tr> | ||
<body<?php | <td valign="top" class="headerhomemain"> | ||
|
<img border="0" src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/logo.jpg" ?>" /> | ||
echo " $bodytags"; | </td> | ||
|
<td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td> | ||
if ($focus) { | </tr> | ||
|
</table> | ||
echo " onload=setfocus()"; | <?php } else if ($heading) { // This is what gets printed on any other page with a heading ?> | ||
|
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="header"> | ||
} | <tr> | ||
|
<td valign="top" class="headermain"> | ||
echo " bgcolor=\"$THEME->body\">"; | <img border="0" src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/logo_small.jpg" ?>" /> | ||
|
<td align="right" valign="top" class="headermenu"><?php echo $menu ?></td> | ||
?> | </tr> | ||
|
</table> | ||
|
<?php } ?> | ||
|
|
||
<?php if ($home) { // This is what gets printed on the home page only ?> | <?php if ($navigation) { // This is the navigation table with breadcrumbs ?> | ||
|
<table border="0" cellpadding="3" cellspacing="0" width="100%"> | ||
|
<tr> | ||
|
<td bgcolor="<?php echo $THEME->cellheading?>" class="navbar"> | ||
<table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome"> | <?php print_navigation("$navigation"); ?> | ||
|
</td> | ||
<tr> | <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php echo $button; ?></td> | ||
|
</tr> | ||
<td valign="top" class="headerhomemain"> | </table> | ||
|
<img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height="5" width="1" /><br /> | ||
<img border="0" src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/logo.jpg" ?>" /> |
|
||
|
<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?> | ||
</td> | <hr size="1" noshade="noshade" /> | ||
|
<?php } ?> | ||
<td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td> |
|
||
|
|||
</tr> | |||
|
|||
</table> | |||
|
|||
|
|||
|
|||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?> | |||
|
|||
|
|||
|
|||
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="header"> | |||
|
|||
<tr> | |||
|
|||
<td valign="top" class="headermain"> | |||
|
|||
<img border="0" src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/logo_small.jpg" ?>" /> | |||
|
|||
<td align="right" valign="top" class="headermenu"><?php echo $menu ?></td> | |||
|
|||
</tr> | |||
|
|||
</table> | |||
|
|||
|
|||
|
|||
<?php } ?> | |||
|
|||
|
|||
|
|||
|
|||
|
|||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?> | |||
|
|||
|
|||
|
|||
<table border="0" cellpadding="3" cellspacing="0" width="100%"> | |||
|
|||
<tr> | |||
|
|||
<td bgcolor="<?php echo $THEME->cellheading?>" class="navbar"> | |||
|
|||
<?php print_navigation("$navigation"); ?> | |||
|
|||
</td> | |||
|
|||
<td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php | |||
|
|||
echo $button; | |||
|
|||
?></td> | |||
|
|||
</tr> | |||
|
|||
</table> | |||
|
|||
<img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height="5" width="1" /><br /> | |||
|
|||
|
|||
|
|||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?> | |||
|
|||
|
|||
|
|||
<hr size="1" noshade="noshade" /> | |||
|
|||
|
|||
|
|||
<?php } ?> | |||
|
|||
|
|||
|
|||
<!-- END OF HEADER --> | <!-- END OF HEADER --> |