Interchange Developer Resource


[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

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




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

_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: