_, so if I wanted to scroll to * dc=example,dc=com for server 3, the URL would be: * tree.php#3_dc%3Dexample%2Cdc%3Dcom */ require './common.php'; // no expire header stuff header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); // This allows us to display large sub-trees without running out of time. @set_time_limit( 0 ); // do we not have a tree and tree icons yet? Build a new ones. initialize_session_tree(); // get the tree and tree icons. $tree = $_SESSION['tree']; $tree_icons = $_SESSION['tree_icons']; // Close the session for faster page loading (we're done with session data anyway). pla_session_close(); include './header.php'; ?>

phpLDAPadmin -

<?php echo $lang['light']; ?> <?php echo $lang['bug']; ?>
<?php echo $lang['donate']; ?> <?php echo $lang['purge_cache']; ?>
<?php echo $lang['home']; ?> <?php echo $lang['help']; ?>
$server_tree ) { $is_visible = ( ! isset( $servers[ $server_id ][ 'visible' ] ) || ( $servers[ $server_id ][ 'visible' ] === true ) ); if( isset( $servers[ $server_id ] ) && trim( $servers[ $server_id ][ 'host' ] ) != '' && $is_visible ) { $filename = get_custom_file( $server_id, 'tree_functions.php' ); require_once( $filename ); call_custom_function( $server_id, 'draw_server_tree' ); } } ?>
"; print_r( $tree ); ?> '; for( $i=0; $i<=$level; $i++ ) { echo '' . "\n"; } // Shall we draw the "mass-delete" checkbox? if( mass_delete_enabled( $server_id ) ) { echo " \n"; } // is this node expanded? (deciding whether to draw "+" or "-") if( isset( $tree[$server_id][$dn] ) ) { ?> - + $limit ) $child_count = $limit . '+'; } } ?> img () 10 ) if( show_create_enabled( $server_id ) ) draw_create_link( $server_id, $rdn, $level, $encoded_dn ); foreach( $tree[$server_id][$dn] as $dn ) draw_tree_html( $dn, $server_id, $level+1 ); // Always draw the "create new" link at the bottom of the listing if( show_create_enabled( $server_id ) ) draw_create_link( $server_id, $rdn, $level, $encoded_dn ); } } function draw_create_link( $server_id, $rdn, $level, $encoded_dn ) { global $lang; // print the "Create New object" link. $create_html = ""; $create_href = "create_form.php?server_id=$server_id&container=$encoded_dn"; $create_html .= ''; for( $i=0; $i<=$level; $i++ ) { $create_html .= ''; } $create_html .= ''; $create_html .= '' . $lang['new'] . ''; $create_html .= '' . $lang['create_new'] . ''; $create_html .= ''; echo $create_html; } ?>