App-Cinema
view release on metacpan or search on metacpan
1.11 01/15/2010
- add image URL to item creation screen
- add "Latest Movies" to menu
- add event features to log user's action
- add search feature by textfield to the menu
1.12 01/19/2010
- namespace is changed to App::Cinema from MyApp
- add comments to each module
- modify /usr/add.tt2: users can choose their role either as user or admin
1.13 01/20/2010
- add POD to User.pm, Item.pm, Menu.pm, About.pm, Login.pm, Logout.pm, News.pm
- add 'News' features
1.14 01/25/2010
- add search by item, news, event, user
- move error message to yml
- Moose can work well with my app now.
- handle duplicated PK exception when adding a user
- add Moose class - App::Cinema::Event
1.15 01/29/2010
- add captcha
- switch db to mysql
inc/Module/Install/WriteAll.pm
lib/App/Cinema.pm
lib/App/Cinema/Controller/About.html
lib/App/Cinema/Controller/About.pm
lib/App/Cinema/Controller/Comment.pm
lib/App/Cinema/Controller/Event.pm
lib/App/Cinema/Controller/Item.html
lib/App/Cinema/Controller/Item.pm
lib/App/Cinema/Controller/Login.pm
lib/App/Cinema/Controller/Logout.pm
lib/App/Cinema/Controller/Menu.html
lib/App/Cinema/Controller/Menu.pm
lib/App/Cinema/Controller/News.html
lib/App/Cinema/Controller/News.pm
lib/App/Cinema/Controller/pod2htmd.tmp
lib/App/Cinema/Controller/pod2htmi.tmp
lib/App/Cinema/Controller/Root.pm
lib/App/Cinema/Controller/Test.pm
lib/App/Cinema/Controller/User.html
lib/App/Cinema/Controller/User.pm
lib/App/Cinema/Event.pm
lib/App/Cinema/Model/MD.html
lib/App/Cinema/Controller/Menu.pm view on Meta::CPAN
package App::Cinema::Controller::Menu;
use Moose;
use namespace::autoclean;
use Mail::Mailer;
use HTTP::Date qw/time2iso/;
BEGIN {
extends qw/Catalyst::Controller::FormBuilder/;
our $VERSION = $App::Cinema::VERSION;
}
lib/App/Cinema/Controller/Menu.pm view on Meta::CPAN
$c->flash->{message} = 'Your email was sent to sysadmin.';
$c->res->redirect( $c->uri_for('/menu/howto') );
}
}
1;
=head1 NAME
App::Cinema::Controller::Menu - A controller that handles the request for the MENU link.
=head1 SYNOPSIS
You can call its actions in any template files either
<a HREF="[% Catalyst.uri_for('/menu') %]">MENU</a>
or
<a HREF="[% base %]menu">MENU</a>
root/src/ttsite.css view on Meta::CPAN
}
.error {
color: [% site.col.error %];
}
.date {
color: red;
}
/* Menu */
#menu {
color: white;
width: 940px;
height: 50px;
margin: 0 auto;
background: #000000;
}
#menu ul {
root/static/rt.txt view on Meta::CPAN
| Catalyst::Plugin::Session::State::Cookie 0.17 |
| Catalyst::Plugin::Session::Store::FastMmap 0.13 |
| Catalyst::Plugin::StackTrace 0.11 |
'----------------------------------------------------------------------------'
[debug] Loaded components:
.-----------------------------------------------------------------+----------.
| Class | Type |
+-----------------------------------------------------------------+----------+
| App::Cinema::Controller::Comment | instance |
| App::Cinema::Controller::Item | instance |
| App::Cinema::Controller::Menu | instance |
| App::Cinema::Controller::News | instance |
| App::Cinema::Controller::Root | instance |
| App::Cinema::Controller::User | instance |
| App::Cinema::Model::MD | instance |
| App::Cinema::Model::MD::Comment | class |
| App::Cinema::Model::MD::Event | class |
| App::Cinema::Model::MD::Genre | class |
| App::Cinema::Model::MD::GenreItems | class |
| App::Cinema::Model::MD::Item | class |
| App::Cinema::Model::MD::News | class |
( run in 1.336 second using v1.01-cache-2.11-cpan-49f99fa48dc )