diff --git a/lam/templates/ou_edit.php b/lam/templates/ou_edit.php index 89902520..9f7e0b01 100644 --- a/lam/templates/ou_edit.php +++ b/lam/templates/ou_edit.php @@ -320,12 +320,6 @@ exit; else display_main(); function display_main() { - // generate lists of possible suffixes - $usr_units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_UserSuffix()); - $grp_units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_GroupSuffix()); - $hst_units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_HostSuffix()); - $dom_units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_DomainSuffix()); - // display main page echo $_SESSION['header']; echo ("OU-Editor\n"); @@ -336,136 +330,152 @@ function display_main() { echo ("
\n"); // user OUs - echo ("
" . _("Users") . "\n"); - echo ("\n"); - // new OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - // delete OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("
" . _("New organizational unit") . ": \n"); + // new OU + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + // delete OU + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("
" . _("New organizational unit") . ": \n"); + echo ("". _("Help") ."
" . _("Delete organizational unit") . ": \n"); + echo (" ". _("Help") ."
\n"); + echo ("\n"); + echo ("
\n"); } - echo ("
\n"); - echo ("". _("Help") ."
" . _("Delete organizational unit") . ": \n"); - echo (" ". _("Help") ."
\n"); - echo ("
\n"); - echo ("
\n"); // group OUs - echo ("
" . _("Groups") . "\n"); - echo ("\n"); - // new OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - // delete OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("
" . _("New organizational unit") . ": \n"); + // new OU + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + // delete OU + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("
" . _("New organizational unit") . ": \n"); + echo ("". _("Help") ."
" . _("Delete organizational unit") . ": \n"); + echo (" ". _("Help") ."
\n"); + echo ("\n"); + echo ("
\n"); } - echo ("
\n"); - echo ("". _("Help") ."
" . _("Delete organizational unit") . ": \n"); - echo (" ". _("Help") ."
\n"); - echo ("
\n"); - echo ("
\n"); // host OUs - echo ("
" . _("Samba Hosts") . "\n"); - echo ("\n"); - // new OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - // delete OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("
" . _("New organizational unit") . ": \n"); + // new OU + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + // delete OU + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("
" . _("New organizational unit") . ": \n"); + echo ("". _("Help") ."
" . _("Delete organizational unit") . ": \n"); + echo (" ". _("Help") ."
\n"); + echo ("\n"); + echo ("
\n"); } - echo ("
\n"); - echo ("". _("Help") ."
" . _("Delete organizational unit") . ": \n"); - echo (" ". _("Help") ."
\n"); - echo ("
\n"); - echo ("
\n"); // domain OUs - echo ("
" . _("Domains") . "\n"); - echo ("\n"); - // new OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - // delete OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("
" . _("New organizational unit") . ": \n"); + // new OU + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + // delete OU + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("\n"); + echo ("
" . _("New organizational unit") . ": \n"); + echo ("". _("Help") ."
" . _("Delete organizational unit") . ": \n"); + echo (" ". _("Help") ."
\n"); + echo ("\n"); + echo ("
\n"); } - echo ("
\n"); - echo ("". _("Help") ."
" . _("Delete organizational unit") . ": \n"); - echo (" ". _("Help") ."
\n"); - echo ("
\n"); - echo ("
\n"); echo (""); echo ("
\n");