_['user'];
$mailboxes = Imap::getMailboxesByUserId($user->getUserId()); // TODO: MVC
?>
| Hostname |
Port |
Protocol |
SSL |
Allow invalid cert |
Username |
Password |
|
';
echo '' . getEditableLink('hostname', 'text', $mailbox->getId(), 'Click to edit', $mailbox->getHostname()) . ' | ';
echo '' . getEditableLink('port', 'text', $mailbox->getId(), 'Click to edit', $mailbox->getPort()) . ' | '; // TODO: alternative inputs
echo '' . getEditableLink('protocol', 'select', $mailbox->getId(), 'Click to edit', $mailbox->getProtocol()) . ' | ';
echo '' . getEditableLink('use-ssl', 'select', $mailbox->getId(), 'Click to edit', $mailbox->getUseSsl()) . ' | ';
echo '' . getEditableLink('no-valid-cert', 'select', $mailbox->getId(), 'Click to edit', $mailbox->getNoValidCert()) . ' | ';
echo '' . getEditableLink('username', 'text', $mailbox->getId(), 'Click to edit', $mailbox->getUsername()) . ' | ';
echo '' . getEditableLink('password', 'password', $mailbox->getId(), 'Click to edit', 'Click to change') . ' | ';
echo ' | ';
echo '';
}
?>
|
|
|
|
|
|
|
|