Mike Ritter | 6c4cd9e | 2009-04-01 17:30:12 -0700 | [diff] [blame] | 1 | <?cs # This file defines custom definitions for the masthead (logo, searchbox, tabs, etc) and |
| 2 | left nav (toc) that gets placed on all pages. ?> |
| 3 | |
| 4 | <?cs |
| 5 | def:custom_masthead() ?> |
| 6 | <div id="header"> |
| 7 | <div id="headerLeft"> |
Gaurav Mathur | f326d14 | 2009-05-21 13:35:47 -0700 | [diff] [blame^] | 8 | <a href="<?cs var:toroot ?>guide/index.html" tabindex="-1"><img |
Gaurav Mathur | ee6df9b | 2009-05-14 16:02:22 -0700 | [diff] [blame] | 9 | src="<?cs var:toroot ?>assets/images/open_source.png" alt="Open Source Project: Platform Development Kit" /></a> |
Mike Ritter | 6c4cd9e | 2009-04-01 17:30:12 -0700 | [diff] [blame] | 10 | <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 Mathur | f326d14 | 2009-05-21 13:35:47 -0700 | [diff] [blame^] | 18 | <li id="guide-link"><a href="<?cs var:toroot ?>guide/index.html" |
Gaurav Mathur | ee6df9b | 2009-05-14 16:02:22 -0700 | [diff] [blame] | 19 | 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 Ritter | 6c4cd9e | 2009-04-01 17:30:12 -0700 | [diff] [blame] | 22 | </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 | <!-- <a href="#">English</a> | --> |
| 29 | <a href="http://www.android.com">Android.com</a> |
| 30 | </span> |
Gaurav Mathur | ee6df9b | 2009-05-14 16:02:22 -0700 | [diff] [blame] | 31 | </div> |
Mike Ritter | 6c4cd9e | 2009-04-01 17:30:12 -0700 | [diff] [blame] | 32 | </div><!-- headerRight --> |
| 33 | </div><!-- header --><?cs |
| 34 | /def ?><?cs # custom_masthead ?> |
| 35 | |
| 36 | |
| 37 | <?cs |
| 38 | def: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 Mathur | ee6df9b | 2009-05-14 16:02:22 -0700 | [diff] [blame] | 42 | include:"../../../../development/pdk/docs/guide/pdk_toc.cs" ?> |
Mike Ritter | 6c4cd9e | 2009-04-01 17:30:12 -0700 | [diff] [blame] | 43 | </div> |
| 44 | </div> <!-- end side-nav --> |
| 45 | <script> |
| 46 | addLoadEvent(function() { |
| 47 | scrollIntoView("devdoc-nav"); |
| 48 | }); |
| 49 | </script> |
| 50 | <?cs /def ?> |
| 51 | |
| 52 | <?cs |
| 53 | def:custom_left_nav() ?><?cs |
Mike Ritter | 6c4cd9e | 2009-04-01 17:30:12 -0700 | [diff] [blame] | 54 | call:guide_nav() ?><?cs |
Mike Ritter | 6c4cd9e | 2009-04-01 17:30:12 -0700 | [diff] [blame] | 55 | /def ?> |
| 56 | |
| 57 | <?cs # appears at the bottom of every page ?><?cs |
| 58 | def: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 |
| 67 | def: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 |
| 75 | def: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 |
| 84 | def:custom_buildinfo() ?> |
| 85 | Android <?cs var:sdk.platform.version ?> r<?cs var:sdk.rel.id ?> - <?cs var:page.now ?> |
| 86 | <?cs /def ?> |