[ic] [fix] saved carts, doesnt format date, no image

Eduardo Dominguez interchange-users@interchange.redhat.com
Thu Sep 20 17:58:00 2001


Adding these two lines  

  my($day,$month,$year) = (localtime($last_update))[3,4,5];
  $last_update = sprintf("%04d-%02d-%02d",$year+1900,$month+1,$day);

right after:

  my($name,$last_update,$type) = split(':',$var);.. 

Also, the "delete" image doesnt show up. Adding this line after begin
content:
  [tmp myimagedir][image dir_only=1 ui=1][/tmp]

and this one after [perl] fixes that too:

   my($name,$last_update,$type) = split(':',$var);

Sorry I cant provide a patch against CVS, that component its just way
too modified and a patch would be harder.

--
edmz


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com