Show
Ignore:
Timestamp:
10/16/08 08:40:54 (14 months ago)
Author:
kaminogoya
Message:

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

Location:
trunk/iPhoneTemplateSet/plugins/iPhoneTemplateSet
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/iPhoneTemplateSet/plugins/iPhoneTemplateSet/config.yaml

    r1099 r1173  
    22name: iPhone Template Set 
    33l10n_class: iPhoneTemplateSet::L10N 
    4 description: Template set for iPhone/iPod Touch 
     4description: <__trans phrase="iPhone Template Set is building a suitable page for the display by iPhone/iPod touch."> 
    55author_name: Taichi Kamingoya 
    66author_link: http://2xup.org/ 
    77plugin_link: http://2xup.org/lab/mtplugins/templatesets/iphonetemplateset 
    8 version: 1.0 
     8version: 1.1 
    99 
    1010template_sets: 
  • trunk/iPhoneTemplateSet/plugins/iPhoneTemplateSet/lib/iPhoneTemplateSet/L10N.pm

    r1075 r1173  
    1 package Sample::iPhoneTemplateSet; 
     1package iPhoneTemplateSet::L10N; 
     2 
    23use strict; 
    3 use base 'MT::Plugin::iPhoneTemplateSet'; 
     4use base qw( MT::Plugin::L10N ); 
    45 
    561; 
  • trunk/iPhoneTemplateSet/plugins/iPhoneTemplateSet/lib/iPhoneTemplateSet/L10N/en_us.pm

    r1075 r1173  
    22 
    33use strict; 
    4 use base 'iPhoneTemplateSet::L10N'; 
     4use base qw( iPhoneTemplateSet::L10N ); 
    55use vars qw( %Lexicon ); 
    6 %Lexicon = ( 
     6 
     7our %Lexicon = ( 
    78); 
    89 
  • trunk/iPhoneTemplateSet/plugins/iPhoneTemplateSet/lib/iPhoneTemplateSet/L10N/ja.pm

    r1075 r1173  
    22 
    33use strict; 
    4 use base 'iPhoneTemplateSet::L10N::en_us'; 
     4use base qw( iPhoneTemplateSet::L10N::en_us ); 
    55use vars qw( %Lexicon ); 
    66 
    7 %Lexicon = ( 
    8 #Template Label 
     7our %Lexicon = ( 
     8    'iPhone Template Set is building a suitable page for the display by iPhone/iPod touch.' => 'iPhone Template Set は iPhone/iPod touch で閲芧するのに適したペヌゞを出力するテンプレヌトセットです。', 
     9    'Main Index (for iPhone)' => 'メむンペヌゞ (for iPhone)', 
     10    'Stylesheet (for iPhone)' => 'スタむルシヌト (for iPhone)', 
     11    'Entry (for iPhone)' => 'ブログ蚘事 (for iPhone)', 
    912); 
    1013 
  • trunk/iPhoneTemplateSet/plugins/iPhoneTemplateSet/templates/entry.mtml

    r1100 r1173  
    77        <title><$mt:EntryTitle$></title> 
    88        <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> 
    914    </head> 
    1015    <body> 
  • trunk/iPhoneTemplateSet/plugins/iPhoneTemplateSet/templates/index.mtml

    r1100 r1173  
    77        <title><$mt:BlogName$></title> 
    88        <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> 
    914    </head> 
    1015    <body>