From a07b80a5f72085e9c2b21e4b8624ddd4829f75d2 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 16 Oct 2010 13:24:10 +0000 Subject: [PATCH] use new meta HTML classes and new buttons --- lam/lib/modules.inc | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 0597f1ca..7632c031 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -1482,17 +1482,24 @@ class accountContainer { else { $text = _("Account was modified successfully."); } - StatusMessage('INFO', _('LDAP operation successful.'), $text); + echo "
type."list-bright smallPaddingContent\">"; - echo "
\n"; - echo "type."list\" width=\"100%\" style=\"border-width:0px;\">
\n"; + $container = new htmlTable(); + $message = new htmlStatusMessage('INFO', _('LDAP operation successful.'), $text); + $message->colspan = 5; + $container->addElement($message, true); + $container->addElement(new htmlSpacer(null, '20px'), true); $type = new $this->type(); - echo "LABEL_CREATE_ANOTHER_ACCOUNT . "\"> \n"; - echo "LABEL_BACK_TO_ACCOUNT_LIST . "\"> \n"; - echo "    "; - echo "\n"; - echo "
\n"; + $container->addElement(new htmlButton('accountContainerCreateAgain', $type->LABEL_CREATE_ANOTHER_ACCOUNT)); + $container->addElement(new htmlButton('accountContainerBackToList', $type->LABEL_BACK_TO_ACCOUNT_LIST)); + $container->addElement(new htmlSpacer('10px', null)); + $container->addElement(new htmlButton('accountContainerCreatePDF', _('Create PDF file'))); + + $tabindex = 1; + parseHtml(null, $container, array(), false, $tabindex, $this->type); + + echo "
\n"; $this->printPageFooter(); }