use new meta HTML classes and new buttons

This commit is contained in:
Roland Gruber 2010-10-16 13:24:10 +00:00
parent ca4e3afac8
commit a07b80a5f7
1 changed files with 15 additions and 8 deletions

View File

@ -1482,17 +1482,24 @@ class accountContainer {
else { else {
$text = _("Account was modified successfully."); $text = _("Account was modified successfully.");
} }
StatusMessage('INFO', _('LDAP operation successful.'), $text); echo "<div class=\"".$this->type."list-bright smallPaddingContent\">";
echo "<br>\n"; $container = new htmlTable();
echo "<table class=\"".$this->type."list\" width=\"100%\" style=\"border-width:0px;\"><tr><td>\n"; $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(); $type = new $this->type();
echo "<input name=\"accountContainerCreateAgain\" type=\"submit\" value=\"" . $type->LABEL_CREATE_ANOTHER_ACCOUNT . "\"> \n"; $container->addElement(new htmlButton('accountContainerCreateAgain', $type->LABEL_CREATE_ANOTHER_ACCOUNT));
echo "<input name=\"accountContainerBackToList\" type=\"submit\" value=\"" . $type->LABEL_BACK_TO_ACCOUNT_LIST . "\"> \n"; $container->addElement(new htmlButton('accountContainerBackToList', $type->LABEL_BACK_TO_ACCOUNT_LIST));
echo "&nbsp;&nbsp;&nbsp;&nbsp;"; $container->addElement(new htmlSpacer('10px', null));
echo "<input name=\"accountContainerCreatePDF\" type=\"submit\" value=\"" . _('Create PDF file') . "\">\n"; $container->addElement(new htmlButton('accountContainerCreatePDF', _('Create PDF file')));
echo "</td></tr></table>\n";
$tabindex = 1;
parseHtml(null, $container, array(), false, $tabindex, $this->type);
echo "</div>\n";
$this->printPageFooter(); $this->printPageFooter();
} }