Form->create('User');?>
Messaging - here's a quick guide on how this feature works
You can use this view to send messages to your current or future users or send them a temporary password.
When adding a new user to the system, or when you want to manually reset the password for a user, just use the "Send temporary password" setting.
After selecting the action, choose who the target of the e-mails should be (all users, a single user or a user not yet in the system).
You can then specify (if eligible) what the e-mail address of the target is (for existing users you can choose from a dropdown menu).
In the case of a new user, you can specify the future user's gpg key, to send his/her new key in an encrypted e-mail.
The system will automatically generate a message for you, but it is also possible to write a custom message if you tick the check-box, but don't worry about assigning a temporary password manually, the system will do that for you, right after your custom message.
Form->input('action', array('type' => 'select', 'options' => $actionOptions, 'id' => 'action')); ?>
Form->input('subject', array('type' => 'text', 'label' => 'Subject', 'style' => 'width:400px;')); ?>
Form->input('recipient', array('type' => 'select', 'options' => $recipientOptions, 'id' => 'recipient')); ?>
Form->input('recipientEmail', array('type' => 'text', 'label' => 'Recipient Email', 'style' => 'width:300px;')); ?>
Form->input('recipientEmailList', array('type' => 'select', 'options' => $recipientEmail, 'label' => 'Recipient Email')); ?>
Form->input('gpg', array('type' => 'textarea', 'class' => 'input-xxlarge')); ?>
Form->input('customMessage', array( 'label' => __('Enter a custom message', true), 'type' => 'checkbox', 'checked' => 'checked', 'id' => 'customMessageToggle' )); ?>
Form->input('message', array('type' => 'textarea', 'class' => 'input-xxlarge')); echo $this->Html->div('messageDiv', $str, array('id' => 'messageDiv')); ?>
Form->button(__('Submit'), array('class' => 'btn btn-primary')); echo $this->Form->end(); ?>
element('side_menu', array('menuList' => 'admin', 'menuItem' => 'contact')); ?>