~newz/ubuntu-website/ubuntu07

« back to all changes in this revision

Viewing changes to page.tpl.php

  • Committer: Matthew Nuzum
  • Date: 2007-02-02 17:03:00 UTC
  • Revision ID: matthew.nuzum@canonical.com-20070202170300-c8e5f3695dcad6d4
adding initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
 
3
<head>
 
4
  <title><?php print $head_title ?></title>
 
5
  <?php print $head ?>
 
6
  <?php print $styles ?>
 
7
  <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
 
8
        </head>
 
9
 
 
10
        <body>
 
11
                <div id="contentcontainer">
 
12
                        <div id="shell">
 
13
                                <div id="topNav">
 
14
                                        <a href="#" id="ubuntuhome" title="Ubuntu Homepage">
 
15
                                                <img src="/themes/ubuntu07/images/icon-home.png" alt="home" width="18" height="17"/>
 
16
                                        </a>
 
17
                                        <ul><?php
 
18
                                        foreach( $primary_links as $link) { ?>
 
19
                                                <li><?php print $link; ?></li>
 
20
                                                <?php } ?>
 
21
                                        </ul>
 
22
                                        <img src="/themes/ubuntu07/images/rule.png" width="740" height="1" alt="" class="rule"/>
 
23
                                        <div id="searchbox">
 
24
                                                <form id="sitesearch" action="#" method="get">
 
25
                                                        <p>
 
26
                                                                <label for="q" accesskey="s"><span class="mnemonic">S</span>earch</label>
 
27
                                                                <input type="text" value="Search" name="q" id="q" />
 
28
                                                                <button type="submit"><span>go</span></button>
 
29
                                                        </p> 
 
30
                                                </form>
 
31
                                        </div>
 
32
                                              <?php if ($logo) { ?><a href="<?php print $base_path ?>"><img id="ubuntulogo" src="<?php print $logo ?>" alt="<?php if ($site_name) print $site_name; else print "UBUNTU"; ?>" /></a><?php } ?>
 
33
                                        <div class="clear"><img src="/themes/ubuntu07/images/spacer.gif" width="1" height="1" alt="" /></div>
 
34
                                </div>
 
35
                                <div id="masthead">
 
36
                                        <img src="/themes/ubuntu07/images/masthead-student.jpg" width="204" height="95" alt="" id="mastheadimage" />
 
37
                                        <div id="mastheadnotice">
 
38
                                                <h2>Spotlight:</h2>
 
39
                                                <p>Buy world-class technical support from the Canonical
 
40
                                                support team today</p></div>
 
41
                                        <h1>Products</h1>
 
42
                                </div>
 
43
 
 
44
                                <!-- begin content area -->
 
45
                                
 
46
                                <!-- top -->
 
47
                                <div id="bodyouter">
 
48
                                        <!-- sidebars -->
 
49
                                        <div id="leftsidebar">
 
50
                                            <?php if ($sidebar_left) { print $sidebar_left; } ?></div>
 
51
                                        <div id="rightsidebar">
 
52
                                            <?php if ($sidebar_right) { print $sidebar_right; } ?></div>
 
53
                                        
 
54
                                        <div id="bodyinner">
 
55
                                                <!-- header for notices -->
 
56
                                                <?php if ($header) { ?>
 
57
                                                <div id="noticeheader">
 
58
                                                        <?php print $header ?>
 
59
                                                </div>
 
60
                                                <?php } ?>
 
61
                                        <?php
 
62
                                                $breadcrumb = drupal_get_breadcrumb();
 
63
                                                $breadcrumb_count = count($breadcrumb);
 
64
                                                if ($breadcrumb_count) {
 
65
                                                ?>
 
66
                                                <div id="breadcrumb" class="breadcrumb">
 
67
                                                        <h3>You are here:</h3>
 
68
                                                        
 
69
                                                        <?php 
 
70
                                                        for ($i = 0; $i < $breadcrumb_count; $i++) {
 
71
                                                                print $breadcrumb[$i];
 
72
                                                                print ' » ';
 
73
                                                        } 
 
74
                                                        print $title;
 
75
                                                        ?>
 
76
                                                </div>
 
77
                                                <?php } // end if ($breadcrumb_count) ?>
 
78
                                        <?php print $tabs ?>
 
79
                                        <?php print $help ?>
 
80
                                        <?php print $messages ?>
 
81
                                        <?php print $content; ?>
 
82
                                        </div>
 
83
                        </div>
 
84
                        </div>
 
85
                        <div id="footer">
 
86
                                <div id="footertext">
 
87
                                        <img src="/themes/ubuntu07/images/rule.png" width="740" height="1" alt="" class="rule"/>
 
88
                                        <p>&copy; 2007 Canonical Ltd. Ubuntu and Canonical are 
 
89
                                        registered trademarks of Canonical Ltd. Website design by 
 
90
                                        Brilliant.</p>
 
91
                                        <ul>
 
92
                                                <li><a href="#">Accessibility</a></li>
 
93
                                                <li><a href="#">Legal</a></li>
 
94
                                                <li><a href="#">Careers</a></li>
 
95
                                                <li class="last"><a href="#">Contact Us</a></li>
 
96
                                        </ul>
 
97
                                        <div class="clear">&nbsp;</div>
 
98
                                </div>
 
99
                        </div>
 
100
                </div>
 
101
<?php print $closure ?>
 
102
        </body>
 
103
</html>