Changeset 20359
- Timestamp:
- 10/01/08 13:27:51 (3 months ago)
- Location:
- events/phpframework/akelos/trunk
- Files:
-
- 3 added
- 2 removed
- 12 modified
-
app/controllers/help_controller.php (modified) (1 diff)
-
app/installers/database_installer.php (deleted)
-
app/locales/help (added)
-
app/locales/help/en.php (added)
-
app/locales/help/ja.php (added)
-
app/views/help/_what_is_phwittr.tpl (modified) (1 diff)
-
app/views/help/what.tpl (modified) (3 diffs)
-
app/views/layouts/help.tpl (modified) (1 diff)
-
config/boot.php (modified) (1 diff)
-
config/config.php (modified) (1 diff)
-
config/locales/en.php (modified) (1 diff)
-
config/locales/ja.php (modified) (1 diff)
-
script/migrate_reset (modified) (1 diff)
-
tmp/installer_versions/development_database_version.txt (deleted)
-
tmp/views/app/views/help/compiled/_what_is_phwittr.tpl.php (modified) (1 diff)
-
tmp/views/app/views/help/compiled/what.tpl.php (modified) (3 diffs)
-
tmp/views/app/views/layouts/compiled/help.tpl.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
events/phpframework/akelos/trunk/app/controllers/help_controller.php
r20272 r20359 3 3 class HelpController extends ApplicationController 4 4 { 5 public $model = null; 6 public $models = array('Endoser'); 5 public $model = 'Introduction'; 7 6 8 //toppage9 7 public function what() 10 8 { -
events/phpframework/akelos/trunk/app/views/help/_what_is_phwittr.tpl
r20272 r20359 4 4 <li> 5 5 <blockquote> 6 <p>{ introduction.body}</p>6 <p>{_introduction.body}</p> 7 7 </blockquote> 8 <cite class="vcard">{ introduction.author}</cite>8 <cite class="vcard">{_introduction.author}</cite> 9 9 </li> 10 10 {end} -
events/phpframework/akelos/trunk/app/views/help/what.tpl
r20135 r20359 6 6 <input name="authenticity_token" type="hidden" value="e808747513e58ff7ff95fd3037ea6d2dbd6203bf" /> 7 7 </div> 8 <!--9 8 <select name="lang" onchange="$('lf').submit();"> 10 9 <option value="" selected="selected">Select Language ... </option> … … 12 11 <option value="ja">日本語</option> 13 12 </select> 14 -->15 13 </form> 16 14 </div> … … 21 19 <div class="wrapper"> 22 20 <div class="intro"> 23 <h2> Phwittrとは?</h2>21 <h2>_{What is Phwittr?}</h2> 24 22 <ul id="menu"> 25 <li class="act"><a href="/"> なに?</a></li>26 <li><a href="/help/why"> なぜ?</a></li>27 <li><a href="/help/how"> どうやって?</a></li>23 <li class="act"><a href="/">_{What?}</a></li> 24 <li><a href="/help/why">_{Why?}</a></li> 25 <li><a href="/help/how">_{How?}</a></li> 28 26 </ul> 29 27 <%= image_tag 'tour_1.gif', :alt => 'What is Phwittr?', :class => 'tour', :height => 154, :width => 508 %> 30 <p class="teaser">Twitterは<strong>「いまなにしてる?」</strong>という質問に短い文章で答えることによって、友だちや家族、職場の同僚とつながり合うサービスです。</p>31 <p><a id='signup_submit' class="join" href="/signup"> Phwittrに登録する</a></p>28 _{<p class="teaser">Phwittr is a service for friends, family, and co–workers to communicate and stay connected through the exchange of quick, frequent answers to one simple question: <strong> What are you doing?</strong></p>} 29 <p><a id='signup_submit' class="join" href="/signup">_{Get Started-join!}</a></p> 32 30 </div> 33 31 <hr /> 34 <p><%= link_to "#{image_tag('arrow_on_red.gif')} ビデオを観る!", image_path('nomore.jpg'), :id => 'videobutton' %></p>32 <p><%= link_to "#{image_tag('arrow_on_red.gif')} #{_('Watch a video!')}", image_path('nomore.jpg'), :id => 'videobutton' %></p> 35 33 <form method="post" id="signin" action="https://twitter.com/sessions"> 36 34 <fieldset> 37 <legend> ここからログイン</legend>35 <legend>_{Please sign in}</legend> 38 36 <p> 39 <label class="inside" tabindex="1" for="username"> ユーザー名かメールアドレス</label>37 <label class="inside" tabindex="1" for="username">_{user name or email address:}</label> 40 38 <input type="text" id="username" name="session[username_or_email]" value="" title="username" /> 41 39 </p> 42 40 <p> 43 <label class="inside" tabindex="2" for="password"> パスワード</label>41 <label class="inside" tabindex="2" for="password">_{Password}</label> 44 42 <input type="password" id="password" name="session[password]" value="" title="password" /> 45 43 </p> 46 44 <p class="remember"> 47 45 <input type="checkbox" id="remember" name="remember_me" value="1" /> 48 <label for="remember"> 次回から入力を省略する</label>46 <label for="remember">_{Remember me}</label> 49 47 </p> 50 48 <p class="submit"> 51 <input type="submit" id="signin_submit" value=" ログイン»" />49 <input type="submit" id="signin_submit" value="_{Sign In} »" /> 52 50 </p> 53 <p class="forgot">パスワードを忘れた?<br/> <a id="resend_password_link" href="/account/resend_password">ここをクリック</a>.</p> 54 <p class="complete">インスタントメッセンジャー(IM)ですでにTwitterを使っていますか? <a href="/account/complete">ここをクリック</a></p> 51 <p class="forgot">_{Forgot password?} <a id="resend_password_link" href="/account/resend_password">_{Click here.}</a>.</p> 55 52 </fieldset> 56 53 </form> -
events/phpframework/akelos/trunk/app/views/layouts/help.tpl
r20121 r20359 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Language" content="en -us" />5 <meta http-equiv="Content-Language" content="en" /> 6 6 <meta name="viewport" content="width=780" /> 7 <meta name="verify-v1" content="4FTTxY4uvo0RZTMQqIyhh18HsepyJOctQ+XTOu1zsfE=" /> 8 <title>Phittr: What are you doing?</title> 7 <title>_{Phwittr: What are you doing?}</title> 9 8 <link rel="shortcut icon" href="" type="image/x-icon" /> 10 9 <%= stylesheet_link_tag 'default' %> 11 <link href="http://assets2.twitter.com/stylesheets/lightwindow.css?1222396506" media="screen, projection" rel="stylesheet" type="text/css" />12 10 <style type="text/css"> 13 11 body {background: #9ae4e8 url(<%= image_path 'bg.gif' %>) fixed no-repeat top left; } 14 div.content-bubble-arrow { margin-top: 6px; padding-top: 11px; background: url( http://static.twitter.com/images/arr2.gif) no-repeat 25px 0px; }12 div.content-bubble-arrow { margin-top: 6px; padding-top: 11px; background: url(<%= image_path 'arr2.gif' %>) no-repeat 25px 0px; } 15 13 </style> 16 14 </head> -
events/phpframework/akelos/trunk/config/boot.php
r18146 r20359 23 23 require_once(AK_LIB_DIR.DS.'constants.php'); 24 24 25 require_once(AK_LIB_DIR.DS.'Ak.php'); 26 Ak::db()->Execute('SET NAMES utf8;'); 27 25 28 ?> -
events/phpframework/akelos/trunk/config/config.php
r20124 r20359 45 45 define('AK_PUBLIC_LOCALES', 'ja,en'); 46 46 47 defined('AK_FRAMEWORK_DIR') ? null : define('AK_FRAMEWORK_DIR', dirname(dirname(__FILE__))); 48 47 49 // The web configuration wizard could not detect if you have mod_rewrite enabled. 48 50 // If that is the case, you should uncomment the next line line for better performance. -
events/phpframework/akelos/trunk/config/locales/en.php
r20269 r20359 311 311 $dictionary['File %file exists.'] = 'File %file exists.'; 312 312 313 // 2008-10-01 12:36:06 314 315 316 $dictionary['methods'] = 'methods'; 317 313 318 314 319 ?> -
events/phpframework/akelos/trunk/config/locales/ja.php
r20269 r20359 309 309 $dictionary['File %file exists.'] = 'File %file exists.'; 310 310 311 // 2008-10-01 12:36:06 312 313 314 $dictionary['methods'] = 'methods'; 315 311 316 312 317 ?> -
events/phpframework/akelos/trunk/script/migrate_reset
r20269 r20359 6 6 sed -e 's/_installer\.php//g' 7 7 ) 8 resets='' 9 construct='' 10 destruct='' 8 11 9 while read line 12 10 do 13 if [ "$line" = "database" ] 14 $construct << 15 then 16 else 17 echo $line 18 fi 11 script/migrate $line uninstall 12 script/migrate $line install 19 13 done <<END 20 14 $installers -
events/phpframework/akelos/trunk/tmp/views/app/views/help/compiled/_what_is_phwittr.tpl.php
r20124 r20359 2 2 <ul> 3 3 <?php 4 empty($ endosers) ? null : $endoser_loop_counter = 0;5 empty($ endosers) ? null : $endosers_available = count($endosers);6 if(!empty($ endosers))7 foreach ($ endosers as $endoser_loop_key=>$endoser){8 $ endoser_loop_counter++;9 $ endoser_is_first = $endoser_loop_counter === 1;10 $ endoser_is_last = $endoser_loop_counter === $endosers_available;11 $ endoser_odd_position = $endoser_loop_counter%2;4 empty($introductions) ? null : $introduction_loop_counter = 0; 5 empty($introductions) ? null : $introductions_available = count($introductions); 6 if(!empty($introductions)) 7 foreach ($introductions as $introduction_loop_key=>$introduction){ 8 $introduction_loop_counter++; 9 $introduction_is_first = $introduction_loop_counter === 1; 10 $introduction_is_last = $introduction_loop_counter === $introductions_available; 11 $introduction_odd_position = $introduction_loop_counter%2; 12 12 ?> 13 13 <li> 14 14 <blockquote> 15 <p><?php echo $endoser->body; ?></p>15 <p><?php echo empty($introduction->body) || is_object($introduction->body) ? '' : $text_helper->translate($introduction->body); ?></p> 16 16 </blockquote> 17 <cite class="vcard"><?php echo $endoser->author; ?></cite>17 <cite class="vcard"><?php echo empty($introduction->author) || is_object($introduction->author) ? '' : $text_helper->translate($introduction->author); ?></cite> 18 18 </li> 19 19 <?php } ?> -
events/phpframework/akelos/trunk/tmp/views/app/views/help/compiled/what.tpl.php
r20135 r20359 6 6 <input name="authenticity_token" type="hidden" value="e808747513e58ff7ff95fd3037ea6d2dbd6203bf" /> 7 7 </div> 8 <!--9 8 <select name="lang" onchange="$('lf').submit();"> 10 9 <option value="" selected="selected">Select Language ... </option> … … 12 11 <option value="ja">日本語</option> 13 12 </select> 14 -->15 13 </form> 16 14 </div> … … 21 19 <div class="wrapper"> 22 20 <div class="intro"> 23 <h2> Phwittrとは?</h2>21 <h2><?php echo $text_helper->translate('What is Phwittr?', array()); ?></h2> 24 22 <ul id="menu"> 25 <li class="act"><a href="/"> なに?</a></li>26 <li><a href="/help/why"> なぜ?</a></li>27 <li><a href="/help/how"> どうやって?</a></li>23 <li class="act"><a href="/"><?php echo $text_helper->translate('What?', array()); ?></a></li> 24 <li><a href="/help/why"><?php echo $text_helper->translate('Why?', array()); ?></a></li> 25 <li><a href="/help/how"><?php echo $text_helper->translate('How?', array()); ?></a></li> 28 26 </ul> 29 27 <?php echo $asset_tag_helper->image_tag('tour_1.gif', array('alt' => 'What is Phwittr?', 'class' => 'tour', 'height' => 154, 'width' => 508)); ?> 30 < p class="teaser">Twitterは<strong>「いまなにしてる?」</strong>という質問に短い文章で答えることによって、友だちや家族、職場の同僚とつながり合うサービスです。</p>31 <p><a id='signup_submit' class="join" href="/signup"> Phwittrに登録する</a></p>28 <?php echo $text_helper->translate('<p class="teaser">Phwittr is a service for friends, family, and co–workers to communicate and stay connected through the exchange of quick, frequent answers to one simple question: <strong> What are you doing?</strong></p>', array()); ?> 29 <p><a id='signup_submit' class="join" href="/signup"><?php echo $text_helper->translate('Get Started-join!', array()); ?></a></p> 32 30 </div> 33 31 <hr /> 34 <p><?php echo $url_helper->link_to("".$asset_tag_helper->image_tag('arrow_on_red.gif')." ビデオを観る!", $asset_tag_helper->image_path('nomore.jpg'), array('id' => 'videobutton')); ?></p>32 <p><?php echo $url_helper->link_to("".$asset_tag_helper->image_tag('arrow_on_red.gif')." ".$text_helper->translate('Watch a video!')."", $asset_tag_helper->image_path('nomore.jpg'), array('id' => 'videobutton')); ?></p> 35 33 <form method="post" id="signin" action="https://twitter.com/sessions"> 36 34 <fieldset> 37 <legend> ここからログイン</legend>35 <legend><?php echo $text_helper->translate('Please sign in', array()); ?></legend> 38 36 <p> 39 <label class="inside" tabindex="1" for="username"> ユーザー名かメールアドレス</label>37 <label class="inside" tabindex="1" for="username"><?php echo $text_helper->translate('user name or email address:', array()); ?></label> 40 38 <input type="text" id="username" name="session[username_or_email]" value="" title="username" /> 41 39 </p> 42 40 <p> 43 <label class="inside" tabindex="2" for="password"> パスワード</label>41 <label class="inside" tabindex="2" for="password"><?php echo $text_helper->translate('Password', array()); ?></label> 44 42 <input type="password" id="password" name="session[password]" value="" title="password" /> 45 43 </p> 46 44 <p class="remember"> 47 45 <input type="checkbox" id="remember" name="remember_me" value="1" /> 48 <label for="remember"> 次回から入力を省略する</label>46 <label for="remember"><?php echo $text_helper->translate('Remember me', array()); ?></label> 49 47 </p> 50 48 <p class="submit"> 51 <input type="submit" id="signin_submit" value=" ログイン»" />49 <input type="submit" id="signin_submit" value="<?php echo $text_helper->translate('Sign In', array()); ?> »" /> 52 50 </p> 53 <p class="forgot">パスワードを忘れた?<br/> <a id="resend_password_link" href="/account/resend_password">ここをクリック</a>.</p> 54 <p class="complete">インスタントメッセンジャー(IM)ですでにTwitterを使っていますか? <a href="/account/complete">ここをクリック</a></p> 51 <p class="forgot"><?php echo $text_helper->translate('Forgot password?', array()); ?> <a id="resend_password_link" href="/account/resend_password"><?php echo $text_helper->translate('Click here.', array()); ?></a>.</p> 55 52 </fieldset> 56 53 </form> -
events/phpframework/akelos/trunk/tmp/views/app/views/layouts/compiled/help.tpl.php
r20121 r20359 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Language" content="en -us" />5 <meta http-equiv="Content-Language" content="en" /> 6 6 <meta name="viewport" content="width=780" /> 7 <meta name="verify-v1" content="4FTTxY4uvo0RZTMQqIyhh18HsepyJOctQ+XTOu1zsfE=" /> 8 <title>Phittr: What are you doing?</title> 7 <title><?php echo $text_helper->translate('Phwittr: What are you doing?', array()); ?></title> 9 8 <link rel="shortcut icon" href="" type="image/x-icon" /> 10 9 <?php echo $asset_tag_helper->stylesheet_link_tag('default'); ?> 11 <link href="http://assets2.twitter.com/stylesheets/lightwindow.css?1222396506" media="screen, projection" rel="stylesheet" type="text/css" />12 10 <style type="text/css"> 13 11 body {background: #9ae4e8 url(<?php echo $asset_tag_helper->image_path('bg.gif'); ?>) fixed no-repeat top left; } 14 div.content-bubble-arrow { margin-top: 6px; padding-top: 11px; background: url( http://static.twitter.com/images/arr2.gif) no-repeat 25px 0px; }12 div.content-bubble-arrow { margin-top: 6px; padding-top: 11px; background: url(<?php echo $asset_tag_helper->image_path('arr2.gif'); ?>) no-repeat 25px 0px; } 15 13 </style> 16 14 </head>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)