root/trunk/iPhoneTemplateSet/plugins/iPhoneTemplateSet/templates/entry.mtml @ 1173

Revision 1173, 2.1 kB (checked in by kaminogoya, 14 months ago)

Added the 'automatically hide addressbar' script to index and entry template.

Line 
1<?xml version="1.0" encoding="<mt:PublishCharset>"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4    <head>
5        <meta http-equiv="content-type" content="text/html; charset=<mt:PublishCharset>" />
6        <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
7        <title><$mt:EntryTitle$></title>
8        <link rel="stylesheet" href="<$mt:BlogURL$>m/styles.css" />
9        <script type="text/javascript">
10            window.onload = function() {
11                setTimeout(scrollTo, 100, 0, 1);
12            }
13        </script>
14    </head>
15    <body>
16
17        <div id="header">
18        <mt:SetVarBlock name="prev_entry"><mt:EntryPrevious>1</mt:EntryPrevious></mt:SetVarBlock>
19        <mt:SetVarBlock name="next_entry"><mt:EntryNext>1</mt:EntryNext></mt:SetVarBlock>
20            <a rel="home" href="<$mt:BlogURL$>m/" class="navigation">Home</a>
21        <mt:If name="prev_entry">
22            <mt:EntryPrevious><a rel="prev" href="<$mt:BlogArchiveURL$>m/<$mt:EntryDate format="%Y/%m/"$><$mt:ArchiveFile separator="-"$>" class="navigation">Prev</a></mt:EntryPrevious>
23        <mt:Else>
24            <span rel="prev" class="navigation prev disable">Prev</span>
25        </mt:If>
26        <mt:If name="next_entry">
27            <mt:EntryNext><a rel="next" href="<$mt:BlogArchiveURL$>m/<$mt:EntryDate format="%Y/%m/"$><$mt:ArchiveFile separator="-"$>" class="navigation">Next</a></mt:EntryNext>
28        <mt:Else>
29            <span rel="next" class="navigation next disable">Next</span>
30        </mt:If>
31        </div>
32        <div id="content" class="entry">
33            <h1><$mt:EntryTitle$></h1>
34            <$mt:EntryBody$>
35            <$mt:EntryMore$>
36        </div>
37        <div id="footer">
38            <p>Powered by <a href="http://www.movabletype.com/" rel="generator"><$MTProductName$></a></p>
39        <mt:BlogIfCCLicense>
40            <p>This blog is licensed under a <a href="<$mt:BlogCCLicenseURL$>">Creative Commons License</a>.</p>
41        </mt:BlogIfCCLicense>
42        </div>
43    </body>
44</html>
45
Note: See TracBrowser for help on using the browser.