From: John Graham-C. <jgr...@us...> - 2005-12-20 20:13:17
|
Update of /cvsroot/popfile/engine/UI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23908/UI Modified Files: HTML.pm Log Message: Fix bug where the date format in the footer didn't change until a refresh when the language was changed Index: HTML.pm =================================================================== RCS file: /cvsroot/popfile/engine/UI/HTML.pm,v retrieving revision 1.363 retrieving revision 1.364 diff -C2 -d -r1.363 -r1.364 *** HTML.pm 20 Dec 2005 19:33:33 -0000 1.363 --- HTML.pm 20 Dec 2005 20:13:08 -0000 1.364 *************** *** 817,820 **** --- 817,823 ---- my ( $self, $client, $templ, $selected, $session ) = @_; + my $now = time; + $templ->param( 'Common_Bottom_Date' => $self->pretty_date__( $now, undef, $session ) ); + $selected = -1 if ( !defined( $selected ) ); *************** *** 3451,3457 **** # throughout POPFile's pages - my $now = time; my %fixups = ( 'Skin_Root' => $root, - 'Common_Bottom_Date' => $self->pretty_date__( $now, undef, $session ), 'Common_Bottom_LastLogin' => $self->{last_login__}, 'Common_Bottom_Version' => $self->version(), --- 3454,3458 ---- |