BUG 5864: Solved and improved

This commit is contained in:
Erik Amaru Ortiz
2011-01-13 23:14:20 +00:00
parent 7668679051
commit 40172b33db
5 changed files with 727 additions and 851 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -68,7 +68,12 @@ $rows[] = array ( 'uid' => 'MAIL', 'name' => 'Mail (PHP)' );
$_DBArray['mails'] = $rows;
$_SESSION['_DBArray'] = $_DBArray;
$trn = G::getTranslations(Array('ID_SUCESS', 'ID_FAIL', ''));
$G_PUBLISH = new Publisher;
$oHeadPublisher = headPublisher::getSingleton();
$oHeadPublisher->addScriptCode('var TRANSLATIONS='.json_encode($trn).';');
$oHeadPublisher->addScriptFile('/jscore/setup/emails.js');
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'setup/emails', '', $aFields, 'emails_Save');
G::RenderPage('publishBlank', 'blank');

File diff suppressed because it is too large Load Diff

View File

@@ -54,11 +54,7 @@
'Establishing connection to host <b>'.$host->hostname.'</b>'
);
$tests[] = 'Login as <b>'.$_POST['account'].'</b> on '.$host->hostname.' SMTP Server';
// if($_POST['auth_required'] == 'yes'){
// $tests[] = 'Login as <b>'.$_POST['account'].'</b> on '.$host->hostname.' SMTP Server';
// } else {
// $tests[] = '<b><font color="black">Without autentification!<font></b>';
// }
if($_POST['send_test_mail'] == 'yes'){
$tests[] = 'Sending a test mail from <b>'.$_POST['account'].'</b> to '.$_POST['mail_to'].'...';
@@ -71,18 +67,14 @@
<div id='test_$i' style='display:none'>
<table width='100%' cellspacing='0' cellpadding='0' border='1' style='border:0px;'>
<tr>
<td width='10' class='treeNode' style='border:0px;background-color:transparent;'>
<IMG src=\"/images/".$n[$i].".gif\" width=\"25\" height=\"25\" align=\"left\" border=\"0\">
</td>
<td width=10 class='treeNode' style='border:0px;background-color:transparent;'><span id='status_$i'></span></td>
<td width='*' class='treeNode' style='border:0px;background-color:transparent;'>
<div id='action_$i'>$tests[$i]</div>
&nbsp;<span id='action_$i'>$tests[$i]</span>
</td>
</tr>
<tr>
<td width='10' class='treeNode' style='border:0px;background-color:transparent;'>
</td>
<td class='treeNode' style='border:0px;background-color:transparent;'>
<div id='status_$i'></div>
<td width='*' class='treeNode' style='border:0px;background-color:transparent;' colspan='2'>
<span id='status2_$i'></span>
</td>
</tr>
</table>

File diff suppressed because it is too large Load Diff