diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc
index 8a6aeabb..6b7674ec 100644
--- a/lam/lib/modules.inc
+++ b/lam/lib/modules.inc
@@ -1231,31 +1231,30 @@ class accountContainer {
return;
}
}
- if (checkIfWriteAccessIsAllowed()) {
- $this->printCommonControls();
- }
- echo " \n";
- // create module menu
echo "
type."list-bright\" border=0 width=\"100%\" style=\"border-collapse: collapse;\">\n";
- echo "type."list-bright\" valign=\"top\">";
+ if (checkIfWriteAccessIsAllowed()) {
+ echo " type."list-bright\">\n";
+ $this->printCommonControls();
+ echo " \n";
+ }
+ // create module menu
+ echo "type."list-bright\" valign=\"top\">";
+ echo '';
// tab menu
$this->printModuleTabs();
- echo "
\n";
+ echo "\n";
// content header
- echo "
type . "list-bright\">\n";
- echo "\n";
- $this->printContentHeader();
- echo " \n";
- echo " \n";
- echo "type . "list-bright\">\n";
+ $this->printContentHeader();
// content area
- echo "";
// display html-code from modules
$return = call_user_func(array($this->module[$this->order[$this->current_page]], 'display_html_'.$this->subpage));
$y = 5000;
parseHtml($this->order[$this->current_page], $return, array(), false, $y, $this->type);
+ echo "\n";
+ echo "\n";
+ echo " \n";
// Display rest of html-page
- echo "
\n";
+ echo "\n";
$this->printPageFooter();
}
@@ -1377,17 +1376,17 @@ class accountContainer {
* Prints common controls like the save button and the ou selection.
*/
private function printCommonControls() {
- echo "type."list\" style=\"border-width:0px;\" width=\"100%\">";
+ echo "";
+ echo "
";
+ ?>
+
+ ';
- echo '';
}
/**
@@ -1539,12 +1563,12 @@ class accountContainer {
echo "\n";
// display DN
if (isset($this->dn_orig) && ($this->dn_orig != '')) {
- echo _("DN") . ": " . htmlspecialchars($this->dn_orig) . " ";
+ echo _("DN") . ": " . htmlspecialchars($this->dn_orig);
}
echo " \n";
echo "\n";
echo _('Suffix') . ": ";
- echo "\n";
+ echo "\n";
// loop through all suffixes
$rootsuffix = $_SESSION['config']->get_Suffix($this->type);
foreach ($_SESSION['ldap']->search_units($rootsuffix) as $suffix) {