'; $js_dn_list = ''; foreach( $servers as $id => $server ) { $base_dn = $server['base'] ? $server['base'] : try_to_get_root_dn( $id ); $js_dn_list .= '"' . $server['base'] . '",'; if( $server['host'] ) { $server_menu_html .= ''; } } // trim off the trailing comma $js_dn_list = substr( $js_dn_list, 0, strlen($js_dn_list)-1 ); $server_menu_html .= ''; $filter = stripslashes( $_GET['filter'] ); $filter = utf8_encode($filter); $attr = stripslashes( $_GET['attribute'] ); // grab the base dn for the search if( isset( $_GET['base_dn'] ) ) $base_dn = $_GET['base_dn']; elseif( '' != $servers[$server_id]['base'] ) $base_dn = $servers[$server_id]['base']; else $base_dn = try_to_get_root_dn( $server_id ); $criterion = stripslashes( $_GET['criterion'] ); $form = stripslashes( $_GET['form'] ); $scope = $_GET['scope'] ? $_GET['scope'] : 'sub'; //echo "
";print_r( $_GET );echo ""; ?>
|