~newz/ubuntu-website/ubuntu07

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
<head>
	<title><?php print $head_title ?></title>
	<?php print $head ?>
	<?php print $styles ?>
	<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
	<script type="text/javascript" src="/themes/ubuntu07/mootools.v1.00.js"></script>
	<script type="text/javascript" src="/themes/ubuntu07/menus.js"></script>
	</head>

	<body>
		<div id="container">
			<div id="content">
				<div id="topNav">
					<ul><?php /* this can be used to automate links, but that actually makes life more difficult
					foreach( $primary_links as $link) { ?>
						<li><?php print $link; ?></li>
						<?php } */ ?>
						<li><a href="/products/whatisubuntu">Products</a><ul class="submenu">
							<li><a href="/products/whatisubuntu">What is Ubuntu?</a></li>
							<li><a href="/getubuntu/download">Download</a></li>
							<li><a href="/getubuntu">Get Ubuntu</a></li>
							<li><a href="/products/softwarecatalogue">Software Catalogue</a></li>
							<li><a href="/products/merchandise">Merchandise</a></li>
							<li><a href="/products/casestudies">Case Studies</a></li>
							</ul></li>
						<li><a href="/support">Support</a><ul class="submenu">
							<li><a href="/support/communitysupport">Community</a></li>
							<li><a href="https://help.ubuntu.com">Documentation</a></li>
							<li><a href="/support/paid">Commercial</a></li>
							<li><a href="/partners/training">Training</a></li>
							</ul></li>
						<li><a href="/community">Community</a><ul class="submenu">
							<li><a href="/community/conduct">Code of Conduct</a></li><!--
							<li><a href="/community/participate/developerzone">Developer Zone</a></li> -->
							<li><a href="/community/participate">Get Involved</a></li>
							<li><a href="/community/reportproblem">Report a Problem</a></li>
							<li><a href="/community/ubuntustory">The Ubuntu Story</a></li><!--
							<li><a href="/community/donations">Donate</a></li> -->
							</ul></li>
						<li><a href="/partners">Partners</a><ul class="submenu">
							<li><a href="/partners">Partner Programme</a></li>
							<li><a href="/partners/programmetracks">Programme Tracks</a></li>
							<li><a href="/products/casestudies">Case Studies</a></li>
							<li><a href="/partners/softwareprogramme">Software Programme</a></li>
							<li><a href="/partners/hardwareprogramme">Hardware Programme</a></li>
							<li><a href="/partners/findapartner">Find a Partner</a></li>
							</ul></li>
						<li><a href="/news" class="last">News</a><ul class="submenu">
							<li><a href="/news/spotlight">Spotlight</a></li>
							<li><a href="/usn">Security Notices</a></li>
							<li><a href="http://fridge.ubuntu.com">The Fridge</a></li>
							<li><a href="http://planet.ubuntu.com">Planet Ubuntu</a></li>
							<li><a href="/news/pressreleasearchive">Press Releases</a></li>
							<li><a href="/aboutus/contactus">Media Contact</a></li>
							</ul></li>
					</ul>
					<div id="searchbox">
						<form id="sitesearch" action="/search/node" method="post">
							<p>
								<label for="q" accesskey="s"><span class="mnemonic">S</span>earch</label>
								<input type="text" value="Search" name="edit[search_theme_form_keys]" id="q" />
								<button type="submit" name="op"><span>go</span></button>
								<input type="hidden" name="edit[form_id]" id="edit-search-theme-form" value="search_theme_form"  />
								<input type="hidden" name="edit[form_token]" id="edit-search-theme-form-form-token" value="<?php print drupal_get_token('search_theme_form'); ?>"  />
							</p> 
						</form>
					</div>
					<?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 } ?>
					<div class="clear"><img src="/themes/ubuntu07/images/spacer.gif" width="1" height="1" alt="" /></div>
				</div>
				
				<!-- optional masthead -->
				<?php if ($header) { print $header; } ?>
				<!-- begin content area -->
				
				<!-- top -->
				<div id="bodyouter">
					<div id="bodyinner">
						<div id="contentpadding"<?php if($is_front) echo ' class="frontpage"'; ?>>
		        		<?php
						$breadcrumb = drupal_get_breadcrumb();
						$breadcrumb_count = count($breadcrumb);
						if ($breadcrumb_count) {
						?>
						<div id="breadcrumb" class="breadcrumb">
							<h3>You are here:</h3>
							
							<?php 
							for ($i = 0; $i < $breadcrumb_count; $i++) {
								print $breadcrumb[$i];
								print ' ยป ';
							} 
							print $title;
							?>
						</div>
						<?php } // end if ($breadcrumb_count) ?>
				        <?php print $tabs ?>
				        <?php print $help ?>
				        <?php print $messages ?>
				        <?php print $content; ?>
				        </div>
					</div>
					<!-- sidebars -->
					<div id="leftsidebar">
					    <?php if ($sidebar_left) { print $sidebar_left; } ?></div>
				    <div id="rightsidebar">
					    <?php if ($sidebar_right) { print $sidebar_right; } ?></div>
		        </div>
			<div id="footer">
				<div class="wrapper">
					<img src="/themes/ubuntu07/images/rule.png" width="740" height="1" alt="" class="rule"/>
					<p>&copy; 2007 Canonical Ltd. Ubuntu and Canonical are 
					registered trademarks of Canonical Ltd.</p>
					<ul>
						<li><a href="/aboutus">About Us</a></li>
						<!-- removing until we have appropriate content
						<li><a href="#">Accessibility</a></li> -->
						<li><a href="/legal">Legal</a></li>
						<li><a href="/employment">Careers</a></li>
						<li class="last"><a href="/aboutus/contactus">Contact Us</a></li>
					</ul>
					<div class="clear">&nbsp;</div>
				</div>
			</div>
				<div id="bg-right">&nbsp;</div><div id="bottom-right">&nbsp;</div>
				
			</div>
			<div id="bg-left">&nbsp;</div><div id="bottom-left">&nbsp;</div>
		</div>
		<script type="text/javascript">
		//<![CDATA[
		if (window.ie) {
			// make up for no min-height in IE
			if ($('content').offsetHeight < 665)
				$('content').style.height = "665px";
			
			// disable drop down menus for ie
			for (var i = 0; i < $$('.submenu').length; i++) {
				$$('.submenu')[i].style.display = 'none';
			}
		}
		if (window.ie6) {
			$('bg-left').style.left = '-14px';
			$('bg-right').style.right = '19px';
			$('footer').style.left = '-14px';
			$('container').style.margin = '0 20px 0 15px';
		}
		
		$('q').addEvent('focus', function() {
			$('q').select();
		});
		
		if(!$('rightsidebar').innerHTML.trim()) {
			$('rightsidebar').setStyle('display', 'none');
		}
		//]]>
		</script>
		<?php print $closure ?>
	</body>
</html>