Hello,
For create Year in Vhicle manager responsible code:
Code: |
<td valign="top" align="right">
<strong><?php echo _VEHICLE_MANAGER_LABEL_ISSUE_YEAR;?>:</strong>
</td>
<td align="left">
<select name="year" id="year" class="inputbox" size="1" >
<?php
print_r("<option value=''>");
print_r(_VEHICLE_MANAGER_OPTION_SELECT);
print_r("</option>");
$num=1900;
for($i= 0;$num<=date('Y');$i++)
{
print_r("<option value="");
print_r($num);
print_r(""");
if($num == $row->year){
print(" selected= "true" ");
}
print_r(">");
print_r($num);
print_r("</option>");
$num++;
}
?>
</select>
|
it located in admin part at file:
{yours site}/administrator/components/com_vehiclemanager/admin.vehiclemanager.html.php
as you see we take Year - from current site date.
Thanks,
OrdaSoft team