Changeset 20423 for events

Show
Ignore:
Timestamp:
10/02/08 01:59:00 (7 weeks ago)
Author:
gen
Message:

アカウントコントローラをごにょった

Location:
events/phpframework/akelos/trunk
Files:
22 added
5 removed
17 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/akelos/trunk/app/application_controller.php

    r20121 r20423  
    33{ 
    44//    public $app_helpers = array('common'); 
    5     public function __construct() 
    6     { 
    7         parent::__construct(); 
    8     } 
    9  
    105    protected function auth() 
    116    { 
  • events/phpframework/akelos/trunk/app/controllers/account_controller.php

    r20367 r20423  
    33class AccountController extends ApplicationController 
    44{ 
     5    public $model = 'User'; 
     6 
    57    public function signup() 
    68    { 
     9        $hoge = 'piyo'; 
     10        $this->hoge = 'piyo'; 
    711    } 
    812 
  • events/phpframework/akelos/trunk/app/helpers/account_helper.php

    r20367 r20423  
    44{ 
    55} 
    6  
    7 ?> 
  • events/phpframework/akelos/trunk/app/locales/help/en.php

    r20366 r20423  
    101101$dictionary['Japanese'] = 'Japanese'; 
    102102 
     103// 2008-10-01 17:26:36 
     104 
     105 
     106$dictionary['Title'] = 'Title'; 
     107 
    103108 
    104109?> 
  • events/phpframework/akelos/trunk/app/locales/help/ja.php

    r20366 r20423  
    101101$dictionary['Japanese'] = 'Japanese'; 
    102102 
     103// 2008-10-01 17:26:36 
     104 
     105 
     106$dictionary['Title'] = 'Title'; 
     107 
    103108 
    104109?> 
  • events/phpframework/akelos/trunk/app/locales/user/en.php

    r20269 r20423  
    5050$dictionary['Must match confirmation'] = 'Must match confirmation'; 
    5151 
     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 
    5260 
    5361?> 
  • events/phpframework/akelos/trunk/app/locales/user/ja.php

    r20269 r20423  
    5050$dictionary['Must match confirmation'] = 'Must match confirmation'; 
    5151 
     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 
    5260 
    5361?> 
  • 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 ...&nbsp;</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} &raquo;" /> 
    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();"> 
    223  <div id="dim-screen"></div> 
    234  <div id="container" class="subpage"> 
     
    6647    <hr /> 
    6748  </div> 
     49</body> 
    6850 
    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' %> 
    152<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 --> 
    1812</body> 
    19 </html> 
     13<%= render :partial => 'layouts/footer' %> 
  • events/phpframework/akelos/trunk/config/locales/en.php

    r20366 r20423  
    321321$dictionary['You can\'t create classes within templates'] = 'You can\'t create classes within templates'; 
    322322 
     323// 2008-10-01 18:53:13 
     324 
     325 
     326$dictionary['member variables'] = 'member variables'; 
     327 
    323328 
    324329?> 
  • events/phpframework/akelos/trunk/config/locales/ja.php

    r20366 r20423  
    319319$dictionary['You can\'t create classes within templates'] = 'You can\'t create classes within templates'; 
    320320 
     321// 2008-10-01 18:53:13 
     322 
     323 
     324$dictionary['member variables'] = 'member variables'; 
     325 
    321326 
    322327?> 
  • events/phpframework/akelos/trunk/config/routes.php

    r20366 r20423  
    33// You can find more about routes on /lib/AkRouters.php and /test/test_AkRouter.php 
    44 
    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')); 
    1517 
    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')); 
    1820 
    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 ...&nbsp;</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()); ?> &raquo;" /> 
    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();"> 
    223  <div id="dim-screen"></div> 
    234  <div id="container" class="subpage"> 
     
    6647    <hr /> 
    6748  </div> 
     49</body> 
    6850 
    69   <?php echo $asset_tag_helper->javascript_include_tag(); ?> 
    70 </body> 
    71 </html> 
     51<?php echo $controller->render( array('partial' => 'layouts/footer')); ?>