Implemented and working fine in 4.2.2. Thanks to the original owner.
I also added in a last 30 day option, with the following in order.tpl:
Quote:
<td width="5"><input type="radio" id="date_period_30" name="posted_data[date_period]" value="30"{if $search_prefilled.date_period eq "30"} checked="checked"{/if} onclick="javascript:managedate('date',true)" /></td>
<td class="OptionLabel"><label for="date_period_30">Last Thirty (30) Days</label></td>
|