blob: cab58d76533bd6138b1babc25a6ab913085a43d1 [file] [log] [blame]
Ben Dodsonc67e4cb2010-08-24 16:14:02 -07001<?cs
2def:custom_masthead() ?>
3 <div id="header">
4 <div id="headerLeft">
5 <a href="<?cs var:toroot?>" tabindex="-1"><img
6 src="<?cs var:toroot ?>assets/images/open_source.png" alt="Android Open Source Project" /></a>
7 <ul class="<?cs if:home ?>home<?cs
8 elif:doc.type == "source" ?>source<?cs
9 elif:doc.type == "porting" ?>porting<?cs
10 elif:doc.type == "compatibility" ?>compatibility<?cs
11 elif:doc.type == "community" ?>community<?cs
12 elif:doc.type == "about" ?>about<?cs /if ?>">
13 <li id="home-link"><a href="<?cs var:toroot ?>index.html"><span>Home</span></a></li>
14 <li id="source-link"><a href="<?cs var:toroot ?>source/index.html"
15 onClick="return loadLast('source')"><span>Source</span></a></li>
16 <li id="porting-link"><a href="<?cs var:toroot ?>porting/index.html"
17 onClick="return loadLast('porting')"><span>Porting</span></a></li>
18 <li id="compatibility-link"><a href="<?cs var:toroot ?>compatibility/index.html"
19 onClick="return loadLast('compatibility')"><span>Compatibility</span></a></li>
20 <li id="community-link"><a href="<?cs var:toroot ?>community/index.html"
21 onClick="return loadLast('community')"><span>Community</span></a></li>
22 <li id="about-link"><a href="<?cs var:toroot ?>about/index.html"
23 onClick="return loadLast('about')"><span>About</span></a></li>
24 </ul>
25 </div>
26 <div id="headerRight">
27 <div id="headerLinks">
28 <!-- <img src="<?cs var:toroot ?>assets/images/icon_world.jpg" alt="" /> -->
29 <span class="text">
30 <!-- &nbsp;<a href="#">English</a> | -->
31 <a href="http://www.android.com">Android.com</a>
32 </span>
33 </div>
34 </div><!-- headerRight -->
35 </div><!-- header --><?cs
36/def ?><?cs # custom_masthead ?>