mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
eafc2b6222
- new class for CLI add and edit - based on AddTask, but big parts of __interactive()) are rewritten to: - use $struct for the user interface (which means it will automatically adopt to changes in the *Handler classes) - check all entered data instantly. If an invalid value was entered, ask again to give the user a chance to enter valid data. - CliEdit already replaces all AddTask classes (interactive mode works, commandline parameter mode not implementated yet) - will also replace all EditTask classes in the future scripts/shells/shell.php - loadTasks(): for add, use new CliEdit instead of AddTask class - in(): - print additional empty line if $prompt is not empty - print error message when invalid option is chosen - always return raw $in to avoid '0' vs. ''. vs NULL problems git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1437 a1433add-5e2c-0410-b055-b7f2511e0802 |
||
---|---|---|
.. | ||
AdminHandler.php | ||
AliasdomainHandler.php | ||
AliasHandler.php | ||
CliEdit.php | ||
Config.php | ||
DomainHandler.php | ||
Lang.php | ||
MailboxHandler.php | ||
PFAHandler.php | ||
VacationHandler.php |