<th><?php echo lang('duration'); ?> </th> <td><?php echo $experiment->duration; ?> </td> </tr> <tr> <th><?php echo lang('location'); ?> </th> <td><?php echo location_get_link($location); ?> </td> </tr> <tr> <th><?php echo lang('age_range'); ?> </th> <td><?php echo age_range($experiment); ?> </td> </tr> <tr> <th><?php
/** Returns the get link for a location */ function location_get_link_by_id($location_id) { $CI =& get_instance(); $location = $CI->locationModel->get_location_by_id($location_id); return location_get_link($location); }