Index: trunk/admin/logs/session_list.php =================================================================== diff -u -r746 -r822 --- trunk/admin/logs/session_list.php (.../session_list.php) (revision 746) +++ trunk/admin/logs/session_list.php (.../session_list.php) (revision 822) @@ -257,12 +257,30 @@ foreach($FilterLabels as $Bit=>$Label) { $objListView->AddViewMenuFilter($Label,$Bit); - } + } + +$filter = false; // always initialize variables before use +if($objSession->GetVariable("SessionSearchWord") != '') { + $filter = true; +} +else { + if ($SessionView != $Bit_All) { + $filter = true; + } +} $title = admin_language("la_Show_Log")." (".$objUsers->NumItems().")"; $h = "\n\n\n"; int_header($objListToolBar,NULL, $title,NULL,$h); -?> +if ($filter) { ?> + + + + +
+ +
+
PrintList();