* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
addYouAreHereLink('admin', __FILE__);
// Display form is default
-$FORM = true;
+$FORM = TRUE;
// Is the form sent?
if (isFormSent('add')) {
// Add admin when not added already
if (addAdminAccount(postRequestElement('login'), generateHash(postRequestElement('pass1')), postRequestElement('email')) == 'done') {
// Do not ouput any form!
- $FORM = false;
+ $FORM = FALSE;
// Admin login saved
displayMessage('{--ADMIN_ADMINS_ADD_DONE--}');
} // END - if
// Shall we display the form?
-if ($FORM === true) {
+if ($FORM === TRUE) {
// Prepare content
$content = merge_array(
array('login' => '', 'email' => ''),
);
// Load form from template
- loadTemplate('admin_add_admins', false, $content);
+ loadTemplate('admin_add_admins', FALSE, $content);
} // END - if
// [EOF]