/[Arh]/lib/Arh/Web/Form/Field/Upload.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /lib/Arh/Web/Form/Field/Upload.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 53 - (hide annotations)
Sun Apr 6 20:49:32 2008 UTC (16 years ago) by dpavlin
File size: 381 byte(s)
fix various bugs to make picture upload from unit page to work
1 dpavlin 53 package Arh::Web::Form::Field::Upload;
2    
3     use strict;
4     use warnings;
5    
6     use base 'Jifty::Web::Form::Field::Upload';
7    
8     use Data::Dump qw/dump/;
9    
10     =head1 NAME Arh::Web::Form::Field::Upload
11    
12     Upload widget which shows thumbnail of image
13    
14     =head2 render_value
15    
16     =cut
17    
18     sub render_value {
19     my $self = shift;
20    
21     Jifty->web->out( '[' . length( $self->current_value ) . ' bytes]' );
22     return '';
23     }
24    
25     1;

  ViewVC Help
Powered by ViewVC 1.1.26