source: WAeUP_Moodle/acreen/akademie/header.html @ 4015

Last change on this file since 4015 was 4015, checked in by Henrik Bettermann, 16 years ago

Einbau einer Kontakleiste

File size: 2.9 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html<?php echo $direction ?>>
3<head>
4    <?php echo $meta ?>
5    <meta name="keywords" content="moodle, <?php echo $title ?> " />
6    <title><?php echo $title ?></title>
7    <link rel="shortcut icon" href="<?php echo $CFG->themewww .'/'. current_theme() ?>/favicon.ico" />
8    <?php include("$CFG->javascript"); ?>
9</head>
10
11<body<?php
12    echo " $bodytags";
13    if ($focus) {
14        echo " onload=\"setfocus()\"";
15    }
16    ?>>
17     
18<div id="page">
19
20<?php //Accessibility: warning: ALT text will need editing if logo changes. 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
21      if ($home) {  // This is what gets printed on the home page only
22?>
23    <div id="header-home" class="clearfix">
24        <h1 class="headermain"><img alt='Moodle' src='<?php echo $CFG->httpsthemewww .'/'. current_theme() ?>/logo_header_main.jpg' /></h1>
25        <div class="headermenu"><?php echo $menu ?></div>
26
27        <div id="navlistbox">
28            <ul id="navlist">
29            <li><a  onclick="this.target='popup'; return openpopup('/theme/akademie/kontakt.html', 'popup', 'menubar=0,location=0,scrollbars,resizable,width=500,height=210', 0);"
30                    href="/kontakt">Kontakt</a>
31            <a  onclick="this.target='popup'; return openpopup('/theme/akademie/impressum.html', 'popup', 'menubar=0,location=0,scrollbars,resizable,width=500,height=690', 0);"
32                    href="/impressum">Impressum</a></li>
33            <li><a  onclick="this.target='popup'; return openpopup('/theme/akademie/datenschutz.html', 'popup', 'menubar=0,location=0,scrollbars,resizable,width=1000,height=500', 0);"
34                    href="/datenschutz">Datenschutz</a>
35            <a  onclick="this.target='popup'; return openpopup('/theme/akademie/hilfe.html', 'popup', 'menubar=0,location=0,scrollbars,resizable,width=500,height=400', 0);"
36                    href="/hilfe">Hilfe</a></li>
37            </ul>
38        </div>   
39
40
41    </div>
42   
43<?php } else if ($heading) {  // This is what gets printed on any other page with a heading
44?>
45    <div id="header" class="clearfix">
46        <h1 class="headermain"><img class="logo" alt='Moodle' src='<?php echo $CFG->httpsthemewww .'/'. current_theme() ?>/logo_header.jpg' /></h1>
47        <div class="headermenu"><?php echo $menu ?></div>
48    </div>
49<?php } ?>
50<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
51      if ($navigation) { // This is the navigation bar with breadcrumbs  ?>
52    <div class="navbar clearfix">
53        <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
54        <div class="navbutton"><?php echo $button; ?></div>
55    </div>
56<?php } else if ($heading) { // If no navigation, but a heading, then print a line 
57?>
58
59<?php } ?>
60    <!-- END OF HEADER -->
61    <div id="content">
Note: See TracBrowser for help on using the repository browser.