2009-06-30 08:09:20 +00:00
|
|
|
<?php
|
2009-06-30 10:46:00 +00:00
|
|
|
// $Header: /cvsroot/phpldapadmin/phpldapadmin/htdocs/expand.php,v 1.26 2007/12/15 07:50:30 wurley Exp $
|
2009-06-30 09:22:30 +00:00
|
|
|
|
2009-06-30 09:29:51 +00:00
|
|
|
/**
|
2009-06-30 08:05:37 +00:00
|
|
|
* This script alters the session variable 'tree', expanding it
|
2009-06-30 09:29:51 +00:00
|
|
|
* at the dn specified in the query string.
|
2009-06-30 08:05:37 +00:00
|
|
|
*
|
|
|
|
* Note: this script is equal and opposite to collapse.php
|
2009-06-30 09:29:51 +00:00
|
|
|
* @package phpLDAPadmin
|
|
|
|
* @see collapse.php
|
|
|
|
*/
|
|
|
|
/**
|
2009-06-30 08:05:37 +00:00
|
|
|
*/
|
|
|
|
|
2009-06-30 09:22:30 +00:00
|
|
|
require './common.php';
|
|
|
|
|
2009-06-30 10:46:00 +00:00
|
|
|
$dn = get_request('dn','GET',true);
|
2009-06-30 10:26:08 +00:00
|
|
|
$tree = get_cached_item($ldapserver->server_id,'tree');
|
2009-06-30 10:46:00 +00:00
|
|
|
$entry = $tree->getEntry($dn);
|
|
|
|
$entry->open();
|
2009-06-30 10:26:08 +00:00
|
|
|
set_cached_item($ldapserver->server_id,'tree','null',$tree);
|
2009-06-30 08:07:14 +00:00
|
|
|
|
2009-06-30 10:46:00 +00:00
|
|
|
header(sprintf('Location:index.php?server_id=%s&junk=%s#%s%s',
|
|
|
|
$ldapserver->server_id,random_junk(),htmlid($ldapserver->server_id,$dn),pla_session_param()));
|
|
|
|
die();
|
2009-06-30 08:05:37 +00:00
|
|
|
?>
|