diff options
author | Buchan Milne <buchan@mageia.org> | 2010-11-04 11:59:43 +0000 |
---|---|---|
committer | Buchan Milne <buchan@mageia.org> | 2010-11-04 11:59:43 +0000 |
commit | f867429bab6efe18a21c4fd531ecbe4eff8cff40 (patch) | |
tree | 79950a5bc6548e151b149022def27119811accf4 /lib/CatDap/View | |
parent | 171bd5f8e175faa05549ff53ed43e134a5543354 (diff) | |
download | identity-f867429bab6efe18a21c4fd531ecbe4eff8cff40.tar identity-f867429bab6efe18a21c4fd531ecbe4eff8cff40.tar.gz identity-f867429bab6efe18a21c4fd531ecbe4eff8cff40.tar.bz2 identity-f867429bab6efe18a21c4fd531ecbe4eff8cff40.tar.xz identity-f867429bab6efe18a21c4fd531ecbe4eff8cff40.zip |
Switch to View::Email::Template for emails
Complete password reset by admin, and localise in user's preferredLanguage
Localise all /user content
Require re-entry of current password on password change
Clean up debugging
Diffstat (limited to 'lib/CatDap/View')
-rw-r--r-- | lib/CatDap/View/TT.pm | 2 | ||||
-rw-r--r-- | lib/CatDap/View/Web.pm | 38 |
2 files changed, 39 insertions, 1 deletions
diff --git a/lib/CatDap/View/TT.pm b/lib/CatDap/View/TT.pm index f63d775..873b7e1 100644 --- a/lib/CatDap/View/TT.pm +++ b/lib/CatDap/View/TT.pm @@ -8,7 +8,7 @@ use base 'Catalyst::View::TT'; __PACKAGE__->config( TEMPLATE_EXTENSION => '.tt', render_die => 1, - WRAPPER => 'template/wrapper', + #WRAPPER => 'template/wrapper', PRE_PROCESS => 'template/pre', ); diff --git a/lib/CatDap/View/Web.pm b/lib/CatDap/View/Web.pm new file mode 100644 index 0000000..f327443 --- /dev/null +++ b/lib/CatDap/View/Web.pm @@ -0,0 +1,38 @@ +package CatDap::View::Web; + +use strict; +use warnings; + +use base 'Catalyst::View::TT'; + +__PACKAGE__->config( + TEMPLATE_EXTENSION => '.tt', + render_die => 1, + WRAPPER => 'template/wrapper', + PRE_PROCESS => 'template/pre', +); + +=head1 NAME + +CatDap::View::Web - Web View for CatDap + +=head1 DESCRIPTION + +Web View for CatDap. + +=head1 SEE ALSO + +L<CatDap> + +=head1 AUTHOR + +Buchan Milne + +=head1 LICENSE + +This library is free software. You can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut + +1; |