~ubuntu-branches/ubuntu/breezy/moodle/breezy

« back to all changes in this revision

Viewing changes to theme/brightretro/header.html

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2005-10-13 02:00:59 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051013020059-y2qcyo41t7nqppcg
Tags: 1.5.2-1ubuntu1
* Resync with debian (security update)
* changed dependencys to php5
* changed apache dependency to apache2 
* References
  CAN-2005-2247

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
2
 
<html<?php echo $direction ?>>
3
 
<head>
4
 
<?php echo $meta ?>
5
 
<title><?php echo $title ?></title>
6
 
<meta name="keywords" content="moodle, <?php echo $title ?> ">
7
 
<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
8
 
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
9
 
<?php include("$CFG->javascript"); ?>
10
 
</head>
11
 
 
12
 
<body<?php 
13
 
   echo " $bodytags";
14
 
   if ($focus) { 
15
 
       echo " onload=setfocus()"; 
16
 
   } 
17
 
   echo " bgcolor=\"$THEME->body\">";
18
 
?>
19
 
 
20
 
<?php if ($home) {  // This is what gets printed on the home page only  ?>
21
 
 
22
 
  <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
23
 
    <tr>
24
 
      <td valign="top" class="headerhomemain"><img 
25
 
          border="0" src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/logo.jpg" ?>"></td>
26
 
      <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
27
 
    </tr>
28
 
  </table>
29
 
 
30
 
<?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
31
 
 
32
 
  <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
33
 
    <tr>
34
 
      <td valign="top" class="headermain"><?php echo $heading?></td>
35
 
      <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
36
 
    </tr>
37
 
  </table>
38
 
 
39
 
<?php } ?>
40
 
 
41
 
 
42
 
<?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
43
 
 
44
 
  <table border="0" cellpadding="3" cellspacing="0" width="100%">
45
 
    <tr>
46
 
      <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
47
 
        <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
48
 
      </td>
49
 
      <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php 
50
 
          echo $button;
51
 
      ?></td>
52
 
    </tr>
53
 
  </table>
54
 
  <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
55
 
 
56
 
<?php } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
57
 
 
58
 
  <hr size="1" noshade />
59
 
 
60
 
<?php } ?>
61
 
 
62
 
<!-- END OF HEADER -->