From: Ryo C. <ry...@il...> - 2004-09-19 19:16:26
|
Can you send this to me as a file attachment? THanks, Ryo On 9/19/2004, "David Fletcher" <Da...@me...> wrote: >IlohaMail-0.8.13/IlohaMail/source/edit_calendar.php gives start and end >dates for appointments, but these dates are always in the order month/day. > >It is better if this order matches the language setting. The attached >patch to edit_calendar.php makes it work. (Hopefully line wrapping doesn't m= ess this up!) > >Regards, > >David. > >180,181c180,183 >< =09=09=09<input type=3D"text" name=3D"start_month" value=3D"<?php echo $st= art_month ?>" size=3D2> >< =09=09=09/<input type=3D"text" name=3D"start_day" value=3D"<?php echo $sta= rt_day ?>" size=3D2> >--- >> =09=09=09<input type=3D"text" name=3D"<?php if($lang_datetime['thisyear'] = =3D=3D '%m/%d') echo 'start_month'; else echo 'start_day';?>" >> value=3D"<?php if($lang_datetime['thisyear'= ] =3D=3D '%m/%d') echo $start_month; else echo $start_day; ?>" size=3D2> >> =09=09=09/<input type=3D"text" name=3D"<?php if($lang_datetime['thisyear']= =3D=3D '%m/%d') echo 'start_day'; else echo 'start_month';?>" >> value=3D"<?php if($lang_datetime['thisyear'= ] =3D=3D '%m/%d') echo $start_day; else echo $start_month; ?>" size=3D2> >186,187c188,191 >< =09=09=09<input type=3D"text" name=3D"end_month" value=3D"<?php echo $end_= month ?>" size=3D2> >< =09=09=09/<input type=3D"text" name=3D"end_day" value=3D"<?php echo $end_d= ay ?>" size=3D2> >--- >> =09=09=09<input type=3D"text" name=3D"<?php if($lang_datetime['thisyear'] = =3D=3D '%m/%d') echo 'end_month'; else echo 'end_day';?>" >> value=3D"<?php if($lang_datetime['thisyear'= ] =3D=3D '%m/%d') echo $end_month; else echo $end_day; ?>" size=3D2> >> =09=09=09/<input type=3D"text" name=3D"<?php if($lang_datetime['thisyear']= =3D=3D '%m/%d') echo 'end_day'; else echo 'end_month';?>" >> value=3D"<?php if($lang_datetime['thisyear'= ] =3D=3D '%m/%d') echo $end_day; else echo $end_month; ?>" size=3D2> > > >------------------------------------------------------- >This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >Project Admins to receive an Apple iPod Mini FREE for your judgement on >who ports your project to Linux PPC the best. Sponsored by IBM. >Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >_______________________________________________ >Ilohamail-devel mailing list >Ilo...@li... >https://lists.sourceforge.net/lists/listinfo/ilohamail-devel |