Permalink
Browse files

styles_layout.css updated for new sideblocks code. header.html remove…

…d logo.
  • Loading branch information...
1 parent 6a43c2a commit 606f29ff1d44702f8dc6126064b60b6963d1239d watcanz committed May 30, 2005
Showing with 148 additions and 76 deletions.
  1. +148 −74 theme/cornflower/header.html
  2. +0 −2 theme/cornflower/styles_layout.css
View
222 theme/cornflower/header.html
@@ -1,74 +1,148 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html<?php echo $direction ?>>
-<head>
- <?php echo $meta ?>
- <meta name="keywords" content="moodle, <?php echo $title ?> " />
- <title><?php echo $title ?></title>
- <link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
- <?php include("$CFG->javascript"); ?>
-</head>
-
-<body background="<?php echo "$CFG->wwwroot/theme/$CFG->theme/images/bg.gif" ?>" <?php
- echo " $bodytags";
- if ($focus) {
- echo " onload=\"setfocus()\"";
- }
- ?>>
-<table align="center" width="100%" border="2" cellpadding="0" cellspacing="0" bgcolor="#D0E2EE">
-<tr><td>
-<div id="page">
-
-<?php if ($home) { // This is what gets printed on the home page only
-?>
-
-<table width="100%" cellpadding="0" cellspacing="0" border="0">
-
- <tr>
- <td>
- <table background="<?php echo "$CFG->wwwroot/theme/$CFG->theme/images/headerbg.jpg" ?>" width="100%" height="112" cellpadding="0" cellspacing="0" border="0">
-
- <tr>
-
- <td valign="top" class="header1"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/images/logo.jpg" ?>" border="0">&nbsp;</td>
-
-
-
- <td align="right" style="padding-right:5px" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
-
- </tr>
- </table></tr></td>
- </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">
- <tr>
- <td>
-
-<table background="<?php echo "$CFG->wwwroot/theme/$CFG->theme/images/headerbg.jpg" ?>" width="100%" height="112" cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td valign="top"><img src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/images/logo2.jpg" ?>" border="0">&nbsp;</td>
- <td align="right" style="padding-right:5px" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
- </tr>
-</table>
- </tr>
- </td>
-</table>
-
-<?php } ?>
- <div class="clearer">&nbsp;</div>
-
-<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
- <table border="0" cellpadding="3" cellspacing="0" width="100%">
- <tr>
- <td><?php print_navigation("$navigation"); ?></td>
- <td 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
-?>
-<?php } ?>
- <div class="clearer">&nbsp;</div>
- <!-- END OF HEADER -->
- <div id="content">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html<?php echo $direction ?>>
+
+<head>
+
+ <?php echo $meta ?>
+
+ <meta name="keywords" content="moodle, <?php echo $title ?> " />
+
+ <title><?php echo $title ?></title>
+
+ <link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
+
+ <?php include("$CFG->javascript"); ?>
+
+</head>
+
+
+
+<body background="<?php echo "$CFG->wwwroot/theme/$CFG->theme/images/bg.gif" ?>" <?php
+
+ echo " $bodytags";
+
+ if ($focus) {
+
+ echo " onload=\"setfocus()\"";
+
+ }
+
+ ?>>
+
+<table align="center" width="100%" border="2" cellpadding="0" cellspacing="0" bgcolor="#D0E2EE">
+
+<tr><td>
+
+<div id="page">
+
+
+
+<?php if ($home) { // This is what gets printed on the home page only
+
+?>
+
+
+
+<table width="100%" cellpadding="0" cellspacing="0" border="0">
+
+
+
+ <tr>
+
+ <td>
+
+ <table background="<?php echo "$CFG->wwwroot/theme/$CFG->theme/images/headerbg.jpg" ?>" width="100%" height="112" cellpadding="0" cellspacing="0" border="0">
+
+
+
+ <tr>
+
+
+
+ <td valign="top" class="header1">&nbsp;</td>
+
+
+
+
+
+
+
+ <td align="right" style="padding-right:5px" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+
+
+
+ </tr>
+
+ </table></tr></td>
+
+ </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">
+
+ <tr>
+
+ <td>
+
+
+
+<table background="<?php echo "$CFG->wwwroot/theme/$CFG->theme/images/headerbg.jpg" ?>" width="100%" height="112" cellpadding="0" cellspacing="0" border="0">
+
+ <tr>
+
+ <td valign="top">&nbsp;</td>
+
+ <td align="right" style="padding-right:5px" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+
+ </tr>
+
+</table>
+
+ </tr>
+
+ </td>
+
+</table>
+
+
+
+<?php } ?>
+
+ <div class="clearer">&nbsp;</div>
+
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <table border="0" cellpadding="3" cellspacing="0" width="100%">
+
+ <tr>
+
+ <td><?php print_navigation("$navigation"); ?></td>
+
+ <td 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
+
+?>
+
+<?php } ?>
+
+ <div class="clearer">&nbsp;</div>
+
+ <!-- END OF HEADER -->
+
+ <div id="content">
+
View
2 theme/cornflower/styles_layout.css
@@ -618,7 +618,6 @@ body#admin-config .confighelp {
.sideblock .header .hide-show {
- float:right;
}
@@ -648,7 +647,6 @@ body#admin-config .confighelp {
.sideblock .header .title {
- float: left;
}

0 comments on commit 606f29f

Please sign in to comment.