blob: 563af1ee8d0f097c725a1a67c3e0d2c328f703df [file] [log] [blame]
Mike Ritter6c4cd9e2009-04-01 17:30:12 -07001<?cs # This file defines custom definitions for the masthead (logo, searchbox, tabs, etc) and
2left nav (toc) that gets placed on all pages. ?>
3
4<?cs
5def:custom_masthead() ?>
6 <div id="header">
7 <div id="headerLeft">
Gaurav Mathurf326d142009-05-21 13:35:47 -07008 <a href="<?cs var:toroot ?>guide/index.html" tabindex="-1"><img
Gaurav Mathuree6df9b2009-05-14 16:02:22 -07009 src="<?cs var:toroot ?>assets/images/open_source.png" alt="Open Source Project: Platform Development Kit" /></a>
Mike Ritter6c4cd9e2009-04-01 17:30:12 -070010 <ul class="<?cs
11 if:reference ?> <?cs
12 elif:guide ?> <?cs
13 elif:sdk ?> <?cs
14 elif:home ?> <?cs
15 elif:community ?> <?cs
16 elif:publish ?> <?cs
17 elif:about ?> <?cs /if ?>">
Gaurav Mathurf326d142009-05-21 13:35:47 -070018 <li id="guide-link"><a href="<?cs var:toroot ?>guide/index.html"
Gaurav Mathuree6df9b2009-05-14 16:02:22 -070019 onClick="return loadLast('guide)'"><span>Porting Guide</span></a></li>
20 <li id="opensource-link"><a href="http://source.android.com/"
21 onClick="return loadLast('open')"><span>Open Source</span></a></li>
Mike Ritter6c4cd9e2009-04-01 17:30:12 -070022 </ul>
23 </div>
24 <div id="headerRight">
25 <div id="headerLinks">
26 <!-- <img src="<?cs var:toroot ?>assets/images/icon_world.jpg" alt="" /> -->
27 <span class="text">
28 <!-- &nbsp;<a href="#">English</a> | -->
29 <a href="http://www.android.com">Android.com</a>
30 </span>
Gaurav Mathuree6df9b2009-05-14 16:02:22 -070031 </div>
Mike Ritter6c4cd9e2009-04-01 17:30:12 -070032 </div><!-- headerRight -->
33 </div><!-- header --><?cs
34/def ?><?cs # custom_masthead ?>
35
36
37<?cs
38def:guide_nav() ?>
39 <div class="g-section g-tpl-240" id="body-content">
40 <div class="g-unit g-first side-nav-resizable" id="side-nav">
41 <div id="devdoc-nav"><?cs
Gaurav Mathuree6df9b2009-05-14 16:02:22 -070042 include:"../../../../development/pdk/docs/guide/pdk_toc.cs" ?>
Mike Ritter6c4cd9e2009-04-01 17:30:12 -070043 </div>
44 </div> <!-- end side-nav -->
45 <script>
46 addLoadEvent(function() {
47 scrollIntoView("devdoc-nav");
48 });
49 </script>
50<?cs /def ?>
51
52<?cs
53def:custom_left_nav() ?><?cs
Mike Ritter6c4cd9e2009-04-01 17:30:12 -070054 call:guide_nav() ?><?cs
Mike Ritter6c4cd9e2009-04-01 17:30:12 -070055/def ?>
56
57<?cs # appears at the bottom of every page ?><?cs
58def:custom_cc_copyright() ?>
59 Except as noted, this content is
60 licensed under <a href="http://creativecommons.org/licenses/by/2.5/">
61 Creative Commons Attribution 2.5</a>. For details and
62 restrictions, see the <a href="<?cs var:toroot ?>license.html">Content
63 License</a>.<?cs
64/def ?>
65
66<?cs
67def:custom_copyright() ?>
68 Except as noted, this content is licensed under <a
69 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>.
70 For details and restrictions, see the <a href="<?cs var:toroot ?>license.html">
71 Content License</a>.<?cs
72/def ?>
73
74<?cs
75def:custom_footerlinks() ?>
76 <p>
77 <a href="http://www.android.com/terms.html">Site Terms of Service</a> -
78 <a href="http://www.android.com/privacy.html">Privacy Policy</a> -
79 <a href="http://www.android.com/branding.html">Brand Guidelines</a>
80 </p><?cs
81/def ?>
82
83<?cs # appears on the right side of the blue bar at the bottom off every page ?><?cs
84def:custom_buildinfo() ?>
85 Android <?cs var:sdk.platform.version ?>&nbsp;r<?cs var:sdk.rel.id ?> - <?cs var:page.now ?>
86<?cs /def ?>