Changeset 16952

Show
Ignore:
Timestamp:
08/01/08 18:51:29 (5 years ago)
Author:
tomi-ru
Message:

メールから投稿機能

Location:
websites/mobilecat/trunk
Files:
2 added
2 modified

Legend:

Unmodified
Added
Removed
  • websites/mobilecat/trunk/lib/MobileCat/Controller/Settings.pm

    r16950 r16952  
    6464} 
    6565 
     66sub mailpost :Local { 
     67    my ($self, $c) = @_; 
     68    if ($c->req->body_params->{change}) { 
     69        $c->user->change_secret; 
     70        $c->stash(message => 'done'); 
     71    } 
     72} 
     73 
    6674sub bye :Local { 
    6775    my ($self, $c) = @_; 
  • websites/mobilecat/trunk/root/settings/index.tt

    r16950 r16952  
    66 
    77&#xE6D3;<a href="[% c.uri_for('mail') %]">メアド変更</a><br /> 
     8<img src="http://static.koneta.org/dot.gif" height="5" /><br /> 
     9 
     10&#xE719;<a href="[% c.uri_for('mailpost') %]">メールで投稿</a><br /> 
    811<img src="http://static.koneta.org/dot.gif" height="5" /><br /> 
    912