--- drigg_ui_original.module	2009-07-08 23:54:27.000000000 +0200
+++ drigg_ui_original_edit.module	2009-07-08 23:56:59.000000000 +0200
@@ -927,7 +927,7 @@ function drigg_ui_order_menu() {
  * @return
  *   The top menu
 */
-function drigg_ui_type_menu() {
+function drigg_ui_type_menu($promote, $type) {
   $output = '';
   $selected_string = ' class="active" ';
 
@@ -935,6 +935,18 @@ function drigg_ui_type_menu() {
   $p1 = arg(1);
   $p2 = arg(2);
 
+// added by munikho, makes sure menu is also on the nodeview
+  if ($promote == '0' && $type == 'drigg') {
+    $p0 = 'upcoming';
+  }
+  if ($promote == '1' && $type == 'drigg') {
+    $p0 = 'published';
+  }
+// if it's a page, and not a driggnode, unselect.
+  if (arg(0) == 'node' && $type != 'drigg'){
+	$selected_string = '';
+  }
+
   // This will make sure that even the home page will work OK
   if ((arg(0) == 'node' || arg(0)== variable_get('drigg_home_name', 'drigg_home') ) && arg(1) == '' ) {
     $p0 = 'published';
@@ -948,10 +960,11 @@ function drigg_ui_type_menu() {
     $p2 = arg(0);
   }
 
-  // This avoids doing anything if the URL is incorrect
-  if ($p0 != 'published' && $p0 != 'upcoming' && $p0 != 'archived') {
-    return '';
-  }
+// disabled by munikho, otherwise menu doesn't show up.
+//  // This avoids doing anything if the URL is incorrect
+//  if ($p0 != 'published' && $p0 != 'upcoming' && $p0 != 'archived') {
+//    return '';
+//  }
 
   // Hide the "archived" menu entry, UNLESS you _ARE_ in "archived"
   if (variable_get('drigg_hide_archived_menu', FALSE) && $p0 != 'archived') {
