list_guid))) { $url = $list->getURL(); } elseif ($entity) { $url = $entity->getURL(); } $title = elgg_echo('tasks:navigation'); tasks_register_navigation_tree(elgg_get_page_owner_entity()); $content = elgg_view_menu('tasks_nav', array('class' => 'tasks-nav')); if (!$content) { $content = '
' . elgg_echo('tasks:none') . '
'; } echo elgg_view_module('aside', $title, $content); ?>