docs only.
change the SDK tab to point to the release notes in offline mode; hide all other languages by default instead of depending on the stylesheet
This commit is contained in:
@@ -6,9 +6,10 @@
|
|||||||
elif:community ?>community<?cs
|
elif:community ?>community<?cs
|
||||||
elif:videos ?>videos<?cs /if ?>">
|
elif:videos ?>videos<?cs /if ?>">
|
||||||
|
|
||||||
<?cs if:android.whichdoc == "online" ?>
|
<li id="home-link"><a href="<?cs var:toroot ?><?cs
|
||||||
<li id="home-link"><a href="<?cs var:toroot ?>index.html">
|
if:android.whichdoc != "online" ?>offline.html<?cs
|
||||||
<?cs if:!sdk.redirect ?>
|
else ?>index.html<?cs /if ?>">
|
||||||
|
<?cs if:!sdk.redirect ?>
|
||||||
<span class="en">Home</span>
|
<span class="en">Home</span>
|
||||||
<span style="display:none" class="de">Startseite</span>
|
<span style="display:none" class="de">Startseite</span>
|
||||||
<span style="display:none" class="es"></span>
|
<span style="display:none" class="es"></span>
|
||||||
@@ -17,12 +18,11 @@
|
|||||||
<span style="display:none" class="ja">ホーム</span>
|
<span style="display:none" class="ja">ホーム</span>
|
||||||
<span style="display:none" class="zh-CN">主页</span>
|
<span style="display:none" class="zh-CN">主页</span>
|
||||||
<span style="display:none" class="zh-TW">首頁</span>
|
<span style="display:none" class="zh-TW">首頁</span>
|
||||||
<?cs /if ?>
|
<?cs /if ?>
|
||||||
</a></li>
|
</a></li>
|
||||||
<?cs /if ?> <?cs # end of "if online" ?>
|
<li id="sdk-link"><a href="<?cs var:toroot ?><?cs
|
||||||
<li id="sdk-link"><a href="<?cs var:toroot ?>sdk/<?cs
|
if:android.whichdoc != "online" ?>sdk/RELEASENOTES.html<?cs
|
||||||
if:android.whichdoc != "online" ?>offline-welcome.html<?cs
|
else ?>sdk/<?cs var:sdk.current ?>/index.html<?cs /if ?>">
|
||||||
else ?><?cs var:sdk.current ?>/index.html<?cs /if ?>">
|
|
||||||
<span class="en">SDK</span>
|
<span class="en">SDK</span>
|
||||||
</a></li>
|
</a></li>
|
||||||
<li id="guide-link"><a href="<?cs var:toroot ?>guide/index.html" onClick="return loadLast('guide')">
|
<li id="guide-link"><a href="<?cs var:toroot ?>guide/index.html" onClick="return loadLast('guide')">
|
||||||
|
Reference in New Issue
Block a user