# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/.cvsignore
--- moodle/.cvsignore No Base Revision
+++ moodle/.cvsignore Locally New
@@ -0,0 +1,3 @@
+config.php
+menutest.php
+check_deprecated.php
Index: moodle/blocks/navigation/styles.css
--- moodle/blocks/navigation/styles.css Base (1.9)
+++ moodle/blocks/navigation/styles.css Locally Modified (Based On 1.9)
@@ -13,7 +13,7 @@
 .block_navigation .block_tree .type_activity > .tree_item.branch {background-image:none;position:relative;}
 .block_navigation .block_tree .type_activity > .tree_item.branch img {position:absolute;left:0;}
 .block_navigation .block_tree .root_node.leaf {padding-left:0px;}
-.block_navigation .block_tree .current_branch {font-weight:bold;}
+.block_navigation .block_tree .active_tree_node {font-weight:bold;}
 .block_navigation .block_tree .depth_1.current_branch ul {font-weight:normal;}
 
 .jsenabled .block_navigation .block_tree .tree_item.branch {cursor:pointer;}
Index: moodle/blocks/settings/styles.css
--- moodle/blocks/settings/styles.css Base (1.5)
+++ moodle/blocks/settings/styles.css Locally Modified (Based On 1.5)
@@ -15,7 +15,7 @@
 
 .block_settings .block_tree .tree_item.branch {background-image: url([[pix:t/expanded]]);background-position: 0 10%;background-repeat: no-repeat;}
 .block_settings .block_tree .root_node.leaf {padding-left:0px;}
-.block_settings .block_tree .current_branch {font-weight:bold;}
\ No newline at end of file
+.block_settings .block_tree .active_tree_node {font-weight:bold;}
\ No newline at end of file
 .jsenabled .block_settings .block_tree .tree_item.branch {cursor:pointer;}
 .jsenabled .block_settings .block_tree .tree_item.emptybranch {background-image: url([[pix:t/collapsed_empty]]);background-position: 0 10%;background-repeat: no-repeat;}
 .jsenabled .block_settings .block_tree .collapsed ul {display: none;}
Index: moodle/lib/navigationlib.php
--- moodle/lib/navigationlib.php Base (1.204)
+++ moodle/lib/navigationlib.php Locally Modified (Based On 1.204)
@@ -3447,7 +3447,7 @@
         }
 
         // Blogs
-        if (!empty($CFG->bloglevel)) {
+        if ($currentuser && !empty($CFG->bloglevel)) {
             $blog = $usersetting->add(get_string('blogs', 'blog'), null, navigation_node::TYPE_CONTAINER, null, 'blogs');
             $blog->add(get_string('preferences', 'blog'), new moodle_url('/blog/preferences.php'), navigation_node::TYPE_SETTING);
             if (!empty($CFG->useexternalblogs) && $CFG->maxexternalblogsperuser > 0 && has_capability('moodle/blog:manageexternal', get_context_instance(CONTEXT_SYSTEM))) {
