}\r
\r
if (isset($_current_user) && $_current_user->isAuthor($_course_id)) {\r
- if ($content_row['content_type'] == CONTENT_TYPE_CONTENT) {\r
+ if ($content_row['content_type'] == CONTENT_TYPE_CONTENT || $content_row['content_type'] == CONTENT_TYPE_WEBLINK) {\r
$tool_shortcuts[] = array(\r
'title' => _AT('edit_this_page'), \r
'url' => $_base_href . 'home/editor/edit_content.php?_cid='.$content_row['content_id'],\r
'icon' => $_base_href . 'images/add_sibling_folder.gif');\r
}\r
\r
- if ($content_row['content_type'] == CONTENT_TYPE_FOLDER) {\r
+ if ($content_row['content_type'] == CONTENT_TYPE_FOLDER || $content_row['content_type'] == CONTENT_TYPE_WEBLINK) {\r
$tool_shortcuts[] = array(\r
'title' => _AT('add_sub_folder'), \r
'url' => $_base_href .\r