latest_tools_subjects; if ($chosen_subjects) { $subject_ids = split(",", $chosen_subjects); $tools = list_entities_from_metadata_and_subtypes(array("subjects" => $subject_ids), "object", array("tool"), 0, $limit, false, false, true); } else { $tools = list_entities("object", "tool", 0, 5, false, false, false); } if ($tools) { echo $tools; } else { /*translation:No tools found.*/ echo elgg_echo("koolielu:error_no_tools_found"); } ?>