Hi,
For add new "vehicle type" in vehicle Manager
Please open file admin.vehiclemanager.php
and find in it function: editVehicle
and in it change code:
Code: |
//Select list for vehicle type
$vehicletype[] = mosHtml::makeOption('sedan',_VEHICLE_MANAGER_OPTION_SEDAN);
$vehicletype[] = mosHtml::makeOption('convertible',_VEHICLE_MANAGER_OPTION_CONVERTIBLE);
$vehicletype[] = mosHtml::makeOption('coupe',_VEHICLE_MANAGER_OPTION_COUPE);
$vehicletype[] = mosHtml::makeOption('crossover',_VEHICLE_MANAGER_OPTION_CROSSOVER);
$vehicletype[] = mosHtml::makeOption('hatchback',_VEHICLE_MANAGER_OPTION_HATCHBACK);
$vehicletype[] = mosHtml::makeOption('pickup',_VEHICLE_MANAGER_OPTION_PICKUP);
$vehicletype[] = mosHtml::makeOption('suv',_VEHICLE_MANAGER_OPTION_SUV);
$vehicletype[] = mosHtml::makeOption('truck',_VEHICLE_MANAGER_OPTION_TRUCK);
$vehicletype[] = mosHtml::makeOption('wagon',_VEHICLE_MANAGER_OPTION_WAGON);
$vehicle_type_list = mosHTML :: selectList($vehicletype, 'vtype', 'class="inputbox" size="1"', 'value', 'text', $vehicle->vtype);
|
Thanks,
OrdaSoft team