2007-11-04 11:19:11 +00:00
< html >
< head >
< title > Docs for page tree.php< / title >
< link rel = "stylesheet" type = "text/css" href = "../../media/style.css" >
< / head >
< body >
< table border = "0" cellspacing = "0" cellpadding = "0" height = "48" width = "100%" >
< tr >
< td class = "header_top" > lists< / td >
< / tr >
< tr > < td class = "header_line" > < img src = "../../media/empty.png" width = "1" height = "1" border = "0" alt = "" / > < / td > < / tr >
< tr >
< td class = "header_menu" >
[ < a href = "../../classtrees_lists.html" class = "menu" > class tree: lists< / a > ]
[ < a href = "../../elementindex_lists.html" class = "menu" > index: lists< / a > ]
[ < a href = "../../elementindex.html" class = "menu" > all elements< / a > ]
< / td >
< / tr >
< tr > < td class = "header_line" > < img src = "../../media/empty.png" width = "1" height = "1" border = "0" alt = "" / > < / td > < / tr >
< / table >
< table width = "100%" border = "0" cellpadding = "0" cellspacing = "0" >
< tr valign = "top" >
< td width = "200" class = "menu" >
< div id = "ric" >
< p > < a href = "../../ric_README.html" > README< / a > < / p >
2008-01-06 18:15:35 +00:00
< p > < a href = "../../ric_INSTALL.html" > INSTALL< / a > < / p >
2007-11-04 11:19:11 +00:00
< / div >
< b > Packages:< / b > < br / >
< a href = "../../li_configuration.html" > configuration< / a > < br / >
< a href = "../../li_Help.html" > Help< / a > < br / >
< a href = "../../li_LDAP.html" > LDAP< / a > < br / >
< a href = "../../li_lib.html" > lib< / a > < br / >
< a href = "../../li_lists.html" > lists< / a > < br / >
< a href = "../../li_main.html" > main< / a > < br / >
< a href = "../../li_modules.html" > modules< / a > < br / >
< a href = "../../li_PDF.html" > PDF< / a > < br / >
< a href = "../../li_profiles.html" > profiles< / a > < br / >
< a href = "../../li_selfService.html" > selfService< / a > < br / >
< a href = "../../li_tests.html" > tests< / a > < br / >
< a href = "../../li_tools.html" > tools< / a > < br / >
< a href = "../../li_types.html" > types< / a > < br / >
< br / > < br / >
< b > Files:< / b > < br / >
< div class = "package" >
2008-01-06 18:15:35 +00:00
< a href = "../../lists/_templates---lists---changePassword.php.html" > changePassword.php
< / a > < br >
2007-11-04 11:19:11 +00:00
< a href = "../../lists/_templates---lists---deletelink.php.html" > deletelink.php
< / a > < br >
< a href = "../../lists/_templates---lists---list.php.html" > list.php
< / a > < br >
< a href = "../../lists/_lib---lists.inc.html" > lists.inc
< / a > < br >
< a href = "../../lists/_templates---lists---userlink.php.html" > userlink.php
< / a > < br >
< / div > < br / >
subpackage < b > tree< / b > < br > < div class = "package" >
< a href = "../../lists/tree/_templates---tree---add_attr.php.html" > add_attr.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---add_attr_form.php.html" > add_attr_form.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---add_oclass.php.html" > add_oclass.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---add_oclass_form.php.html" > add_oclass_form.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---add_value.php.html" > add_value.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---add_value_form.php.html" > add_value_form.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---collapse.php.html" > collapse.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---create.php.html" > create.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---create_form.php.html" > create_form.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---creation_template.php.html" > creation_template.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---templates---creation---custom.php.html" > custom.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---delete.php.html" > delete.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---delete_attr.php.html" > delete_attr.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---delete_form.php.html" > delete_form.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---download_binary_attr.php.html" > download_binary_attr.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---edit.php.html" > edit.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---expand.php.html" > expand.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---export.php.html" > export.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---export_form.php.html" > export_form.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---templates---creation---new_ou_template.php.html" > new_ou_template.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---rdelete.php.html" > rdelete.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---refresh.php.html" > refresh.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---templates---templates.inc.html" > templates.inc
< / a > < br >
< a href = "../../lists/tree/_lib---tree.inc.html" > tree.inc
< / a > < br >
< a href = "../../lists/tree/_templates---tree---tree.php.html" > tree.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---tree_view.php.html" > tree_view.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---update.php.html" > update.php
< / a > < br >
< a href = "../../lists/tree/_templates---tree---update_confirm.php.html" > update_confirm.php
< / a > < br >
< / div > < br / >
< b > Classes:< / b > < br / >
< div class = "package" >
2008-01-06 18:15:35 +00:00
< a href = "../../lists/lamBooleanListOption.html" > lamBooleanListOption< / a > < br / >
< a href = "../../lists/lamGroupList.html" > lamGroupList< / a > < br / >
2007-11-04 11:19:11 +00:00
< a href = "../../lists/lamHostList.html" > lamHostList< / a > < br / >
< a href = "../../lists/lamList.html" > lamList< / a > < br / >
2008-01-06 18:15:35 +00:00
< a href = "../../lists/lamListOption.html" > lamListOption< / a > < br / >
< a href = "../../lists/lamListTool.html" > lamListTool< / a > < br / >
2007-11-04 11:19:11 +00:00
< a href = "../../lists/lamMailAliasList.html" > lamMailAliasList< / a > < br / >
2008-01-06 18:15:35 +00:00
< a href = "../../lists/lamSelectListOption.html" > lamSelectListOption< / a > < br / >
2007-11-04 11:19:11 +00:00
< a href = "../../lists/lamSmbDomainList.html" > lamSmbDomainList< / a > < br / >
< a href = "../../lists/lamUserList.html" > lamUserList< / a > < br / >
< / div >
< / td >
< td >
< table cellpadding = "10" cellspacing = "0" width = "100%" border = "0" > < tr > < td valign = "top" >
< h1 > Procedural File: tree.php< / h1 >
Source Location: /templates/tree/tree.php< br / > < br / >
< br >
< br >
< h2 > Page Details:< / h2 >
This script displays the LDAP tree for all the servers that you have< br / > < br / > < p > in config.php. We read the session variable 'tree' to know which dns are expanded or collapsed. No query string parameters are expected, however, you can use a '#' offset to scroll to a given dn. The syntax is tree.php#< rawurlencoded dn> , 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< / p > < br / > < br / > < br / >
< h4 > Tags:< / h4 >
< div class = "tags" >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td > < b > author:< / b > < / td > < td > David Smith< / td >
< / tr >
< tr >
< td > < b > author:< / b > < / td > < td > Roland Gruber< / td >
< / tr >
< / table >
< / div >
< br / > < br / >
< h4 > Includes:< / h4 >
< div class = "tags" >
include_once('../../lib/security.inc') [line 47]< br / >
security functions< br / > < br / > include_once('../../lib/tree.inc') [line 49]< br / >
tree functions< br / > < br / > include_once('../../lib/ldap.inc') [line 53]< br / >
LDAP functions< br / > < br / > include_once('../../lib/config.inc') [line 51]< br / >
access to configuration< br / > < br / > < / div >
< br / > < br / >
< br / > < br / >
< br / >
< hr / >
< a name = "functiondraw_create_link" > < / a >
< h3 > draw_create_link < span class = "smalllinenumber" > [line 175]< / span > < / h3 >
< div class = "function" >
< table width = "90%" border = "0" cellspacing = "0" cellpadding = "1" > < tr > < td class = "code_border" >
< table width = "100%" border = "0" cellspacing = "0" cellpadding = "2" > < tr > < td class = "code" >
< code > void draw_create_link(
$rdn, $level, $encoded_dn)< / code >
< / td > < / tr > < / table >
< / td > < / tr > < / table > < br / >
< br / > < br / >
< h4 > Parameters< / h4 >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td class = "type" > < / td >
< td > < b > $rdn< / b > < / td >
< td > < / td >
< / tr >
< tr >
< td class = "type" > < / td >
< td > < b > $level< / b > < / td >
< td > < / td >
< / tr >
< tr >
< td class = "type" > < / td >
< td > < b > $encoded_dn< / b > < / td >
< td > < / td >
< / tr >
< / table >
< div class = "top" > [ < a href = "#top" > Top< / a > ]< / div > < br / > < br / >
< / div >
< hr / >
< a name = "functiondraw_tree_html" > < / a >
< h3 > draw_tree_html < span class = "smalllinenumber" > [line 102]< / span > < / h3 >
< div class = "function" >
< table width = "90%" border = "0" cellspacing = "0" cellpadding = "1" > < tr > < td class = "code_border" >
< table width = "100%" border = "0" cellspacing = "0" cellpadding = "2" > < tr > < td class = "code" >
< code > void draw_tree_html(
$dn, [ $level = 0])< / code >
< / td > < / tr > < / table >
< / td > < / tr > < / table > < br / >
Recursively descend on the given dn and draw the tree in html< br / > < br / > < br / > < br / >
< h4 > Parameters< / h4 >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td class = "type" > < / td >
< td > < b > $dn< / b > < / td >
< td > < / td >
< / tr >
< tr >
< td class = "type" > < / td >
< td > < b > $level< / b > < / td >
< td > < / td >
< / tr >
< / table >
< div class = "top" > [ < a href = "#top" > Top< / a > ]< / div > < br / > < br / >
< / div >
< div class = "credit" >
< hr / >
2008-01-06 18:15:35 +00:00
Documentation generated on Sun, 06 Jan 2008 18:59:35 +0100 by < a href = "http://www.phpdoc.org" > phpDocumentor 1.4.0< / a >
2007-11-04 11:19:11 +00:00
< / div >
< / td > < / tr > < / table >
< / td >
< / tr >
< / table >
< / body >
< / html >