Skip to content
Snippets Groups Projects
Commit ce063f42 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

hide the 'browse' tab

parent 2f224e4e
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,14 @@ function browser_init() {
add_widget_type('browsewidget',elgg_echo("browse"),elgg_echo('browse:widget:description'));
// Set up menu for logged in users
register_translations($CONFIG->pluginspath . "browse/languages/");
if (isloggedin()) {
add_menu(elgg_echo('browse'), $CONFIG->wwwroot ."pg/browse");
}
/* Hiding the Browse Tab
if (isloggedin()) {
add_menu(elgg_echo('browse'), $CONFIG->wwwroot ."pg/browse");
}
*/
register_page_handler('browse','browser_page_handler');
}
function browser_page_handler($page) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment