Changeset 20423
- Timestamp:
- 10/02/08 01:59:00 (5 years ago)
- Location:
- events/phpframework/akelos/trunk
- Files:
-
- 22 added
- 5 removed
- 17 modified
-
app/application_controller.php (modified) (1 diff)
-
app/controllers/account_controller.php (modified) (1 diff)
-
app/helpers/account_helper.php (modified) (1 diff)
-
app/locales/account (added)
-
app/locales/account/en.php (added)
-
app/locales/account/ja.php (added)
-
app/locales/help/en.php (modified) (1 diff)
-
app/locales/help/ja.php (modified) (1 diff)
-
app/locales/user/en.php (modified) (1 diff)
-
app/locales/user/ja.php (modified) (1 diff)
-
app/views/account/_form_signup.tpl (added)
-
app/views/account/sign_in.tpl (deleted)
-
app/views/account/sign_up.tpl (deleted)
-
app/views/account/signup.tpl (added)
-
app/views/application (added)
-
app/views/application/_footer.tpl (added)
-
app/views/help/_lang_select.tpl (added)
-
app/views/help/_sign_in.tpl (added)
-
app/views/help/what.tpl (modified) (1 diff)
-
app/views/layouts/_footer.tpl (added)
-
app/views/layouts/_header.tpl (added)
-
app/views/layouts/account.tpl (modified) (1 diff)
-
app/views/layouts/application.tpl (modified) (2 diffs)
-
app/views/layouts/application.tpl.backup (deleted)
-
app/views/layouts/help.tpl (modified) (1 diff)
-
app/views/user/signup.tpl (deleted)
-
config/locales/en.php (modified) (1 diff)
-
config/locales/ja.php (modified) (1 diff)
-
config/mailer.yml (deleted)
-
config/routes.php (modified) (1 diff)
-
tmp/views/app/views/account (added)
-
tmp/views/app/views/account/compiled (added)
-
tmp/views/app/views/account/compiled/signup.tpl.php (added)
-
tmp/views/app/views/application (added)
-
tmp/views/app/views/application/compiled (added)
-
tmp/views/app/views/application/compiled/_footer.tpl.php (added)
-
tmp/views/app/views/help/compiled/_lang_select.tpl.php (added)
-
tmp/views/app/views/help/compiled/_sign_in.tpl.php (added)
-
tmp/views/app/views/help/compiled/what.tpl.php (modified) (1 diff)
-
tmp/views/app/views/layouts/compiled/_footer.tpl.php (added)
-
tmp/views/app/views/layouts/compiled/_header.tpl.php (added)
-
tmp/views/app/views/layouts/compiled/account.tpl.php (added)
-
tmp/views/app/views/layouts/compiled/application.tpl.php (modified) (2 diffs)
-
tmp/views/app/views/layouts/compiled/help.tpl.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
events/phpframework/akelos/trunk/app/application_controller.php
r20121 r20423 3 3 { 4 4 // public $app_helpers = array('common'); 5 public function __construct()6 {7 parent::__construct();8 }9 10 5 protected function auth() 11 6 { -
events/phpframework/akelos/trunk/app/controllers/account_controller.php
r20367 r20423 3 3 class AccountController extends ApplicationController 4 4 { 5 public $model = 'User'; 6 5 7 public function signup() 6 8 { 9 $hoge = 'piyo'; 10 $this->hoge = 'piyo'; 7 11 } 8 12 -
events/phpframework/akelos/trunk/app/helpers/account_helper.php
r20367 r20423 4 4 { 5 5 } 6 7 ?> -
events/phpframework/akelos/trunk/app/locales/help/en.php
r20366 r20423 101 101 $dictionary['Japanese'] = 'Japanese'; 102 102 103 // 2008-10-01 17:26:36 104 105 106 $dictionary['Title'] = 'Title'; 107 103 108 104 109 ?> -
events/phpframework/akelos/trunk/app/locales/help/ja.php
r20366 r20423 101 101 $dictionary['Japanese'] = 'Japanese'; 102 102 103 // 2008-10-01 17:26:36 104 105 106 $dictionary['Title'] = 'Title'; 107 103 108 104 109 ?> -
events/phpframework/akelos/trunk/app/locales/user/en.php
r20269 r20423 50 50 $dictionary['Must match confirmation'] = 'Must match confirmation'; 51 51 52 // 2008-10-01 16:35:14 53 54 55 $dictionary['Name'] = 'Name'; 56 $dictionary['Image'] = 'Image'; 57 $dictionary['Is private'] = 'Is private'; 58 $dictionary['Is deleted'] = 'Is deleted'; 59 52 60 53 61 ?> -
events/phpframework/akelos/trunk/app/locales/user/ja.php
r20269 r20423 50 50 $dictionary['Must match confirmation'] = 'Must match confirmation'; 51 51 52 // 2008-10-01 16:35:14 53 54 55 $dictionary['Name'] = 'Name'; 56 $dictionary['Image'] = 'Image'; 57 $dictionary['Is private'] = 'Is private'; 58 $dictionary['Is deleted'] = 'Is deleted'; 59 52 60 53 61 ?> -
events/phpframework/akelos/trunk/app/views/help/what.tpl
r20366 r20423 1 </ul> 2 <div id="container"> 3 <div id="lang-select-front"> 4 <form action="/sessions/change_locale" id="lf" method="post" style="margin-top:2px"> 5 <div style="margin:0;padding:0"> 6 <input name="authenticity_token" type="hidden" value="e808747513e58ff7ff95fd3037ea6d2dbd6203bf" /> 7 </div> 8 <select name="lang" onchange="$('lf').submit();"> 9 <option value="" selected="selected">Select Language ... </option> 10 <option value="en">_{English}</option> 11 <option value="ja">_{Japanese}</option> 12 </select> 13 </form> 14 </div> 15 <h1 id="header"> 16 <%= link_to image_tag('twitter.png', :alt => 'Phwittr', :height => 49, :width => 210), {:controller => 'user', :action => 'home'}, :title => 'Phwittr Home' %> 17 </h1> 18 <div id="content"> 19 <div class="wrapper"> 20 <div class="intro"> 21 <h2>_{What is Phwittr?}</h2> 22 <ul id="menu"> 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> 26 </ul> 27 <%= image_tag 'tour_1.gif', :alt => 'What is Phwittr?', :class => 'tour', :height => 154, :width => 508 %> 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><%= link_to _('Get Started-join!'), {:controller => 'user', :action => 'signup'}, :id => 'signup_submit', :class => 'join' %></a></p> 30 </div> 31 <hr /> 32 <p><%= link_to "#{image_tag('arrow_on_red.gif')} #{_('Watch a video!')}", image_path('nomore.jpg'), :id => 'videobutton' %></p> 33 <form method="post" id="signin" action="https://twitter.com/sessions"> 34 <fieldset> 35 <legend>_{Please sign in}</legend> 36 <p> 37 <label class="inside" tabindex="1" for="username">_{user name or email address:}</label> 38 <input type="text" id="username" name="session[username_or_email]" value="" title="username" /> 39 </p> 40 <p> 41 <label class="inside" tabindex="2" for="password">_{Password}</label> 42 <input type="password" id="password" name="session[password]" value="" title="password" /> 43 </p> 44 <p class="remember"> 45 <input type="checkbox" id="remember" name="remember_me" value="1" /> 46 <label for="remember">_{Remember me}</label> 47 </p> 48 <p class="submit"> 49 <input type="submit" id="signin_submit" value="_{Sign In} »" /> 50 </p> 51 <p class="forgot">_{Forgot password?} <a id="resend_password_link" href="/account/resend_password">_{Click here.}</a>.</p> 52 </fieldset> 53 </form> 54 </div><!-- /wrapper --> 55 </div><!-- /content --> 56 <hr /> 57 <%= render :partial => 'what_is_phwittr' %> 58 <hr /> 59 <div id="footer" > 60 <h3>_{Footer}</h3> 61 <ul> 62 <li class="first">(G) 2008 Phwittr</li> 63 <li><a href="/help/aboutus">_{About Us}</a></li> 64 <li><a href="/help/contact">_{Contact}</a></li> 65 <li><a href="http://blog.twitter.jp">_{Blog}</a></li> 66 <li><a href="http://status.twitter.jp">_{Status}</a></li> 67 <li><a href="http://apiwiki.twitter.com/">_{API}</a></li> 68 <li><a href="http://search.twitter.com">_{Search}</a></li> 69 <li><a href="http://jptwitterhelp.blogspot.com">_{Help}</a></li> 70 <li><a href="/help/jobs">_{Jobs}</a></li> 71 <li><a href="/tos">_{TOS}</a></li> 72 <li><a href="/help/privacy">_{Privacy}</a></li> 73 </ul> 74 </div> 75 </div><!-- /container --> 1 <div id="content"> 2 <div class="wrapper"> 3 <div class="intro"> 4 <h2>_{What is Phwittr?}</h2> 5 <ul id="menu"> 6 <li class="act"><a href="/">_{What?}</a></li> 7 <li><a href="/help/why">_{Why?}</a></li> 8 <li><a href="/help/how">_{How?}</a></li> 9 </ul> 10 <%= image_tag 'tour_1.gif', :alt => 'What is Phwittr?', :class => 'tour', :height => 154, :width => 508 %> 11 _{<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>} 12 <p><%= link_to _('Get Started-join!'), {:controller => 'account', :action => 'signup'}, :id => 'signup_submit', :class => 'join' %></a></p> 13 </div> 14 <hr /> 15 <p><%= link_to "#{image_tag('arrow_on_red.gif')} #{_('Watch a video!')}", image_path('nomore.jpg'), :id => 'videobutton' %></p> 16 <%= render :partial => 'sign_in' %> 17 </div><!-- /wrapper --> 18 </div><!-- /content --> 19 <%= render :partial => 'what_is_phwittr' %> -
events/phpframework/akelos/trunk/app/views/layouts/account.tpl
r20269 r20423 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 4 <head> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 <title> 7 {settings-application_name} 8 </title> 9 <%= javascript_include_tag %> 10 <%= javascript_for_current_controller %> 11 <%= stylesheet_link_tag "account.css", :media=>'print,screen' %> 12 </head> 13 <body> 14 <div id="layout"> 15 <div id="canvas" class="login"> 16 17 <div id="header"> 18 <div id="site_name"> 19 <h1> 20 {settings-application_name} 21 </h1> 22 </div> 23 <div id="user_menu"> 24 <%= link_to _'sign in', :action => 'sign_in' %> 25 {?settings-account_settings-allow_sign_up} 26 _{or} 27 <%= link_to _'sign up', :action => 'sign_up' %> 28 {end} 29 </div> 30 <div class="cls"></div> 31 </div> 32 33 <div class="cls"></div> 34 <div id="content"> 35 <%= flash %> 36 {content_for_layout?} 37 </div> 38 </div> 39 </div> 40 </body> 41 </html> 1 <%= render :partial => 'layouts/header' %> 2 <body class="account"> 3 <div id="dim-screen"></div> 4 <div id="container" class="subpage"> 5 <h1 id="header"> 6 <%= link_to image_tag('twitter_logo_s.png', :width => 175), {:controller => 'user', :action => 'home'}, :title => 'Phwittr home' %> 7 </h1> 8 <div id="flash" style="display:none;"></div> 9 <div class="content-bubble-arrow"></div> 10 {content_for_layout} 11 <%= render :partial => 'application/footer' %> 12 <hr /> 13 </div> 14 </body> 15 <%= render :partial => 'layouts/footer' %> -
events/phpframework/akelos/trunk/app/views/layouts/application.tpl
r20135 r20423 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Language" content="en-us" /> 6 <meta name="description" content="Phwittr is a simple Twitter clone for PHP Framework Fight"> 7 <meta http-equiv="imagetoolbar" content="no"> 8 <meta name="viewport" content="width=780" /> 9 <title>Phwittr</title> 10 <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" /> 11 <link rel="apple-touch-icon" href="images/twitter_57.png" /> 12 <%= stylesheet_link_tag 'default' %> 13 <style type="text/css"> 14 body {background: #9ae4e8 url(<%= image_path 'bg.gif' %>) fixed no-repeat top left; } 15 div.content-bubble-arrow { margin-top: 6px; padding-top: 11px; background: url(<%= image_path 'arr2.gif' %>) no-repeat 25px 0px; } 16 </style> 17 <link rel="alternate" type="application/rss+xml" title="げん (RSS)" href="http://twitter.com/favorites/10319122.rss" /> 18 <link rel="alternate" type="application/atom+xml" title="げん (Atom)" href="http://twitter.com/favorites/10319122.atom" /> 19 </head> 20 21 <body class="account" id="profile" onload="registerResponders();"> 1 <%= render :partial => 'header' %> 2 <body class="front" id="profile" onload="registerResponders();"> 22 3 <div id="dim-screen"></div> 23 4 <div id="container" class="subpage"> … … 66 47 <hr /> 67 48 </div> 49 </body> 68 50 69 <%= javascript_include_tag %> 70 </body> 71 </html> 51 <%= render :partial => 'layouts/footer' %> -
events/phpframework/akelos/trunk/app/views/layouts/help.tpl
r20359 r20423 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Language" content="en" /> 6 <meta name="viewport" content="width=780" /> 7 <title>_{Phwittr: What are you doing?}</title> 8 <link rel="shortcut icon" href="" type="image/x-icon" /> 9 <%= stylesheet_link_tag 'default' %> 10 <style type="text/css"> 11 body {background: #9ae4e8 url(<%= image_path 'bg.gif' %>) fixed no-repeat top left; } 12 div.content-bubble-arrow { margin-top: 6px; padding-top: 11px; background: url(<%= image_path 'arr2.gif' %>) no-repeat 25px 0px; } 13 </style> 14 </head> 1 <%= render :partial => 'layouts/header' %> 15 2 <body id="front"> 16 {content_for_layout} 17 <%= javascript_include_tag %> 3 <div id="container"> 4 <%= render :partial => 'lang_select' %> 5 <h1 id="header"> 6 <%= link_to image_tag('twitter.png', :alt => 'Phwittr', :height => 49, :width => 210), {:controller => 'user', :action => 'home'}, :title => 'Phwittr Home' %> 7 </h1> 8 {content_for_layout} 9 <%= render :partial => 'application/footer' %> 10 <hr /> 11 </div><!-- /container --> 18 12 </body> 19 < /html>13 <%= render :partial => 'layouts/footer' %> -
events/phpframework/akelos/trunk/config/locales/en.php
r20366 r20423 321 321 $dictionary['You can\'t create classes within templates'] = 'You can\'t create classes within templates'; 322 322 323 // 2008-10-01 18:53:13 324 325 326 $dictionary['member variables'] = 'member variables'; 327 323 328 324 329 ?> -
events/phpframework/akelos/trunk/config/locales/ja.php
r20366 r20423 319 319 $dictionary['You can\'t create classes within templates'] = 'You can\'t create classes within templates'; 320 320 321 // 2008-10-01 18:53:13 322 323 324 $dictionary['member variables'] = 'member variables'; 325 321 326 322 327 ?> -
events/phpframework/akelos/trunk/config/routes.php
r20366 r20423 3 3 // You can find more about routes on /lib/AkRouters.php and /test/test_AkRouter.php 4 4 5 $Map->connect('/', array('controller' => 'help', 'action' => 'what')); 6 $Map->connect('/', array('controller' => 'user', 'action' => 'home')); 7 $Map->connect('/home', array('controller' => 'user', 'action' => 'home')); 8 $Map->connect('/login', array('controller' => 'user', 'action' => 'login')); 9 $Map->connect('/logout', array('controller' => 'user', 'action' => 'logout')); 10 $Map->connect('/signup', array('controller' => 'user', 'action' => 'signup')); 11 $Map->connect('/replies', array('controller' => 'user', 'action' => 'replies')); 12 $Map->connect('/friends', array('controller' => 'user', 'action' => 'friends')); 13 $Map->connect('/favorites', array('controller' => 'user', 'action' => 'favorites')); 14 $Map->connect('/public_timeline', array('controller' => 'status', 'action' => 'index')); 5 $Map->map('/', array('controller' => 'help', 'action' => 'what')); 6 $Map->map('/', array('controller' => 'user', 'action' => 'home')); 7 $Map->map('/home', array('controller' => 'user', 'action' => 'home')); 8 $Map->map('/login', array('controller' => 'user', 'action' => 'login')); 9 $Map->map('/logout', array('controller' => 'user', 'action' => 'logout')); 10 $Map->map('/signup', array('controller' => 'account', 'action' => 'signup')); 11 $Map->map('/signin', array('controller' => 'session', 'action' => 'signin')); 12 $Map->map('/signout', array('controller' => 'session', 'action' => 'signout')); 13 $Map->map('/replies', array('controller' => 'user', 'action' => 'replies')); 14 $Map->map('/friends', array('controller' => 'user', 'action' => 'friends')); 15 $Map->map('/favorites', array('controller' => 'user', 'action' => 'favorites')); 16 $Map->map('/public_timeline', array('controller' => 'status', 'action' => 'index')); 15 17 16 $Map-> connect('/:username', array('controller' => 'user', 'action' => 'home'));17 $Map-> connect('/:username/status/:id', array('controller' => 'status','action' => 'status'));18 $Map->map('/:username', array('controller' => 'user', 'action' => 'show')); 19 $Map->map('/:username/status/:id', array('controller' => 'status', 'action' => 'status')); 18 20 19 $Map-> connect('/:controller/:action/:id');21 $Map->map('/:controller/:action/:id', array('controller' => 'help', 'action' => 'what')); -
events/phpframework/akelos/trunk/tmp/views/app/views/help/compiled/what.tpl.php
r20366 r20423 1 </ul> 2 <div id="container"> 3 <div id="lang-select-front"> 4 <form action="/sessions/change_locale" id="lf" method="post" style="margin-top:2px"> 5 <div style="margin:0;padding:0"> 6 <input name="authenticity_token" type="hidden" value="e808747513e58ff7ff95fd3037ea6d2dbd6203bf" /> 7 </div> 8 <select name="lang" onchange="$('lf').submit();"> 9 <option value="" selected="selected">Select Language ... </option> 10 <option value="en"><?php echo $text_helper->translate('English', array()); ?></option> 11 <option value="ja"><?php echo $text_helper->translate('Japanese', array()); ?></option> 12 </select> 13 </form> 14 </div> 15 <h1 id="header"> 16 <?php echo $url_helper->link_to($asset_tag_helper->image_tag('twitter.png', array('alt' => 'Phwittr', 'height' => 49, 'width' => 210)), array('controller' => 'user', 'action' => 'home'), array('title' => 'Phwittr Home')); ?> 17 </h1> 18 <div id="content"> 19 <div class="wrapper"> 20 <div class="intro"> 21 <h2><?php echo $text_helper->translate('What is Phwittr?', array()); ?></h2> 22 <ul id="menu"> 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> 26 </ul> 27 <?php echo $asset_tag_helper->image_tag('tour_1.gif', array('alt' => 'What is Phwittr?', 'class' => 'tour', 'height' => 154, 'width' => 508)); ?> 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><?php echo $url_helper->link_to($text_helper->translate('Get Started-join!'), array('controller' => 'user', 'action' => 'signup'), array('id' => 'signup_submit', 'class' => 'join')); ?></a></p> 30 </div> 31 <hr /> 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> 33 <form method="post" id="signin" action="https://twitter.com/sessions"> 34 <fieldset> 35 <legend><?php echo $text_helper->translate('Please sign in', array()); ?></legend> 36 <p> 37 <label class="inside" tabindex="1" for="username"><?php echo $text_helper->translate('user name or email address:', array()); ?></label> 38 <input type="text" id="username" name="session[username_or_email]" value="" title="username" /> 39 </p> 40 <p> 41 <label class="inside" tabindex="2" for="password"><?php echo $text_helper->translate('Password', array()); ?></label> 42 <input type="password" id="password" name="session[password]" value="" title="password" /> 43 </p> 44 <p class="remember"> 45 <input type="checkbox" id="remember" name="remember_me" value="1" /> 46 <label for="remember"><?php echo $text_helper->translate('Remember me', array()); ?></label> 47 </p> 48 <p class="submit"> 49 <input type="submit" id="signin_submit" value="<?php echo $text_helper->translate('Sign In', array()); ?> »" /> 50 </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> 52 </fieldset> 53 </form> 54 </div><!-- /wrapper --> 55 </div><!-- /content --> 56 <hr /> 57 <?php echo $controller->render( array('partial' => 'what_is_phwittr')); ?> 58 <hr /> 59 <div id="footer" > 60 <h3><?php echo $text_helper->translate('Footer', array()); ?></h3> 61 <ul> 62 <li class="first">(G) 2008 Phwittr</li> 63 <li><a href="/help/aboutus"><?php echo $text_helper->translate('About Us', array()); ?></a></li> 64 <li><a href="/help/contact"><?php echo $text_helper->translate('Contact', array()); ?></a></li> 65 <li><a href="http://blog.twitter.jp"><?php echo $text_helper->translate('Blog', array()); ?></a></li> 66 <li><a href="http://status.twitter.jp"><?php echo $text_helper->translate('Status', array()); ?></a></li> 67 <li><a href="http://apiwiki.twitter.com/"><?php echo $text_helper->translate('API', array()); ?></a></li> 68 <li><a href="http://search.twitter.com"><?php echo $text_helper->translate('Search', array()); ?></a></li> 69 <li><a href="http://jptwitterhelp.blogspot.com"><?php echo $text_helper->translate('Help', array()); ?></a></li> 70 <li><a href="/help/jobs"><?php echo $text_helper->translate('Jobs', array()); ?></a></li> 71 <li><a href="/tos"><?php echo $text_helper->translate('TOS', array()); ?></a></li> 72 <li><a href="/help/privacy"><?php echo $text_helper->translate('Privacy', array()); ?></a></li> 73 </ul> 74 </div> 75 </div><!-- /container --> 1 <div id="content"> 2 <div class="wrapper"> 3 <div class="intro"> 4 <h2><?php echo $text_helper->translate('What is Phwittr?', array()); ?></h2> 5 <ul id="menu"> 6 <li class="act"><a href="/"><?php echo $text_helper->translate('What?', array()); ?></a></li> 7 <li><a href="/help/why"><?php echo $text_helper->translate('Why?', array()); ?></a></li> 8 <li><a href="/help/how"><?php echo $text_helper->translate('How?', array()); ?></a></li> 9 </ul> 10 <?php echo $asset_tag_helper->image_tag('tour_1.gif', array('alt' => 'What is Phwittr?', 'class' => 'tour', 'height' => 154, 'width' => 508)); ?> 11 <?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()); ?> 12 <p><?php echo $url_helper->link_to($text_helper->translate('Get Started-join!'), array('controller' => 'account', 'action' => 'signup'), array('id' => 'signup_submit', 'class' => 'join')); ?></a></p> 13 </div> 14 <hr /> 15 <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> 16 <?php echo $controller->render( array('partial' => 'sign_in')); ?> 17 </div><!-- /wrapper --> 18 </div><!-- /content --> 19 <?php echo $controller->render( array('partial' => 'what_is_phwittr')); ?> -
events/phpframework/akelos/trunk/tmp/views/app/views/layouts/compiled/application.tpl.php
r20135 r20423 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Language" content="en-us" /> 6 <meta name="description" content="Phwittr is a simple Twitter clone for PHP Framework Fight"> 7 <meta http-equiv="imagetoolbar" content="no"> 8 <meta name="viewport" content="width=780" /> 9 <title>Phwittr</title> 10 <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" /> 11 <link rel="apple-touch-icon" href="images/twitter_57.png" /> 12 <?php echo $asset_tag_helper->stylesheet_link_tag('default'); ?> 13 <style type="text/css"> 14 body {background: #9ae4e8 url(<?php echo $asset_tag_helper->image_path('bg.gif'); ?>) fixed no-repeat top left; } 15 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; } 16 </style> 17 <link rel="alternate" type="application/rss+xml" title="げん (RSS)" href="http://twitter.com/favorites/10319122.rss" /> 18 <link rel="alternate" type="application/atom+xml" title="げん (Atom)" href="http://twitter.com/favorites/10319122.atom" /> 19 </head> 20 21 <body class="account" id="profile" onload="registerResponders();"> 1 <?php echo $controller->render( array('partial' => 'header')); ?> 2 <body class="front" id="profile" onload="registerResponders();"> 22 3 <div id="dim-screen"></div> 23 4 <div id="container" class="subpage"> … … 66 47 <hr /> 67 48 </div> 49 </body> 68 50 69 <?php echo $asset_tag_helper->javascript_include_tag(); ?> 70 </body> 71 </html> 51 <?php echo $controller->render( array('partial' => 'layouts/footer')); ?> -
events/phpframework/akelos/trunk/tmp/views/app/views/layouts/compiled/help.tpl.php
r20359 r20423 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Language" content="en" /> 6 <meta name="viewport" content="width=780" /> 7 <title><?php echo $text_helper->translate('Phwittr: What are you doing?', array()); ?></title> 8 <link rel="shortcut icon" href="" type="image/x-icon" /> 9 <?php echo $asset_tag_helper->stylesheet_link_tag('default'); ?> 10 <style type="text/css"> 11 body {background: #9ae4e8 url(<?php echo $asset_tag_helper->image_path('bg.gif'); ?>) fixed no-repeat top left; } 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; } 13 </style> 14 </head> 1 <?php echo $controller->render( array('partial' => 'layouts/header')); ?> 15 2 <body id="front"> 16 <?php echo $content_for_layout; ?> 17 <?php echo $asset_tag_helper->javascript_include_tag(); ?> 3 <div id="container"> 4 <?php echo $controller->render( array('partial' => 'lang_select')); ?> 5 <h1 id="header"> 6 <?php echo $url_helper->link_to($asset_tag_helper->image_tag('twitter.png', array('alt' => 'Phwittr', 'height' => 49, 'width' => 210)), array('controller' => 'user', 'action' => 'home'), array('title' => 'Phwittr Home')); ?> 7 </h1> 8 <?php echo $content_for_layout; ?> 9 <?php echo $controller->render( array('partial' => 'application/footer')); ?> 10 <hr /> 11 </div><!-- /container --> 18 12 </body> 19 < /html>13 <?php echo $controller->render( array('partial' => 'layouts/footer')); ?>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)