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

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