$category_guid, "archived" => 1), "object", "news", 0, 10, false, false, true);
$category = get_koolielu_category($category_guid);
/*translation:Browse by category: */
$area2 .= "
" . elgg_echo("koolielu:heading_browse_by_category") . $category->title . "
";
} else if ($news_tag) {
$news_tag = urldecode($news_tag);
$objs = list_entities_from_metadata_multi(array("tags" => $news_tag, "archived" => 1), "object", "news", 0, 10, false, false, true);
/*translation:Browse by tag: */
$area2 .= "" . elgg_echo("koolielu:heading_browse_by_tag") . $news_tag . "
";
} else {
$objs = list_entities_from_metadata("archived", "1", "object", "news", 0, 10, false, false, true);
}
$area1 .= elgg_view("koolielu/ke_menu_categories_view");
if (!empty($objs)) {
$area2 .= elgg_view("koolielu/ke_rss_link_view");
$area2 .= $objs;
}
$body = elgg_view_layout('two_columns', $area1, $area2);
page_draw($title, $body);
?>